Skip to content

Instantly share code, notes, and snippets.

@doismellburning
Created April 1, 2020 10:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save doismellburning/71e9c1cead18d304474edd63706c4333 to your computer and use it in GitHub Desktop.
Save doismellburning/71e9c1cead18d304474edd63706c4333 to your computer and use it in GitHub Desktop.
Pi-hole static DNS entries
# Ubuqiti unifi/USG doesn't seem to let me just add DNS entries for fixed-IP DHCP hosts so let's do it here:
address=/pihole.example.com/10.13.37.1
---
-
copy:
src: "{{ role_path }}/files/99-hardcoded-dns-entries.conf"
dest: "/etc/dnsmasq.d/"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment