dhclient writes hes DNS information also just to /etc/resolv.conf where a dns resolver like dnsmasq, stubby, unbound etc. takes the values from. So you may be lucky when dhclient is the only source for nameserver IP but thats not a given - for example if you use dhcpcd or NetworkManager, they...