Re: [Dnsmasq-discuss] Allow wildcard matching for TLD given a fixed 2nd level domain

2022-02-05 Thread Ercolino de Spiacico
> Try > address=/baddomain.*/# root@router# cat /etc/dnsmasq.conf | grep test address=/test.*/# root@router# dnsmasq --test dnsmasq: syntax check OK saved and restarted dnsmasq (clearing its cache). As you can see from the 5 tests here below the syntax appears not to be operational 1)

Re: [Dnsmasq-discuss] Allow wildcard matching for TLD given a fixed 2nd level domain

2022-02-04 Thread Ercolino de Spiacico
> Try > address=/baddomain.*/# Tried, but no luck. root@router:/# dnsmasq --version Dnsmasq version 2.86 Copyright (c) 2000-2021 Simon Kelley ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk

Re: [Dnsmasq-discuss] Allow wildcard matching for TLD given a fixed 2nd level domain

2022-02-04 Thread Geert Stappers via Dnsmasq-discuss
On Fri, Feb 04, 2022 at 11:35:38AM +0200, Ercolino de Spiacico wrote: > I have been trying to do a TLD wildcard matching but it appears this is not > a supported syntax: > > address=/baddomain.#/# > > I would have expected to have the following blocked: > baddomain.com > baddomain.net >

[Dnsmasq-discuss] Allow wildcard matching for TLD given a fixed 2nd level domain

2022-02-04 Thread Ercolino de Spiacico
I have been trying to do a TLD wildcard matching but it appears this is not a supported syntax: address=/baddomain.#/# I would have expected to have the following blocked: baddomain.com baddomain.net baddomain.org baddomain.info etc Is there an alternative syntax I could use to match all the