Link to home
Start Free TrialLog in
Avatar of haldrik
haldrikFlag for United States of America

asked on

resolv.conf keeps getting reset, erasing my nameserver ips with localhost info

Hello:
I'm recently having a problem with all internet apps, in that the nameserver file /etc/resolv.conf keeps getting reset to:

search homeland.net
nameserver 192.168.1.1  (neither of which actually works, of course!)

instead of what I want it to be, which is:

nameserver 205.152.46.254
nameserver 205.152.144.235

I have a backup file that I keep having to replace the resolv.conf file in order to connect to things, but this is obviously very tedious...Any idea what could be causing this?
Avatar of gheist
gheist
Flag of Belgium image

DHCP client software ...
Avatar of haldrik

ASKER

Thanks for the tip-- I guess what I wanted to know was how to correct this...I'm using whatever the default DHCP client was the default during installation.
SOLUTION
Avatar of gheist
gheist
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of haldrik

ASKER

Well, I seem to have solved this problem with a combination of the last comment, which I accepted in its entirety, and also by adjusting the /etc/nsswitch.conf file as suggested by gheist (the actual changes I looked up on another site). I am unable to reproduce the error at this point (even by undoing the fixes), so I cant only say that I believe that the point split that I did here is the fairest solution I could think of.