Hi experts,
I have a Linux box (SUSE Enterprise Server 10 SP1) with an strange problem:
If I exec the command "ping name.test.local" the result is unknown host. (This is the problem).
If I exec the command "host name.test.local" the result is the correct IP address.
If I exec the command "nslookup name.test.local" the result is the correct IP address.
If I exec the command "ping
www.google.com" the result is a correct ping to the IP address.
So, why can fail the first ping command?
My /etc/resolv.conf is
search test.local
nameserver 192.168.10.1
If I put the "name.test.local" on /etc/host file, the ping works.
On my /etc/nsswitch.conf, the "host" line is "files dns".
I put wireshark on my DNS server to see if the query for "name.test.local" reach this server when the command "ping name.test.local" is issued, and the query is not received.
All seems to be configured correctly.
Any help will be apprecied.
Thanks in advance.