Skip to content

Instantly share code, notes, and snippets.

View SalmonKing72's full-sized avatar
✝️

SalmonKing72

✝️
View GitHub Profile
@SalmonKing72
SalmonKing72 / README.md
Created April 30, 2020 03:34
Local DNS Database on Pihole machine

In terms of getting started quickly I ended up using a pihole deployment with extra lists, as described in https://www.youtube.com/watch?v=qNCzSA2bs9I

In this solution you get ad-block as "unnecessary" extra, but maybe it is more people than me who don't mind.

Start by installing pihole on some machine as described here https://github.com/pi-hole/pi-hole/#one-step-automated-install and get it up and running.

When you're finished with getting pihole to work, extend the pihole configuration as below (example on a debian system, with a .lan domain):

Create a file /etc/dnsmasq.d/02-lan.conf with content