[FS#4197] dnsmasq fails to start when using IPv6 address for bogusnxdomain
openwrt-bugs at lists.openwrt.org
Mon Dec 20 02:47:03 PST 2021
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
A new Flyspray task has been opened. Details are below.
User who did this - fotvoren (fotvoren)
Attached to Project - OpenWrt/LEDE Project
Summary - dnsmasq fails to start when using IPv6 address for bogusnxdomain
Task Type - Bug Report
Category - Base system
Status - Unconfirmed
Assigned To -
Operating System - All
Severity - Low
Priority - Very Low
Reported Version - openwrt-21.02
Due in Version - Undecided
Due Date - Undecided
Details - OpenWrt version: 21.02.1 r16325-88151b8303 / LuCI openwrt-21.02 branch git-21.295.67054-13df80d
dnsmasq version: 2.85-8
When setting an IPv6 address for the bogusnxdomain option in dnsmasq, the server fails to start. IPv6 addresses should be supported. From the [[https://thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html|dnsmasq manpage]]:
Transform replies which contain the specified address or subnet into "No such domain" replies.
IPv4 and IPv6 are supported.
When setting an IPv6 address like this:
list bogusnxdomain '2606:4700:4700::1111'
The server will fail to start:
Mon Dec 20 11:33:39 2021 daemon.crit dnsmasq: error at line 25 of /var/etc/dnsmasq.conf.cfg01411c
Mon Dec 20 11:33:39 2021 daemon.crit dnsmasq: FAILED to start up
Mon Dec 20 11:33:39 2021 daemon.info procd: Instance dnsmasq::cfg01411c s in a crash loop 7 crashes, 0 seconds since last crash
Line 25 of /var/etc/dnsmasq.conf.cfg01411c:
IPv4 addresses work fine.
More information can be found at the following URL:
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
More information about the openwrt-bugs