How can I make my LXD containers use my host’s DNS records in an “automatically updating” manner? Or is this already the case in the default lxdbr0 network?
I’m having trouble seeing a VPN DNS server inside the container, while on the host DNS is working properly. I may start and stop the VPN connection multiple times a day, meaning it would be nice to see the DNS change reflect inside the containers properly.
To clarify: dnsmasq uses the /etc/resolv.conf of the host? Or copies a new one into the container and uses that?
I had an issue where a subset of domains from an internal domain were accessible via DNS on the container, while some werent, though all of them were behind the same DNS server. Only after a container restart I could ping all hosts properly.