pihole restartdns succeeds, but subsequent pihole status sill returns DNS error
Debug Token:
b8v07pvvwa
Additional specs and info:
Raspberry Pi 2, running Ubuntu Mate 16.04.5.
I'm not quite sure when pi-hole started having problems, it's run so well for so long, I stopped checking on it regularly.
Last pi-hole upgrade may have started the problem, but I'm not sure.
pihole-FTL.service - LSB: pihole-FTL daemon
Loaded: loaded (/etc/init.d/pihole-FTL; bad; vendor preset: enabled)
Active: active (exited) since Sat 2019-02-02 15:43:14 EST; 1h 20min ago Docs: man:systemd-sysv-generator(8)
Process: 509 ExecStart=/etc/init.d/pihole-FTL start (code=exited, status=0/SUCCESS)
Feb 02 15:43:04 rpi2 systemd[1]: Starting LSB: pihole-FTL daemon...
Feb 02 15:43:04 rpi2 pihole-FTL[509]: Not running
Feb 02 15:43:13 rpi2 su[989]: Successful su for pihole by root
Feb 02 15:43:13 rpi2 su[989]: + ??? root:pihole
Feb 02 15:43:13 rpi2 su[989]: pam_unix(su:session): session opened for user pihole by (uid=0)
Feb 02 15:43:14 rpi2 pihole-FTL[509]: dnsmasq: failed to create listening socket for port 53: Address already in use Feb 02 15:43:14 rpi2 systemd[1]: Started LSB: pihole-FTL daemon.
Just in case it helps, it looks to me like dnsmasq stole port 53 from itself (but I'm nearing the limits of my hobbyist-linux-admin skills...and pasting from powershell-ssh is no fun ;). sudo lsof -i -P -n | grep LISTEN returns:
I'm not sure how I missed it previously, but this appeared in tonight's frantic searching:
After trying a bunch of stuff, it was that edit to /etc/NetworkManager/NetworkManager.conf that got everything running again.
On my initial install of pi-hole, I had to remove /etc/dnsmasq.d/network-manager...maybe some recent Ubuntu Mate package updates decided to change up the Network Manager settings again.
I'll certainly think twice before my next apt-get upgrade...