标签:
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference‘ and `info‘ packages installed, try:
# `info libc "Name Service Switch"‘ for information about this file.
passwd: compat
group: compat
shadow: compat
#hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4 //注释掉此行
hosts: files dns //添加下面这行
networks: files
protocols: db files
services: db files
ethers: db files
rpc: db files
netgroup: nis
~
标签:
原文地址:http://www.cnblogs.com/linux-super-meng/p/4181896.html