[Dnsmasq-discuss] Unqualified names and default nameserver configuration

Omer Ozarslan omerfaruko at gmail.com
Mon Nov 8 20:04:08 UTC 2021


Hi,

I am trying to redirect example.com and unqualified names to standard
server, and everything else to a different one. This is my
configuration:

log-queries
server=//#
server=/example.com/#
server=/#/127.0.0.1#8053

However, unqualified queries are also sent to 127.0.0.1#8053 with this
configuration. Is it possible to do this in a different way?

I also tested this:

log-queries
server=//1.1.1.1
server=/example.com/8.8.8.8

and it works as expected. However this has the same issue:

log-queries
server=//1.1.1.1
server=/example.com/8.8.8.8
server=/#/8.8.4.4

(dnsmasq 2.85 on debian 11)

Thanks,
Omer



More information about the Dnsmasq-discuss mailing list