[Dnsmasq-discuss] Dnsmasq won't load configfile
Petr Menšík
pemensik at redhat.com
Thu Nov 5 13:28:52 GMT 2020
I think those quotes should not be there in a config file. Quotes might
be required for shell on command line, but they are not necessary inside
config. When you put them away, would it be fixed?
It seems xn--www-rze3o.xmediaserve.com is not valid, according to idn2.
idn2 xn--www-rze3o.xmediaserve.com
idn2: toAscii: string has forbidden bi-directional properties
but it passes with idn(1):
idn xn--www-rze3o.xmediaserve.com
xn--www-rze3o.xmediaserve.com
But your dnsmasq seems to omit idn support, so it should not be the issue.
On 11/5/20 12:52 PM, Ruben wrote:
> Hi,
>
> I've been struggling with an issue recently that involves a FreeBSD
> dnsmasq daemon not loading a specific configfile:
>
> [root at dns2:/usr/home/fux]# dnsmasq --version
> Dnsmasq version 2.82 Copyright (c) 2000-2020 Simon Kelley
> Compile time options: IPv6 GNU-getopt no-DBus no-UBus i18n IDN2 DHCP
> DHCPv6 no-Lua TFTP no-conntrack ipset auth DNSSEC loop-detect no-inotify
> dumpfile
>
> This software comes with ABSOLUTELY NO WARRANTY.
> Dnsmasq is free software, and you are welcome to redistribute it
> under the terms of the GNU General Public License, version 2 or 3.
>
>
> [root at dns2:/usr/home/fux]# service dnsmasq onestart
> Starting dnsmasq.
>
>
> dnsmasq: error at line 873203 of /data/tmpram/conf/oisd_processed.conf
> /usr/local/etc/rc.d/dnsmasq: WARNING:
> failed to start dnsmasq
>
> [root at dns2:/usr/home/fux]# cat /data/tmpram/conf/oisd_processed.conf |
> awk '{if(NR==873203) print $0}'
> address="/xn--www-rze3o.xmediaserve.com/192.168.21.4"
> [root at dns2:/usr/home/fux]# cat /data/tmpram/conf/oisd_processed.conf |
> awk '{if(NR==873202) print $0}'
> address="/xn--www-edd4a0chp.acint.net/192.168.21.4"
>
> These lines look perfectly ok, right?
>
> On a raspbian installation, this file loads just fine:
>
> root at dns1:/usr/home/fux# dnsmasq --version
> Dnsmasq version 2.76 Copyright (c) 2000-2016 Simon Kelley
> Compile time options: IPv6 GNU-getopt DBus i18n IDN DHCP DHCPv6 no-Lua
> TFTP conntrack ipset auth DNSSEC loop-detect inotify
>
> This software comes with ABSOLUTELY NO WARRANTY.
> Dnsmasq is free software, and you are welcome to redistribute it
> under the terms of the GNU General Public License, version 2 or 3.
> root at dns1:/usr/home/fux#
>
> This behaviour started a couple of months ago.
>
--
Petr Menšík
Software Engineer
Red Hat, http://www.redhat.com/
email: pemensik at redhat.com
PGP: DFCF908DB7C87E8E529925BC4931CA5B6C9FC5CB
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0x4931CA5B6C9FC5CB_and_old_rev.asc
Type: application/pgp-keys
Size: 9364 bytes
Desc: not available
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20201105/86fa7e25/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 665 bytes
Desc: OpenPGP digital signature
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20201105/86fa7e25/attachment.sig>
More information about the Dnsmasq-discuss
mailing list