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