[Dnsmasq-discuss] Nonexistent AAAA records return NXDOMAIN instead of NODATA

Buck Horn buckhorn at weibsvolk.org
Thu Jun 27 22:02:13 UTC 2024


On 27.06.24 22:13, Dimitry Andric wrote:
> In particular, this happens when dnsmasq serves a --local domain, and
> 'fixed' hosts are defined with --address entries having _only_ an IPv4
> address.
>
> For example, if dnsmasq.conf contains:
>
>    no-daemon
>    log-queries
>
>    domain=example.com
>    interface=eth0
>    server=1.1.1.1
>    local=/example.com/
>
>    address=/foo.example.com/10.1.2.3
>    address=/bar.example.com/10.1.2.3


Your address literals are more specific than your 'local=' declarations.

Did you try to actually '...match the specified address literal...' yet?

   local=/foo.example.com/
   local=/bar.example.com/

   address=/foo.example.com/10.1.2.3
   address=/bar.example.com/10.1.2.3


Kind regards,
       Buck




More information about the Dnsmasq-discuss mailing list