#StackBounty: #16.04 #dns How do I allow more than 3 DNS servers in Ubuntu 16?

Bounty: 50

In my /etc/network/interfaces I have multiple servers listed on dns-nameservers, one set of ubuntu servers has 3, another 4. We had no issues until we were forced to add yet 2 more to each, but we still could not successfully resolve using the new DNS servers. After some investigation, we found that only 3 DNS servers were copied into /etc/resolv.conf. We are able to resolve our immediate issue by putting the 3 primary servers in there and omitting the backup DNS servers, but I’d like to get keep all necessary DNS servers available.

As for why so many:

  • 8.8.8.8 is used because it gets updated information faster than our internal ones
  • Our internal network DNS
  • Another DNS for a DB cluster


Get this bounty!!!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.