aboutsummaryrefslogtreecommitdiffstats
path: root/examples/tg19/dns_auth/cozy
diff options
context:
space:
mode:
authorOle Mathias Aa. Heggem <olemathias.aa.heggem@gmail.com>2019-11-11 22:14:22 +0100
committerOle Mathias Aa. Heggem <olemathias.aa.heggem@gmail.com>2019-11-11 22:14:22 +0100
commitef8122013956d09127c25285fde92b39c4e8af55 (patch)
tree34ce1266ae41d86e9378f481c1afb1e00be9c90c /examples/tg19/dns_auth/cozy
parent1f190fed23d84fa00559653e868e6be5ff6451aa (diff)
A little TG19 scripts and config
Diffstat (limited to 'examples/tg19/dns_auth/cozy')
-rw-r--r--examples/tg19/dns_auth/cozy/pdns.conf34
1 files changed, 34 insertions, 0 deletions
diff --git a/examples/tg19/dns_auth/cozy/pdns.conf b/examples/tg19/dns_auth/cozy/pdns.conf
new file mode 100644
index 0000000..33e2a53
--- /dev/null
+++ b/examples/tg19/dns_auth/cozy/pdns.conf
@@ -0,0 +1,34 @@
+setgid=pdns
+setuid=pdns
+socket-dir=/var/run
+version-string=powerdns
+config-dir=/etc/powerdns
+include-dir=/etc/powerdns/pdns.d
+master=yes
+supermaster=yes
+enable-lua-records=yes
+
+# Listen address
+local-address=185.110.149.2,127.0.0.1
+local-ipv6=2a06:5841:a:103::2,::1
+local-port=53
+
+# Default SOA
+default-soa-name=ns1.infra.gathering.org
+default-soa-mail=tg19tech-net.gathering.org
+
+# API
+api=yes
+api-key=<SECRET>
+webserver=yes
+webserver-port=8081
+webserver-allow-from=127.0.0.1,::1
+
+# DNS UPDATE
+dnsupdate=yes
+allow-dnsupdate-from=127.0.0.1/32,::1/128
+forward-dnsupdate=no
+
+# AXFR
+disable-axfr=no
+allow-axfr-ips=127.0.0.1/32, 134.90.150.178/32, ::1/128, 2a02:20c8:1930::178/128