Skip to content

Instantly share code, notes, and snippets.

@alexbaldwin
Created August 8, 2018 02:23
Show Gist options
  • Save alexbaldwin/8eba69a0693f5fcc916d52df35861a43 to your computer and use it in GitHub Desktop.
Save alexbaldwin/8eba69a0693f5fcc916d52df35861a43 to your computer and use it in GitHub Desktop.
Install Pi-hole on Synology w/ Docker

Abbreviated instructions for setting up pi-hole without disrupting your existing network. Replace 192.168.7.47 with your Synology's internal IP address.

  1. Under Docker / Image, add https://hub.docker.com/r/pihole/pihole/ from URL. Select latest.
  2. Create a new container using the previously added image. Use the following advanced settings:
  • Enable auto-restart
  • Override the ports:
    53 -> 53
    53 -> 53
    8181 -> 80
    
  • Add an ENV variable for your server's IP:
    ServerIP=192.168.7.47
    
  1. Open up 192.168.7.47:8181/admin and complete your setup.
  2. Change your router's DNS server to 192.168.7.47.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment