A, Linux system
1, see IP
ifconfig
2, see Gateway
netstat -rn
3, see the dns
CAT /etc/resolv.conf
Two, window system
1, window view the IP
the ipconfig
2, see Gateway
the ipconfig
. 3, see the local DNS
the ipconfig / All
DNS
nslookup domain
dig domain
dig + trace domain name