1、dig +nocmd +nostats 域名 AAAA
2、dig 域名 + short
命令1,返回noerror就是没有问题。
命令2,会返回对应ip地址(ipv6返回6位,ipv4则是4位)。