[Dnsmasq-discuss] Is empty domain OK?

Grant Edwards grant.b.edwards at gmail.com
Tue Oct 18 01:03:35 UTC 2022


All of the examples I see for setting up dnsmasq on networks without a
"real" domain always say to choose a "fake" local domain (e.g. .lan,
..home.arpa, .local, etc.). Then you also configure dnsmask to treat
that domain as local so that requests for that domain are never
forwarded.

Why?

Are you not allowed to have have an empty domain so that "plain"
hostnames are satisfied locall (e.g. from /etc/hosts and the DHCP
leases) and only requests with a domain are forwarded to the external
server?

--
Grant





More information about the Dnsmasq-discuss mailing list