[Dnsmasq-discuss] DNS with /etc/hosts and subdomains
simon at thekelleys.org.uk
Tue Feb 4 20:52:24 GMT 2014
On 29/01/14 09:52, Dirk wrote:
> dnsmasq resolves my systems via /etc/hosts which works fine, except for
> names with an additional suffix.
> -- dnsmasq.conf (extract) --
> -- hosts --
> 10.0.0.1 system1
> 10.0.0.2 system2
> 10.1.0.1 server.test
> --- test ---
> system1.dyn.example.com resolves (and all other simple names)
> server.test.dyn.example.com doesn't.
> Do you know if/how it's possible to use these "subdomains" in that
The code deliberately doesn't expand anything that's not a simple name,
to avoid things like
Removing the check is a simple patch, but it's not something I'd want in
the distributed code, I think.
More information about the Dnsmasq-discuss