mdoff's blog

How add custom DNS entries in pi-hole

· Tomasz Lewiński

Currently UI does not provide this function, unless you have enabled DHCP server, then you can assign local ip addresses to custom domain names.

To have ability to add various custom names to DNS server I followed advice from this comment on github.

I created file /etc/dnsmasq.d/03-custom-dns-names.conf and put there all my custom domains.


Other comment suggested usage of command line tool, but solution with custom config file worked for me really great.