[Dnsmasq-discuss] Enquiry about default server

Elias LA eliasla at protonmail.ch
Tue Mar 26 22:58:11 UTC 2024


In my dnsmasq.conf file, I have a blanket block rule to block everything:

no-resolv
server=8.8.8.8

address=/#/0.0.0.0

Before this rule, I would like to allow exceptions, say for example gitlab.com. The problem I am having is that this rule:

server=/gitlab.com/#

Does not work, and I have to use instead:

server=/gitlab.com/8.8.8.8

So why is not the '#' translating into the default server 8.8.8.8?

Thanks,
Elias.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20240326/52f1e022/attachment.htm>


More information about the Dnsmasq-discuss mailing list