aboutsummaryrefslogtreecommitdiff
path: root/modules/powerdns/pdns-primary.conf
diff options
context:
space:
mode:
authorMax Audron <audron@cocaine.farm>2023-10-05 14:42:50 +0200
committerMax Audron <audron@cocaine.farm>2023-10-05 14:42:50 +0200
commit0d18a3a441a5465a6a1775576bb0815419643aa9 (patch)
tree9188b8313d38ec4b6880a1f280854045b8c99267 /modules/powerdns/pdns-primary.conf
parentdeploy teamspeak and quassel (diff)
deploy powerdns and bgp config
Diffstat (limited to 'modules/powerdns/pdns-primary.conf')
-rw-r--r--modules/powerdns/pdns-primary.conf18
1 files changed, 18 insertions, 0 deletions
diff --git a/modules/powerdns/pdns-primary.conf b/modules/powerdns/pdns-primary.conf
new file mode 100644
index 0000000..0d76e7a
--- /dev/null
+++ b/modules/powerdns/pdns-primary.conf
@@ -0,0 +1,18 @@
+allow-axfr-ips = 10.0.0.0/8,127.0.0.0/8
+allow-dnsupdate-from = 10.0.0.0/8,127.0.0.0/8
+also-notify =
+
+default-soa-content = primary.ns.vapor.systems hostmaster.@ 0 10800 3600 604800 3600
+
+gpgsql-dbname = pdns
+gpgsql-host = /var/run/postgresql
+gpgsql-port = 5432
+gpgsql-user = pdns
+launch = gpgsql
+
+api = yes
+local-address = 0.0.0.0 [::]
+primary = yes
+webserver = yes
+webserver-address = 10.10.0.1
+webserver-allow-from = 10.0.0.0/8,127.0.0.0/8