[Dnsmasq-discuss] Noob question

Simon Kelley simon at thekelleys.org.uk
Mon Aug 30 11:11:17 UTC 2021

On 30/08/2021 11:06, rrandom via Dnsmasq-discuss wrote:
> Hello. In one of the dnsmasq filterlists I found that domains redirected to `#` like `address=/example.com/#`
> But in man I read:
>> The  special  server  address '#' means, "use the standard servers", so --server=/google.com/ --server=/www.google.com/# will send queries for *.google.com to, except *www.google.com which will be forwarded as usual.
>> will be forwarded as usual
> Do I properly understand that `address=/example.com/#` does literally nothing? I want to block some websites but redirecting them to is hosts-way and not so lightweight solution.
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

The meaning of # as the address is different in --server and --address,
so be wary of getting confused by the man page text you quoted, which is
talking about --server.


is exactly equivalent to


ie it returns all-zeros addresses for IPv4 and IPv6.



More information about the Dnsmasq-discuss mailing list