Post-Install
Making your network take advantage of Pi-hole¶
Once the installer has been run, you will need toconfigure your router to haveDHCP clients use Pi-hole as theirDNS server which ensures all devices connected to your network will have content blocked without any further intervention.
If your router does not support setting theDNS server, you canuse Pi-hole's built-inDHCP server; just be sure to disableDHCP on your router first (if it has that feature available).
As a last resort, you can manually set each device to use Pi-hole as itsDNS server.
Making your Pi-hole host use Pi-hole¶
Pi-hole will not be used by the host automatically after installation. To have the host resolve through Pi-hole and your configured blocking lists, you can make the host use Pi-hole as upstreamDNS server:
Warning
If your Pi-hole host is using Pi-hole as upstreamDNS server and Pi-hole fails, your host losesDNS resolution. This can prevent successful repair attempts, e.g. bypihole -r
as it needs a working internet connection.
If yourOS usesdhcpcd
for network configuration, you can add to your/etc/dhcpcd.conf
static domain_name_servers=127.0.0.1