Configured domains are not resolved before respective client has an IP via DHCP
If a domain is configured in network_json.environments[].hostnames
(and, thus, cname
in dnsmasq.conf
) and the respective client has not yet requested an IP from dnsmasq via DHCP, the configured domain gets resolved by the upstream DNS, i.e., is not resolved to the internal IP address.
Edited by Rafael Gieschke