Skip to content

Instantly share code, notes, and snippets.

@midwire
Created August 29, 2023 14:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save midwire/f270e4c84916357f0b9253d5c7cfa686 to your computer and use it in GitHub Desktop.
Save midwire/f270e4c84916357f0b9253d5c7cfa686 to your computer and use it in GitHub Desktop.
[UDM with Pi-hole]

Configure UDM

  • Firewall & Security (side menu) - turn off Ad blocking. This is very important. If you don't do this you will get recursive DNS calls from the UDM router to your pi-hole
  • Internet (side menu) - click primary/default WAN interface. Set "Advanced" to Manual and configure primary DNS server with the static IP of your pi-hole
  • Networks (side menu) - for each network, drill down to DHCP settings under "Advanced". For DHCP Service Management click "Show Options". Turn off "Auto" for DHCP DNS Server and enter the IP of your Pi-hole. Do these steps for each network.

Configure Pi-hole

  • Configure according to your needs. The documentation is good
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment