On Wed, 10 May 2023 21:12:40 -0500
"B@us" <bur...@burtonstrauss.us> wrote:

> I realize this breaks many standards. But the reality for most small
> installations is we have no real business visiting sites with non-ASCII
> domain names. I'm thinking of protecting against the Greek "α" which looks a
> lot like the letter "a".
> 
>  
> 
> Is there an easy way to translate domains that don't match \.[A-Za-z0-9]\.
> to 127.0.0.1?
> 
>  
> 
> Thanks!
> 

I believe this is not a feature of stock dnsmasq. However, there is a patch 
available that should apply to dnsmasq v2.89. See 
https://github.com/lixingcong/dnsmasq-regex if you wish to build a custom 
version of dnsmasq.

Neal

_______________________________________________
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