Re:The Sisyphean Task of DNS Client Config on Linux
by nine_k on Thursday April 15, 2021 @09:10PM
(#26828177)
Indeed, dnsmasq seems to be the least painful way to provide special DNS zones, special host files, and forwarding for everything else.
Also, your resolv.conf becomes trivial.
The trick is to grab the DHCP-provided DNS server address on reconnections and update the forwarding, if you use a laptop. For VMs in the cloud, it's not a problem, of course.
Also, your resolv.conf becomes trivial.
The trick is to grab the DHCP-provided DNS server address on reconnections and update the forwarding, if you use a laptop. For VMs in the cloud, it's not a problem, of course.