Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#4197 - dnsmasq fails to start when using IPv6 address for bogusnxdomain #9177

openwrt-bot opened this issue Dec 20, 2021 · 1 comment
flyspray release/21.02


Copy link

@openwrt-bot openwrt-bot commented Dec 20, 2021


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 [[|dnsmasq manpage]]:
-B, --bogus-nxdomain=[/prefix]
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:

config dnsmasq ... list bogusnxdomain '2606:4700:4700::1111' ...

The server will fail to start:

Mon Dec 20 11:33:39 2021 daemon.crit dnsmasq[17019]: error at line 25 of /var/etc/dnsmasq.conf.cfg01411c Mon Dec 20 11:33:39 2021 daemon.crit dnsmasq[17019]: FAILED to start up Mon Dec 20 11:33:39 2021 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.

Copy link

@openwrt-bot openwrt-bot commented Jan 3, 2022


IPv6 support was only added as of dnsmasq 2.86. Invalid in 2.85.

@aparcar aparcar added the release/21.02 label Feb 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
flyspray release/21.02
None yet

No branches or pull requests

2 participants