summaryrefslogtreecommitdiff
path: root/roles/install_bind/templates
diff options
context:
space:
mode:
authorNiklas Yann Wettengel <niyawe@niyawe.de>2022-01-22 19:59:11 +0100
committerNiklas Yann Wettengel <niyawe@niyawe.de>2022-01-22 19:59:11 +0100
commitfb0dbf28a0e7979050858256d2040d734b282afe (patch)
tree153ac6d83de80fd39a6724e72a3beb6a56992300 /roles/install_bind/templates
parentb53a8cf2283b2d6debb94cd399a72d25da0d7c82 (diff)
new net with nat64
Diffstat (limited to 'roles/install_bind/templates')
-rw-r--r--roles/install_bind/templates/ipv6.conf.j22
-rw-r--r--roles/install_bind/templates/named.conf.j21
2 files changed, 3 insertions, 0 deletions
diff --git a/roles/install_bind/templates/ipv6.conf.j2 b/roles/install_bind/templates/ipv6.conf.j2
new file mode 100644
index 0000000..0bc8416
--- /dev/null
+++ b/roles/install_bind/templates/ipv6.conf.j2
@@ -0,0 +1,2 @@
+[Service]
+ExecStartPre=/usr/bin/ip addr replace {{ dns_ip }}/128 dev lo
diff --git a/roles/install_bind/templates/named.conf.j2 b/roles/install_bind/templates/named.conf.j2
index 25d3470..352c1fa 100644
--- a/roles/install_bind/templates/named.conf.j2
+++ b/roles/install_bind/templates/named.conf.j2
@@ -10,6 +10,7 @@ options {
auth-nxdomain no; # conform to RFC1035
listen-on-v6 {
+ 2a03:2260:1016::53;
{% for site in sites %}
{{ site.bat_ipv6 }};
{% endfor %}