在 Bash 脚本中将主机名解析为 IP 地址的最简洁方法是什么?我正在使用Arch Linux。
linux networking bash dns
bash ×1
dns ×1
linux ×1
networking ×1