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

Geert Stappers stappers at stappers.nl
Fri Feb 4 10:40:08 UTC 2022


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
> baddomain.org
> baddomain.info
> etc
> 
> Is there an alternative syntax I could use to match all the TLD?

Try
  address=/baddomain.*/#

 
> If not could this be considered for the next release?
> 
> Thanks
> 
> _______________________________________________
> Dnsmasq-discuss mailing list


Groeten
Geert Stappers
-- 
Silence is hard to parse



More information about the Dnsmasq-discuss mailing list