[Dnsmasq-discuss] Problem with address format

Simon Kelley simon at thekelleys.org.uk
Fri Jan 14 23:33:55 UTC 2022


THe error is occurring in the IDN library which thinks that the name is
illegal punycode.

$ dig r1---sn-n4v7knlz.googlevideo.com
dig: 'r1---sn-n4v7knlz.googlevideo.com' is not a legal IDNA2008 name
(string contains forbidden two hyphens pattern), use +noidnin

There's a change in the upcoming 2.87 release which doesn't reject this.


Cheers,

Simon.

On 14/01/2022 20:29, Anthony P. Kehoe via Dnsmasq-discuss wrote:
> Should probably state the version number:
> 
>  
> 
> [root at Citadel dnsmasq.d]# rpm -aq|grep dnsmasq
> 
> dnsmasq-2.86-3.fc34.x86_64
> 
>  
> 
>  
> 
> *From:*Anthony P. Kehoe
> *Sent:* Friday 14 January 2022 13:22
> *To:* 'dnsmasq-discuss at lists.thekelleys.org.uk'
> <dnsmasq-discuss at lists.thekelleys.org.uk>
> *Subject:* Problem with address format
> 
>  
> 
> Hi all,
> 
>  
> 
> While trying to use a DNS blacklist, the address list contained entries
> such as:
> 
>  
> 
> r1---sn-n4v7knlz.googlevideo.com
> 
> r2---sn-n4v7knlz.googlevideo.com
> 
> r3---sn-n4v7knlz.googlevideo.com
> 
> r4---sn-n4v7knlz.googlevideo.com
> 
> r5---sn-n4v7knlz.googlevideo.com
> 
> r6---sn-n4v7knlz.googlevideo.com
> 
> r7---sn-n4v7knlz.googlevideo.com
> 
>  
> 
> When trying to add these lines as:
> 
>  
> 
> address=/<address>/
> 
>  
> 
> dnsmasq gives an error:
> 
>  
> 
> [root at Citadel dnsmasq.d]# dnsmasq --test
> 
>  
> 
> dnsmasq: error at line 1 of /etc/dnsmasq.d/black.list
> 
> [root at Citadel dnsmasq.d]# head black.list
> 
> address=/r1---sn-n4v7knlz.googlevideo.com/
> 
> address=/r2---sn-n4v7knlz.googlevideo.com/
> 
> address=/r3---sn-n4v7knlz.googlevideo.com/
> 
> address=/r4---sn-n4v7knlz.googlevideo.com/
> 
> address=/r5---sn-n4v7knlz.googlevideo.com/
> 
> address=/r6---sn-n4v7knlz.googlevideo.com/
> 
> address=/r7---sn-n4v7knlz.googlevideo.com/
> 
> address=/r8---sn-n4v7knlz.googlevideo.com/
> 
> address=/r9---sn-n4v7knlz.googlevideo.com/
> 
> address=/r10---sn-n4v7knlz.googlevideo.com/
> 
>  
> 
> It seems the config parser doesn’t like the three dashes in the DNS
> address. Is this a known issue?
> 
>  
> 
> Thanks,
> 
> Anthony
> 
> 
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss
> 



More information about the Dnsmasq-discuss mailing list