themactep.com

A home of miscellaneous projects by Paul Philippov.

Notes

How to add local hosts to Pi-hole DNS

$ sudo -s
# echo '192.168.1.55 mywebsite.local' >> /etc/hosts.local
# echo 'addn-hosts=/etc/hosts.local'  >> /etc/dnsmasq.d/02-mydns.conf
# systemctl restart dnsmasq.service
# exit