Skip to content

Instantly share code, notes, and snippets.

@mikedhanson
Created December 27, 2020 03:05
Show Gist options
  • Save mikedhanson/77f64673c1f0dee9991ddc0697f30c81 to your computer and use it in GitHub Desktop.
Save mikedhanson/77f64673c1f0dee9991ddc0697f30c81 to your computer and use it in GitHub Desktop.
Custom Pihole DNS Settings
title date
Custom DNS Names in PIhole
2020-04-24

Adding Custom DNS Entries into Pihole

Assuming you already have Pihole up and running, create a new .conf file in the following directory: /etc/dnsmasq.d/yourname.conf

  1. nano or vim into "yourname.conf"
  2. Add the following  on a new line "address=/unraid.local/192.168.1.100"
  3. That IP address can be whatever IP on your LAN, for instance it could be your unraid IP. 
  4. Reload pihole DNS
    1. pihole restartdns
  5. Now navigate to that address you specified in step 2.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment