Windows
nslookup
H:\>nslookup
Default Server: hostname.domain3.domain2.domain1.com
Address: 10.35.1.21
Default Server: hostname.domain3.domain2.domain1.com
Address: 10.35.1.21
Ref: WINDOWS\system32\drivers\etc\hosts
Linux
/etc/resolv.conf
/etc/hosts
/etc/hosts
转载于:https://blog.51cto.com/robertleepeak/269032