I have dnsmasq configured to use upstream dns servers manually set with the option "server=" in "/etc/dnsmasq.conf". These upstream servers are used to resolved public ip addresses and domains.
This machine gets its DNS servers list by DHCP and looks like this in resolv.conf file.
Here is also the content of the file "/etc/resolvconf/interface-order"Code:nameserver 127.0.0.1 nameserver <upstream1> nameserver <upstream2> search <domain-name>
Code:lo* ens34* ens33*
The DHCP is controlled by a different team and they may change the DNS servers at any time, I wanted to know if there is a way to tell dnsmasq to use the two upstream servers set by the DHCP server in resolv.conf instead of manually specifying the upsteam servers in dnsmasq.conf everytime the DNS servers IPs are changed by the networking team?
Bookmarks