resolv.conf keeps getting rewritten
There is a file /etc/resolv.conf, and in that file are two nameservers which get accessed by internet applications. I know what two nameservers will make my applications successful in obtaining data from the web. So I set the file appropriately and everything works.
Then I reboot the computer and something rewrites it with two different nameservers. And my web pages time out. I think I have gone through several different mysterious "somethings" since I've had this problem through several Ubuntu updates. I thought the culprit was called network-manager before, but I don't seem to have a network-manager now. There maybe twelve different applications all waiting their turn to helpfully rewrite resolv.conf for me. So... I just want them to leave me alone. Ubuntu 9.04 Qwest DSL integrated MCP61 Ethernet card (Is there other system information that might be relevant here?) |
Quote:
Code:
prepend domain-name-servers {dns-server1_ip},{dns-server2_ip}; cheers, jdk |
That's not fixing it. Maybe it's trying, but something else is overcoming it? (Or did I miss a step? I can see dhclient running.)
/etc/resolv.conf is being rewritten by NetworkManager according to the first line of the file, which executes scripts in /etc/NetworkManager/dispatcher.d/, which currently contains 01ifupdown. 01ifupdown calls ifupdown scripts in /etc/network/, and so on and so on. |
Quote:
Code:
sudo dhclient jdk |
For some reason I thought you wanted me to actually include the curly braces.
Now it keeps rewriting all four nameservers, which I think is as functional as just having the good two. Thanks! |
Quote:
cheers, jdk |
All times are GMT -5. The time now is 05:59 AM. |