User Tools

Site Tools


Domain Name System (DNS)


Override DHCP Nameservers (Debian/ Ubuntu)


sudo nano /etc/dhcp/dhclient.conf

Add the following line replacing with the IP of your server.

supersede domain-name-servers;

Restart Networking so the change takes affect.

sudo service networking restart 

You can test the change by running something like dig then check that SERVER: matches the value you added to dhclient.conf above.

networking/dns.txt ยท Last modified: 2018/09/03 17:25 (external edit)