Adding Additional DNS Nameservers to Linux with DHCP Addressing and resolvconf

~ 0 min
2021-05-10 07:21

We recently came across a Vultr VPS that was not resolving names using Vultr's recursive DNS. This turned out to be a Vultr issue, which was resolved, but I wanted a way to add additional name servers in case this happens again.

Edit /etc/resolveconf/resolve.conf.d/base using nano/vi.

Add your nameservers like so. These will be use in addition to whatever the DHCP server provides.


Execute the following command, or simply reboot the system in question.

sudo resolvconf -u
Tags: dns
Average rating 0 (0 Votes)

You cannot comment on this entry