From 7106b304324b3a7c4dc5fa25432f08041cbc41cb Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Sat, 3 May 2025 20:52:54 -0700 Subject: Move to unbound --- playbooks/roles/labdns/templates/volumes/unbound/a-records.conf | 4 ++++ .../roles/labdns/templates/volumes/unbound/forward-records.conf | 5 +++++ 2 files changed, 9 insertions(+) create mode 100644 playbooks/roles/labdns/templates/volumes/unbound/a-records.conf create mode 100644 playbooks/roles/labdns/templates/volumes/unbound/forward-records.conf (limited to 'playbooks/roles/labdns/templates/volumes') diff --git a/playbooks/roles/labdns/templates/volumes/unbound/a-records.conf b/playbooks/roles/labdns/templates/volumes/unbound/a-records.conf new file mode 100644 index 0000000..9462aab --- /dev/null +++ b/playbooks/roles/labdns/templates/volumes/unbound/a-records.conf @@ -0,0 +1,4 @@ +# {{ domain }} +{% for service in internal_services %} +local-data: "{{ service }}.{{ domain }}. A {{ loadbalancer_ip }}" +{% endfor %} diff --git a/playbooks/roles/labdns/templates/volumes/unbound/forward-records.conf b/playbooks/roles/labdns/templates/volumes/unbound/forward-records.conf new file mode 100644 index 0000000..19af327 --- /dev/null +++ b/playbooks/roles/labdns/templates/volumes/unbound/forward-records.conf @@ -0,0 +1,5 @@ +forward-zone: + name: "." + forward-addr: 1.1.1.1@853#cloudflare-dns.com + forward-addr: 1.0.0.1@853#cloudflare-dns.com + forward-tls-upstream: yes -- cgit v1.2.3-70-g09d2