Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 9th July 2007, 06:10 PM
mlee07946 Offline
Registered User
 
Join Date: Jul 2007
Posts: 4
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?

files:

/etc/hosts:

127.0.0.1 servername localhost.localdomain localhost
XXX.XX.2.56 clientname.domain.com clientname

/etc/host.conf:

order hosts,bind

/etc/resolv.conf:

nameserver XXX.XX.XXX.X
nameserver XXX.XX.XXX.X
search domain.com

P.S: nis IS working between the two. Just NFS problem at the moment

Thanks

Mark
Reply With Quote
  #2  
Old 9th July 2007, 06:19 PM
mlee07946 Offline
Registered User
 
Join Date: Jul 2007
Posts: 4
(Follow-up: Must learn to preview!)

Oh - and /etc/nsswitch.conf is set to read hosts from files first as well - as below:

hosts: files nis dns
Reply With Quote
Reply

Tags
correct, file, hostconf, hosts, ignores, resolvconf

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
DHCP over writing resolv.conf file khkachn Servers & Networking 10 25th January 2009 01:44 PM
newb: dns resolv.conf hosts gold Using Fedora 1 5th September 2007 04:40 PM
Hosts && and resolv.conf setup - not able to ping others alllle Servers & Networking 1 8th March 2007 07:47 PM
Missing file /var/run/ppp/resolv.conf greasyfingers Servers & Networking 2 2nd December 2006 08:38 PM


Current GMT-time: 08:26 (Sunday, 26-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat