On 29/01/14 09:52, Dirk wrote:
Hi,

dnsmasq resolves my systems via /etc/hosts which works fine, except for
names with an additional suffix.

-- dnsmasq.conf (extract) --
local=/dyn.example.com/
expand-hosts
domain=dyn.example.com

-- 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
scenario?


The code deliberately doesn't expand anything that's not a simple name, to avoid things like

example.com.example.com


Removing the check is a simple patch, but it's not something I'd want in the distributed code, I think.


Cheers,

Simon.


_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

Reply via email to