Skip to content

Instantly share code, notes, and snippets.

View johndturn's full-sized avatar
🤷‍♂️

John Turner johndturn

🤷‍♂️
View GitHub Profile
@johndturn
johndturn / local-dns-setup.md
Created June 14, 2022 16:28
Simple walkthrough to configure local DNS on your Pi-hole instance.

How to Set up Local DNS

After 2 years of running Pi-hole on my RaspberryPI, I realized that I've been totally ignoring a massively beneficial (and easy-to-configure) feature that comes out of the box: Local DNS. Thankfully, I heard an episode of the Changelog Podcast that casually mentioned it, and it got me researching.

The setup is incredibly simple, and can be done entirely through the Pi-hole GUI. Thanks to Techno Tim for the great tutorial (see the section below for a link to the video).

  1. Log into your PiHole instance
  2. Click on the "Local DNS" navbar item on the left
  3. Select either "DNS Records" (for A records) or CNAME Records
  4. Create your entries