常见用法
常见用法
host example.com
host -t MX example.com
host -t TXT example.com
host -v example.com # 详细报文(类 dig 格式)
host 8.8.8.8 # 反查
host -C example.com # 对比(显示 SOA 与 NS 一致性信息,若支持)host 与 nslookup 同属 BIND 工具包(bind-utils/dnsutils);容器最小镜像里常要手动安装。