如果ubunt的dns解析怎么弄都无效的话,可以看看/etc/nsswitch.conf 文件。
其中hosts 项应该为
hosts: files mdns4_minimal [NOTFOUND=return] dns
原来的只有:
hosts: files
只读hosts文件,不进行dns解析了。
如果ubunt的dns解析怎么弄都无效的话,可以看看/etc/nsswitch.conf 文件。
其中hosts 项应该为
hosts: files mdns4_minimal [NOTFOUND=return] dns
原来的只有:
hosts: files
只读hosts文件,不进行dns解析了。