[Dnsmasq-discuss] Dnsmasq won't load configfile

Ruben mail at osfux.nl
Thu Nov 5 11:52:36 GMT 2020


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.

Any ideas on how to troubleshoot this?

Feedback appreciated :)

Kind regards,

Ruben



More information about the Dnsmasq-discuss mailing list