On 30.08.21 13:06, rrandom via Dnsmasq-discuss wrote:
Hello.  In one of the dnsmasq filterlists I found that domains redirected
to `#` like `address=/example.com/#`

this is in changelog for 2.80:

       Implement --address=/example.com/# as (more efficient) syntactic
       sugar for --address=/example.com/0.0.0.0 and
       --address=/example.com/::
       Returning null addresses is a useful technique for ad-blocking.
       Thanks to Peter Russell for the suggestion.

But in man I read:

The  special  server  address '#' means, "use the standard servers", so
--server=/google.com/1.2.3.4 --server=/www.google.com/# will send queries
for *.google.com to 1.2.3.4, 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 0.0.0.0 is
hosts-way and not so lightweight solution.

--address is something than --server.
apparently the "#" has different meaning those two.




--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
I intend to live forever - so far so good.

_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

Reply via email to