[Dnsmasq-discuss] Noob question
Matus UHLAR - fantomas
uhlar at fantomas.sk
Mon Aug 30 11:15:58 UTC 2021
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
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/220.127.116.11 --server=/www.google.com/# will send queries
>> for *.google.com to 18.104.22.168, 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, uhlar at 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.
More information about the Dnsmasq-discuss