我设置了每周日晚上更新这个清单,发现更新后清单里面有IPV6地址之后,masq无法启动了,把249行和250行注释以后,dnsmasq可以正常启动,请问是什么问题呢,清单可以更新成没有IPV6地址吗
root@DNS2:~# systemctl status dnsmasq.service
● dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server
Loaded: loaded (/lib/systemd/system/dnsmasq.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2025-11-17 09:42:50 HKT; 1min 28s ago
Process: 588180 ExecStartPre=/etc/init.d/dnsmasq checkconfig (code=exited, status=1/FAILURE)
CPU: 514ms
Nov 17 09:42:49 DNS2 systemd[1]: Starting dnsmasq - A lightweight DHCP and caching DNS server...
Nov 17 09:42:50 DNS2 dnsmasq[588186]: error at line 249 of /etc/dnsmasq.d/bogus-nxdomain.china.conf
Nov 17 09:42:50 DNS2 dnsmasq[588186]: FAILED to start up
Nov 17 09:42:50 DNS2 systemd[1]: dnsmasq.service: Control process exited, code=exited, status=1/FAILURE
Nov 17 09:42:50 DNS2 systemd[1]: dnsmasq.service: Failed with result 'exit-code'.
Nov 17 09:42:50 DNS2 systemd[1]: Failed to start dnsmasq - A lightweight DHCP and caching DNS server.
我设置了每周日晚上更新这个清单,发现更新后清单里面有IPV6地址之后,masq无法启动了,把249行和250行注释以后,dnsmasq可以正常启动,请问是什么问题呢,清单可以更新成没有IPV6地址吗
root@DNS2:~# systemctl status dnsmasq.service
● dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server
Loaded: loaded (/lib/systemd/system/dnsmasq.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2025-11-17 09:42:50 HKT; 1min 28s ago
Process: 588180 ExecStartPre=/etc/init.d/dnsmasq checkconfig (code=exited, status=1/FAILURE)
CPU: 514ms
Nov 17 09:42:49 DNS2 systemd[1]: Starting dnsmasq - A lightweight DHCP and caching DNS server...
Nov 17 09:42:50 DNS2 dnsmasq[588186]: error at line 249 of /etc/dnsmasq.d/bogus-nxdomain.china.conf
Nov 17 09:42:50 DNS2 dnsmasq[588186]: FAILED to start up
Nov 17 09:42:50 DNS2 systemd[1]: dnsmasq.service: Control process exited, code=exited, status=1/FAILURE
Nov 17 09:42:50 DNS2 systemd[1]: dnsmasq.service: Failed with result 'exit-code'.
Nov 17 09:42:50 DNS2 systemd[1]: Failed to start dnsmasq - A lightweight DHCP and caching DNS server.