[Dnsmasq-discuss] Filtering non-latin1 or non-ASCIII dns requests?
imnozi at gmail.com
imnozi at gmail.com
Thu May 11 02:39:08 UTC 2023
On Wed, 10 May 2023 21:12:40 -0500
"B at us" <burton at 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
More information about the Dnsmasq-discuss
mailing list