Disable DNS server from dnsmasq by default

Dear all,

In order to disable the DNS server from dnsmasq, I modify /etc/dnsmasq.conf and set port=0, but is there any easy way to permanetly disable the DNS server from dnsmasq?on every reboot the file /etc/dnsmasq.conf is overwritten and the DNS server restarted.

(I’m running pihole as a container and it acts as DNS)

thanks

You can reapply your changes on bootup via autorun.sh

thanks for your answer.
This is the solution I’ve seen in other posts, but I was wondering if there a better way,a more native way,to do so… you can manage ddns, ftp, ssh and others, why not DNS?
thanks!

That would be a feature request then (best to do that via ticket)

Nice! could you please point me to the ticketing system? (I’m new to this)
thanks!

See here

1 Like