After Pi-hole is installed, you need to point your network’s DNS traffic at it. The most effective approach is configuring your router’s DHCP settings to advertise Pi-hole’s IP as the primary DNS server — this covers every device on the network automatically without any per-device configuration.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/damianiglesias/pihole-ubuntu-deploy/llms.txt
Use this file to discover all available pages before exploring further.
Step 1: Find Your Pi-hole’s IP
The Pi-hole IP address is displayed in the final deployment report afterdeploy.sh completes successfully:
Step 2: Configure Your Router
Setting DNS at the router level is the recommended approach — it automatically applies Pi-hole to every device that gets an address from DHCP, including phones, smart TVs, and IoT devices.Log into your router's admin panel
Open a browser and navigate to your router’s admin interface. Common default addresses are:
http://192.168.1.1http://192.168.0.1
Locate the DHCP or LAN DNS settings
Look for a section named DHCP, LAN, DNS, or Internet Settings depending on your router model. You are looking for fields that let you set a custom DNS server address for DHCP clients.
Set the primary DNS to your Pi-hole IP
Enter your Pi-hole’s static IP address (e.g.,
192.168.1.100) in the Primary DNS field.Configure the secondary DNS (optional)
Leave the Secondary DNS field blank, or enter a fallback such as
8.8.8.8.Step 3: Access the Web Admin Panel
The Pi-hole web interface is available immediately after installation at:http://192.168.1.100/admin
Log in with the password you set during the deploy.sh installation flow. From here you can monitor query activity, manage blocklists, whitelist domains, and configure upstream DNS settings.
Step 4: Verify It’s Working
Open a terminal on any networked device
Use any machine that receives DNS from your router — a laptop, desktop, or another server on the same network.
Test that known ad domains are blocked
Query a known advertising domain against Pi-hole directly:A successful block returns
0.0.0.0 (or :: for IPv6) instead of the real IP address.Check the Pi-hole dashboard for query activity
Open the Pi-hole web admin panel. The dashboard should show query counts increasing in real time as devices on your network make DNS requests.
Per-Device DNS Configuration
If you cannot or do not want to change the router’s DNS settings, you can configure individual devices to use Pi-hole directly.| Platform | Location |
|---|---|
| Windows | Network adapter → IPv4 Properties → Preferred DNS Server |
| macOS | System Settings → Network → Details → DNS |
| Linux | /etc/resolv.conf or NetworkManager connection profile |
| Android / iOS | Wi-Fi settings → long-press network → Modify network → Static DNS |
Managing Blocklists
Pi-hole blocks domains based on blocklists compiled into its gravity database. You can extend coverage by adding additional lists.- Open the Pi-hole admin panel
- Navigate to Group Management → Adlists
- Paste the URL of a new blocklist and click Add
- Run a gravity update to download and compile the new list:
deploy.sh optionally installs three curated lists during setup — StevenBlack Unified, AdGuard Mobile, and EasyPrivacy Tracking — and runs an initial gravity update automatically.