"ping xxx.abc.local" ok but "ping xxx" fail
"ping xxx.abc.local" ok but "ping xxx" fail where xxx is the computer name.
How to fix this problem? Existing file is: # cat resolv.conf domain powah.com nameserver 172.20.10.20 nameserver 172.16.2.14 nameserver 172.20.10.26 nameserver 172.20.10.27 search abc.local search powah.com |
Write your /etc/hosts file:
Code:
192.168.0.10 foo.domain.com foo |
1) Unless you have modifed resolv.h and recompiled, then the max nameservers that can be specified in resolv.conf is three
2) The "domain" and "search" options are mutually exclusive. So use one or the other. Also, you listed the search option twice instead of listing multiple domains separated by spaces or tab on one "search" line. See: man resolv.conf |
All times are GMT -5. The time now is 06:03 AM. |