![]() |
News | Profile | Code | Photography | Looking Glass | Projects | System Statistics | Uncategorized |
Blog |
Q: How do I get dhclient to stop rewriting my resolv.conf?
A: Edit /etc/dhcp3/dhclient.conf [Debian] and add something like this:
supersede domain-name "prolixium.com"; supersede domain-name-servers 10.3.4.6, 10.3.4.4;
The incorrect way is to hack /sbin/dhclient-script. Avoid it.
New comments are currently disabled for this entry.
![]() ![]() ![]() ![]() ![]() |
This HTML for this page was generated in 0.000 seconds. |
The easy way is:
chattr +i /etc/resolv.conf
dhclient won't be able to write to it, and will move on.