summaryrefslogtreecommitdiff
path: root/playbooks/roles/labdns/templates/volumes
diff options
context:
space:
mode:
authorElizabeth Hunt <me@liz.coffee>2025-05-03 20:52:54 -0700
committerElizabeth Hunt <me@liz.coffee>2025-05-03 21:29:25 -0700
commit7106b304324b3a7c4dc5fa25432f08041cbc41cb (patch)
treecac71c9d85ba0045a735a4709573634c52f38e03 /playbooks/roles/labdns/templates/volumes
parentae2d222ab5423bef0fc136e0aee2b4243db03b17 (diff)
downloadinfra-7106b304324b3a7c4dc5fa25432f08041cbc41cb.tar.gz
infra-7106b304324b3a7c4dc5fa25432f08041cbc41cb.zip
Move to unbound
Diffstat (limited to 'playbooks/roles/labdns/templates/volumes')
-rw-r--r--playbooks/roles/labdns/templates/volumes/unbound/a-records.conf4
-rw-r--r--playbooks/roles/labdns/templates/volumes/unbound/forward-records.conf5
2 files changed, 9 insertions, 0 deletions
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