[Dnsmasq-discuss] DNS with /etc/hosts and subdomains

Dirk ping at klasta.de
Wed Jan 29 09:52:40 GMT 2014


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?

Cheers,

Dirk



More information about the Dnsmasq-discuss mailing list