[Dnsmasq-discuss] Single-file config

Johan Vromans jvromans at squirrel.nl
Sun Jul 4 09:20:21 BST 2010

Sergei Zhirikov <sfzhi at yahoo.com> writes:

> It's not a requirement. There is "no-hosts" configuration option.

Sure. But how to specify the hosts names then?

> If you have all the hosts names and IP addresses specified using
> "dhcp-host" then you don't need the hosts file. But you should use
> simple host names in "dhcp-host" rather than FQDN, and use "domain"
> option to specify the domain name.

This seems to work only for hosts that actually are leased. A lookup
for a host not (yet) leased will return an error instead of the ip

-- Johan

More information about the Dnsmasq-discuss mailing list