1、cat /var/lib/dhclient/dhclient-eth0.leases 这个是看你的动态获取dedhcp问题 2、cat /etc/resolv.conf 这个还是看系统配置的dns信息