Pi hole 5 to 6 changes? How to restart DNS?

Pi hole 5 to 6 changes? How to restart DNS?

I used to edit custom.list then execute 'pihole restartdns' but apparently this changed from pihole 5 to 6? What is the comparable command now in pihole 6?

You can do this from the web admin GUI: Settings > System (in expert mode):

Or with the following command from the terminal:

sudo service pihole-FTL restart

1 Like

Distributions with systemd may use sudo systemctl restart pihole-FTL instead of
sudo service pihole-FTL restart

1 Like

This is no longer valid for the docker image, as systemctl/systemd are not available in the container.

Please also see my comment here: Restartdns not found - #12

Pi-hole image never used systemd.

Pi-hole v6 automatically reloads the configuration after any changes to pihole.toml.

1 Like

Ok I referred to the last comment. Service is no longer available in the image

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.