unbound init always adds a static local-zone
The init script always adds a static local zone for the local domain. This makes it impossible, to configure unbound to transparently forward queries for the local domain to dnsmasq. Which in turn means, that it is currently impossible to make dns lookups in the local domain with dynamically assigned ip-addresses.
Adding to this there seem to be two different locations, this data is collected.
- /etc/hosts
- the default dhcp config (but mx hosts in this config file are ignored, further reducing the usefulness of this automatic include)