resolv.conf hijacking?

Reg Clemens reg at dwf.com
Mon Sep 8 02:40:16 UTC 2008


> ARRGH! What the devil is hijacking my /etc/resolv.conf file?
> 
> I have NetworkManager completely uninstalled on this system
> (only NetworkManager-glib still exists due to dependencies).
> 
> I have the network service enabled. I have a static IP configured.
> 
> But something, somewhere, insists on overwriting my resolv.conf
> file.
> 
> If I knew who was doing it, I could file a bug report or figure
> out how to make it stop, but I have no clues.
> 
> Anyone know?
> 
> Am I gonna have to write a rc.local script to move resolv.conf.save
> back to resolv.conf? :-).
> 

I see lots of answers, but havent read them all.

Does this machine run DHCP?
If so, it will change your resolv.conf to point at the servers it
knows about.
Im not sure if this just happens once, if it happens each time
DHCP renews its lease, or more often, but I found it a pain.

I know I was able to 'uncouple' it so it wouldnt happen (I use my
own nameserver from within my domain).  Im not sure right off
the top HOW I did it, but if this seems to be the problem, and you
cant figure out how to do it, Ill take a look.

My gut feeling was it was one line in a config file.
-- 
                                        Reg.Clemens
                                        reg at dwf.com





More information about the fedora-test-list mailing list