Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Centralized /etc/hosts [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
TimSSC
Apprentice
Apprentice


Joined: 20 Apr 2006
Posts: 170
Location: Cambridge, MA

PostPosted: Sat Jul 15, 2006 5:49 am    Post subject: Centralized /etc/hosts [solved] Reply with quote

I read that if you have a server running dnsmasq, then other computers connected to the server can just use the host names given in the /etc/hosts file on the server. However, this is not working for me. In the /etc/hosts of the server, I have an entry: 192.168.0.100 marsconsole.solarnetwork marsconsole . However, when I ping mars from another client computer (earthconsole), it says that the host is not reachable. Any idea why? Do I have to do something to tell dnsmasq to check the hosts file?

Thanks.


Last edited by TimSSC on Sun Jul 16, 2006 8:43 pm; edited 1 time in total
Back to top
View user's profile Send private message
nobspangle
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1318
Location: Manchester, UK

PostPosted: Sat Jul 15, 2006 7:41 am    Post subject: Reply with quote

is the resolv.conf on earthconsole set to use the dnsmasq server for DNS?
Back to top
View user's profile Send private message
TimSSC
Apprentice
Apprentice


Joined: 20 Apr 2006
Posts: 170
Location: Cambridge, MA

PostPosted: Sun Jul 16, 2006 8:43 pm    Post subject: Reply with quote

Yeah, it was. But it turned out my domain name was different from that of the server... I think thats what caused the problems, because it works now.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum