[Dnsmasq-discuss] Problem with address format
Anthony P. Kehoe
Garion at Aloria.net
Fri Jan 14 20:21:49 UTC 2022
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20220114/e3d76624/attachment.htm>
More information about the Dnsmasq-discuss
mailing list