Algo/Ubuntu starting dnsmasq

You can, but I think it's a dependency of network manager and it will be installed again on a system (auto) update.

I posted this info here:

Due to the nature of your environment and the presence of Network Manager, after FTLDNS is installed, you need to make sure that Network Manager does NOT enable dnsmasq (at reboot) before FTLDNS. In order to achieve that, you need to edit

/etc/NetworkManager/NetworkManager.conf

And comment out or delete the line that has dns=dnsmasq.

Then you need to restart NetworkManager in order for the new settings (without dnsmasq as resolver) to be applied:

sudo systemctl reload-or-restart NetworkManager

If after reboot, your /admin/ interface is showing Lost Connection To Api and DNS resolution is not working, then that means that FTLDNS is offline.

Check to see if dnsmasq is running with

sudo systemctl status dnsmasq

It should say
image

If dnsmasq is active you need to stop it and restart FTLDNS in order for the DNS resolution to work properly.

sudo systemctl stop dnsmasq
sudo systemctl restart pihole-FTL.service

Once you have done this, you need to find out why dnsmasq is starting.

If you don't use dnsmasq in your own setup, it is safe to uninstall it if you so chose to do so.

sudo apt remove dnsmasq however since it's a dependency of Network Manager, it MIGHT be re-installed if your environment is set-up for auto updates and it will break FTLDNS again.

If you did everything right, dnsmasq shouldn't be a problem once on FTLDNS and the disable method above.

Let me know if this doesn't work for you.