I have a Debian system that gets its IP from a DHCP server, with my own bind9 server running on localhost. Every time I boot, I have to write nameserver 127.0.0.1 to /etc/resolv.conf, as the system updates the file to match the DNS server assigned by DHCP. To try to prevent resolv.conf from getting updated with DNS server information from my network's DHCP server, I tried writing the following to /etc/network/interfaces:iface eth0 inet dhcp    dns-nameservers 127.0.0.1but that only works when the system has a static IP.So how can I prevent /etc/resolv.conf from getting overwritten with the DHCP server's assigned DNS server, without giving my system a static IP?I use dhclient.
Obtain IP from DHCP sever but set DNS servers statically on Debian
debian;networking;dns