I want to run
dnsmasq with the
--dhcp-ignore-names option. The reason is that I’m provisioning containers with Ansible through a specific interface (the one asking IP via DHCP), bur I need the hostname to resolve to one of the statically configured interfaces, but if
dnsmasq does not ignore the names, it resolves them to the DHCP IPs.
To make sure this worked, I simply killed the dnsmasq server started by
lxc network create and run it with the same options plus
--dhcp-ignore-names and it worked.
Is there a way, or should I open a bug request?