Re: Resolv.conf being overwritten

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



 

> -----Original Message-----
> From: centos-bounces@xxxxxxxxxx 
> [mailto:centos-bounces@xxxxxxxxxx] On Behalf Of Hans-Ulrich Flueck
> Sent: Thursday, May 20, 2010 7:43 PM
> To: 'CentOS mailing list'
> Subject: Re:  Resolv.conf being overwritten
> 
> Hello TIA
> 
> If you do not have a local/LAN DNS server neither a caching 
> DNS configuration on your machine, I can't see a reason to 
> add localhost to the list of your DNS servers...
> 
> The idea behind DHCP is to distribute gateway, dns, ntp and 
> other servers to the clients, beside the IP addresses.
> It's the way it works to have the /etc/resolv.conf 
> overwritten on machine reboot and DHCP refresh.
>  
> You might setup your own local DNS server and distribute this 
> one as the first in the list of DNS servers by your active 
> DHCP server.
> Or you might work with /etc/hosts in order to define a few 
> important/static machines inside the LAN.
> 
> I'd suggest not activating IPV6, but configuring IPV4 correctly first.
> 
> Ueli
> 
> 
> -----Ursprüngliche Nachricht-----
> Von: centos-bounces@xxxxxxxxxx 
> [mailto:centos-bounces@xxxxxxxxxx] Im Auftrag von Thomas Dukes
> Gesendet: Freitag, 21. Mai 2010 01:02
> An: CentOS
> Betreff:  Resolv.conf being overwritten
> 
> I am trying to add 127.0.0.1 to my resolv.conf. I added it 
> through the system-config-network but if I reboot, its gone. 
> I do not have the caching nameserver package installed. My 
> ISP's nameservers are there. It must have something to do with DHCP.
> 
> Also, in the network config GUI, should I select the IPv6 
> option for either or both network cards?
> 
> TIA

I had this all setup on an upgraded 5.5 system. An app crashed and I tried a
restore from a backup and hosed the system. I can even get my old files off
the backup to the new system. Its been a really long time since I had to set
this stuff up. Everything had been working fine for 6+ years.

Working on DNS but this stuff is getting deep for an old guy.

Eddie

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux