uBlockOrigin Badware List - Causes FAILURE of dnsmasq.service
Environment: Proxmox VE
VM/CT: both
Resources: RAM 2GB / CPU 2 Cores / HDD 8GB
OS: Debian 10 and Ubuntu 20
NoTrack: v20.11
Steps to reproduce:
Fresh installation of the OS. On Debian just installed sudo
package. NoTrack is installed in /opt
folder.
From web interface: Block List -> Malware ->
-
uBlockOrigin Badware List:
It doesn't matter if other lists are enabled or disabled.
Result: Clients unable to resolve URLs.
Proof: SSH into NoTrack VM/CT
$ 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 Fri 2020-12-25 10:59:01 EET; 6min ago
Process: 4679 ExecStartPre=/usr/sbin/dnsmasq --test (code=exited, status=1/FAILURE)
Dec 25 10:59:01 debian systemd[1]: Starting dnsmasq - A lightweight DHCP and caching DNS server...
Dec 25 10:59:01 debian dnsmasq[4679]: dnsmasq: error at line 92 of /etc/dnsmasq.d/notrack.list
Dec 25 10:59:01 debian dnsmasq[4679]: error at line 92 of /etc/dnsmasq.d/notrack.list
Dec 25 10:59:01 debian dnsmasq[4679]: FAILED to start up
Dec 25 10:59:01 debian systemd[1]: dnsmasq.service: Control process exited, code=exited, status=1/FAILURE
Dec 25 10:59:01 debian systemd[1]: dnsmasq.service: Failed with result 'exit-code'.
Dec 25 10:59:01 debian systemd[1]: Failed to start dnsmasq - A lightweight DHCP and caching DNS server.
Disabling "uBlockOrigin Badware List:" restores dnsmasq.service
and it is up and running properly. Clients could resolve URLs without any issues.
$ 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: active (running) since Fri 2020-12-25 11:12:03 EET; 7s ago
Process: 4737 ExecStartPre=/usr/sbin/dnsmasq --test (code=exited, status=0/SUCCESS)
Process: 4738 ExecStart=/etc/init.d/dnsmasq systemd-exec (code=exited, status=0/SUCCESS)
Process: 4746 ExecStartPost=/etc/init.d/dnsmasq systemd-start-resolvconf (code=exited, status=0/SUCCESS)
Main PID: 4745 (dnsmasq)
Tasks: 1 (limit: 4915)
Memory: 1.4M
CGroup: /system.slice/dnsmasq.service
`-4745 /usr/sbin/dnsmasq -x /run/dnsmasq/dnsmasq.pid -u dnsmasq -7 /etc/dnsmasq.d,.dpkg-dist,.dpkg-old,.dpkg-new --lo
Dec 25 11:12:03 debian systemd[1]: Starting dnsmasq - A lightweight DHCP and caching DNS server...
Dec 25 11:12:03 debian dnsmasq[4737]: dnsmasq: syntax check OK.
Dec 25 11:12:03 debian systemd[1]: Started dnsmasq - A lightweight DHCP and caching DNS server.
Edited by Kaoro Ishikawa