Is there a web API or console command option to reload dnsmasq configurations?
As noted in Refreshing dnsmasq from CLI? and restartdns not updating dnsmasq configs · Issue #5203 · pi-hole/pi-hole · GitHub the standard pihole reloaddns
or pihole reloadlists
do not refresh configs from the /etc/dnsmasq.d directory.
For context I am using the latest pihole container and have a custom dnsmasq config that is updated automatically to provide aliases for devices. When this file changes I am looking for a way for pihole to process the changes. Previously the pihole restartdns
command did this but I believe this was removed in pihole v6 so am looking for a new way to hand this. Worst case I could restart the whole pihole container but want to ask if there is a better solution. Thanks!
Versions:
# pihole -v
Core version is v6.1.2 (Latest: v6.1.2)
Web version is v6.2.1 (Latest: v6.2.1)
FTL version is v6.2.3 (Latest: v6.2.3)