Re: resolv.conf rewritten every reboot. How to figure out who and why?

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



On Thu, 2009-10-08 at 11:19 -1000, Dave wrote:
> On Thu, Oct 8, 2009 at 9:49 AM, Spiro Harvey <spiro@xxxxxxxxxxxxxx> wrote:
> > chkconfig for dhclient too, and see what that results.
> 
> 
> [root@ ~]# chkconfig --list|grep  -e dh -e clie
> [root@ ~]#
> 
> >
> > Also, look at /etc/sysconfig/network-scripts/ifcfg-eth0.
> 
> 
> [root@lee1 ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
> # Broadcom Corporation NetXtreme BCM5751 Gigabit Ethernet PCI Express
> DEVICE=eth0
> BOOTPROTO=none
> HWADDR=00:18:8b:0f:ad:c2
> IPADDR=1[snip]0
> ONBOOT=yes
> DHCP_HOSTNAME=[snip]
> DNS1=1[snip]0
> DNS2=1[snip].2
> NM_CONTROLLED=no
> SEARCH=[snip]
> NETMASK=255.255.255.0
> DNS3=1[snip]0
> GATEWAY=1[snip]0.1
> TYPE=Ethernet
> USERCTL=no
> PEERDNS=yes
- ^^^^^^^^^^^
change to PEERDNS=no

Craig


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

_______________________________________________
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