0

I have Ubuntu 16.04.6 server which is receiving IP address from the DHCP server. I would like to add another DNS server address in the /etc/resolv.conf file.

Since it is auto-generated and using DHCP, I am unable to add in /etc/network/interfaces as well. One possible way is to edit the file /etc/resolv.conf, but since it is not persistence, I have to change the file often.

Another thing would be copying the DHCP IP address details and make a statick connection, but I don't want to do that. Any other solution that would work?

smc
  • 101

0 Answers0