linux 查看dns信息 1998a · 2010-05-09 14:28 · 随便 · 编程语言 · Markdown ifconfig 可以查看网络设备及IP地址,子网掩码等信息 route 可以查看路由信息 DNS直接查看文件: cat /etc/resolv.conf