host命令

host example.com
host -t TYPE example.com  # TYPE有mx, ns, a, txt, soa, any
host -t a example.com