Announcement

Collapse
No announcement yet.

system overwrites resolv.conf

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    system overwrites resolv.conf

    Hi,
    Im running dapper and i had to change my resolv.conf so i could access the net but everytime i leave the comp for a while the system overwrites resolv.conf so everytime i want to get on the net i have to edit the file as root save and go from there..
    Is there any way to stop the system from overwriting this file? or is this a bug?

    #2
    Re: system overwrites resolv.conf

    to resolve this problem I had to do the following

    open /etc/dchp3/dhclient.conf
    and change these settings

    uncomment line that saya
    prepend domain-name-servers 127.0.01;
    put your ISP's DNS servers ip address in lou of 127.0.0.1 (if more than one seperate by commas).
    next I had to change the next line which should look something like this
    request subnet-mask, broadcast-address, time-offset, routers,
    domain-name, domain-name-servers, host-name,
    netbios-name-servers, netbios-scope;
    i needed to remove the entry that says domain-name-servers

    all works now and my resolv.conf doesnt get overwritten with junk DNS info, just the info i want there

    hope this solution helps others out who have a similar problem

    Comment

    Working...
    X