host nslookup dig
1. host
host x.com
host -t ns x.com
host -t mx x.com
2. nslookup
nslookup. x.com
nslookup
set type=ns
x.com
set type=mx
x.com
3. dig
dig x.com
global options里面可以通过 dig —help 来查看
dig x.com -t mx