Pi-Hole DNS¶
Pi-hole is a very simple to use DNS that also provides network-wide ad blocking.
Installation¶
Installation is straightforward as documented at https://docs.pi-hole.net/main/basic-install/.
Manually download the installer and execute.
wget -O basic-install.sh https://install.pi-hole.net
sudo bash basic-install.sh
The server is installed on a very minimal VM.
Integration with Active Directory¶
In order to use Pi-Hole as the primary DNS server with Windows Active Directory (i.e., 192.168.2.251), enable the Use Conditional Forwarding option.
- Open the Pi-Hole admin page.
- Navigate to Settings > DNS.
- Scroll to the bottom of the page and enable the "Use Conditional Forwarding" checkbox.
- Enter "192.168.2.0/24" in the Local Network field.
- Enter "192.168.2.252 in the "IP address of your DHCP server" field.
- Enter "refol.us" in the "Local domain name" field.
Admin Webpage¶
The admin webpage is accessible from a browser using the address http://pi.hole/admin or http://192.168.2.252/admin.
Usage¶
Open the TP-Link Omada management page at https://omada.tplinkcloud.com/ and perform the following:
- Open Settings > Wired Networks > LAN.
- Edit the Default network.
- Set the DNS Server to Manual.
- Enter 192.168.2.252, 192.168.2.253, 192.168.2.254.
References¶