Hosts file

Aaron Konstam akonstam at sbcglobal.net
Fri Oct 12 20:59:58 UTC 2007


On Fri, 2007-10-12 at 15:07 +0930, Tim wrote:
> Tim:
> >> Is your interface handled by DHCP?  It can re-write the hosts file,
> >> you might want to make your changes while disconnected.
> 
> 
> antonio montagnani:
> > Why should a Dynamic address re-write my hosts file??? in this case
> > blankening it??
> > 
> > Any technical reason or is it a bug??? When host file is empty,
> > logging in not cable connected is extremely long..... 
> 
> That's why I suggested correcting it when the DHCP client hasn't changed
> it.  That way, that should be your default.  The DCHP client may change
> it when it wants to, then revert it afterwards.
> 
> I can think of one reason why it might do that sort of thing:  So that
> your networking has the addresses it needs to use when there's no local
> DNS server to provide the answers.
> 
> I also found DHCP to rewrite my /etc/resolv.conf file, if it wanted to
> add DNS servers.  But it's a long time since I looked into that.
DNS rewriting the hosts file is just plain screwy. In my mind there is something 
very wrong with the DNS server. 
 =======================================================================
Did you ever walk into a room and forget why you walked in? I think
that's how dogs spend their lives. -- Sue Murphy
=======================================================================
Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam at sbcglobal.net




More information about the fedora-list mailing list