Disable dhclient Modifying Your resolv.conf File

I think this will work.

sudo nano /etc/dhcp/dhclient-enter-hooks.d/nodnsupdate
#!/bin/sh
make_resolv_conf(){
  :
}
sudo chmod +x /etc/dhcp/dhclient-enter-hooks.d/nodnsupdate
tips/disable-dhclient-modify-resolv-conf.txt · Last modified: 2023-08-06 19:13 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki