aboutsummaryrefslogtreecommitdiffstats
path: root/examples/tg23/dns/pdns.conf
blob: 0036cabc67fb9401b67b9df74a097eefc623ba23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# The Gathering 2023 DNS

# ignore-unknown-settings	Configuration settings to ignore if they are unknown
ignore-unknown-settings=false

# allow-axfr-ips	Allow zonetransfers only to these subnets
allow-axfr-ips=127.0.0.0/8,::1,193.0.19.190/32,2001:67c:2e8:11::c100:13be/128,93.175.159.250/32,2001:67c:2d7c:66::53/128

# allow-dnsupdate-from	A global setting to allow DNS updates from these IP ranges.
allow-dnsupdate-from=127.0.0.0/8,::1,185.80.182.75/32,2a02:d140:c012:1::75/128,2a06:5841:f:d::98/128

# allow-notify-from	Allow AXFR NOTIFY from these IP ranges. If empty, drop all incoming notifies.
allow-notify-from=<removed>

# api	Enable/disable the REST API (including HTTP listener)
api=yes
api-key=<removed>

# autosecondary	Act as an autosecondary (formerly superslave)
autosecondary=yes

# default-soa-content	Default SOA content
default-soa-content=ns1.infra.gathering.org noc.gathering.org 0 10800 3600 604800 3600

# default-ttl	Seconds a result is valid if not set otherwise
default-ttl=1800

# include-dir	Include *.conf files from this directory
include-dir=/etc/powerdns/pdns.d

# launch	Which backends to launch and order to query them in
launch=

# local-address	Local IP addresses to which we bind
local-address=0.0.0.0, ::
local-port=53

# loglevel	Amount of logging. Higher is more. Do not set below 3
loglevel=7

# primary	Act as a primary
primary=yes
# secondary	Act as a secondary
secondary=yes

# server-id	Returned when queried for 'id.server' TXT or NSID, defaults to hostname - disabled or custom
server-id=ns1.infra.gathering.org

# webserver	Start a webserver for monitoring (api=yes also enables the HTTP listener)
webserver=yes
webserver-address=0.0.0.0
webserver-allow-from=127.0.0.1,::1,172.18.0.3/32 # Docker powerdns-admin
webserver-password=<removed>
webserver-port=8081

# PGSQL         Database Backend
launch+=gpgsql
gpgsql-host=127.0.0.1
gpgsql-port=5432
gpgsql-dbname=pdns
gpgsql-user=pdns
gpgsql-password=<removed>
gpgsql-dnssec=no

dnsupdate=yes