Hello,
Operating system: Fedora 16 x86_64
I am trying to understand the problems of the following. We have a local domain in our intranet (.local). The names are resolved correctly with and without .local:
Code:
$ host portal
portal.local has address 10.22.33.17
$ host portal.local
portal.local has address 10.22.33.17
However, trying to access FQDN fails:
Code:
$ ping portal
PING portal.local (10.22.33.17) 56(84) bytes of data.
64 bytes from portal.local (10.22.33.17): icmp_req=1 ttl=64 time=0.171 ms
^C
--- portal.local ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.171/0.171/0.171/0.000 ms
$ ping portal.local
ping: unknown host portal.local
/etc/resolv.conf:
Code:
search local
nameserver 10.22.33.1
nameserver 8.8.8.8
nameserver 8.8.4.4
Where can be the origin of this?
Thanks
Update: a solution was found. In /etc/nsswitch.conf I replaced
Code:
hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4
with
Code:
hosts: files mdns4_minimal dns [NOTFOUND=return] mdns4
That solved the problem.