resolv.conf ignores hosts file. host.conf is correct
An irritating problem:
system: Fedora 7 - clean install, x86_64
A client machine is listed in the /etc/hosts file on an nfs server.
The server refuses to recognise connections from the client.
Problem seems to be reverse DNS lookup: (IP address belonged to an old machine - and has been reassigned, but not changed in the nameserver database - I don't have time to wait for it to be changed, and it shouldn't matter from what I can understand). BUT -/etc/host.conf is set to read "hosts" first. Pinging/etc the client works ("ping clientname"), but nslookup and host both reslove the OLD machine name. It seems that the "hosts" entry in /etc/host.conf is being completely ignored? Why? Any ideas? How do I force it to use the hosts file entries?
127.0.0.1 servername localhost.localdomain localhost
XXX.XX.2.56 clientname.domain.com clientname
P.S: nis IS working between the two. Just NFS problem at the moment