Browse Source

added variables

tags/v1.2.0^0
Robin Thoni 8 years ago
parent
commit
478d3e954f
4 changed files with 20 additions and 5 deletions
  1. 5
    0
      env
  2. 5
    5
      pdns/config/pdns.conf
  3. 5
    0
      pdns/vars-vars
  4. 5
    0
      poweradmin/vars-vars

+ 5
- 0
env View File

6
 PDNS_RECURSOR_HOST=pdns-recursor.pdns.internal.docker
6
 PDNS_RECURSOR_HOST=pdns-recursor.pdns.internal.docker
7
 PDNS_API_KEY=change_it
7
 PDNS_API_KEY=change_it
8
 PDNS_WEBSERVER_PASSWORD=change_it
8
 PDNS_WEBSERVER_PASSWORD=change_it
9
+PDNS_ALLOW_AXFR_IPS=127.0.0.1,172.0.0.0/8,192.168.0.0/16
10
+PDNS_ALLOW_RECURSION=127.0.0.1,172.0.0.0/8,192.168.0.0/16
11
+PDNS_ALSO_NOTIFY=
12
+PDNS_ALLOW_NOTIFY_FROM=0.0.0.0/0,::/0
13
+PDNS_ALLOW_DNSUPDATE_FROM=127.0.0.0/8,::1
9
 
14
 
10
 SESSION_KEY=change_it
15
 SESSION_KEY=change_it
11
 
16
 

+ 5
- 5
pdns/config/pdns.conf View File

7
 #################################
7
 #################################
8
 # allow-axfr-ips  Allow zonetransfers only to these subnets
8
 # allow-axfr-ips  Allow zonetransfers only to these subnets
9
 #
9
 #
10
-allow-axfr-ips=127.0.0.1,172.0.0.0/8,192.168.0.0/16
10
+allow-axfr-ips=PDNS_ALLOW_AXFR_IPS
11
 
11
 
12
 #################################
12
 #################################
13
 # allow-dnsupdate-from  A global setting to allow DNS updates from these IP ranges.
13
 # allow-dnsupdate-from  A global setting to allow DNS updates from these IP ranges.
14
 #
14
 #
15
-# allow-dnsupdate-from=127.0.0.0/8,::1
15
+allow-dnsupdate-from=PDNS_ALLOW_DNSUPDATE_FROM
16
 
16
 
17
 #################################
17
 #################################
18
 # allow-notify-from Allow AXFR NOTIFY from these IP ranges. If empty, drop all incoming notifies.
18
 # allow-notify-from Allow AXFR NOTIFY from these IP ranges. If empty, drop all incoming notifies.
19
 #
19
 #
20
-# allow-notify-from=0.0.0.0/0,::/0
20
+allow-notify-from=PDNS_ALLOW_NOTIFY_FROM
21
 
21
 
22
 #################################
22
 #################################
23
 # allow-recursion List of subnets that are allowed to recurse
23
 # allow-recursion List of subnets that are allowed to recurse
24
 #
24
 #
25
-allow-recursion=127.0.0.1,172.0.0.0/8,192.168.0.0/16
25
+allow-recursion=PDNS_ALLOW_RECURSION
26
 
26
 
27
 #################################
27
 #################################
28
 # allow-unsigned-notify Allow unsigned notifications for TSIG secured domains
28
 # allow-unsigned-notify Allow unsigned notifications for TSIG secured domains
37
 #################################
37
 #################################
38
 # also-notify When notifying a domain, also notify these nameservers
38
 # also-notify When notifying a domain, also notify these nameservers
39
 #
39
 #
40
-# also-notify=
40
+also-notify=PDNS_ALSO_NOTIFY
41
 
41
 
42
 #################################
42
 #################################
43
 # any-to-tcp  Answer ANY queries with tc=1, shunting to TCP
43
 # any-to-tcp  Answer ANY queries with tc=1, shunting to TCP

+ 5
- 0
pdns/vars-vars View File

6
 PDNS_RECURSOR_HOST
6
 PDNS_RECURSOR_HOST
7
 PDNS_API_KEY
7
 PDNS_API_KEY
8
 PDNS_WEBSERVER_PASSWORD
8
 PDNS_WEBSERVER_PASSWORD
9
+PDNS_ALLOW_AXFR_IPS
10
+PDNS_ALLOW_RECURSION
11
+PDNS_ALSO_NOTIFY
12
+PDNS_ALLOW_NOTIFY_FROM
13
+PDNS_ALLOW_DNSUPDATE_FROM
9
 
14
 
10
 SESSION_KEY
15
 SESSION_KEY
11
 
16
 

+ 5
- 0
poweradmin/vars-vars View File

6
 PDNS_RECURSOR_HOST
6
 PDNS_RECURSOR_HOST
7
 PDNS_API_KEY
7
 PDNS_API_KEY
8
 PDNS_WEBSERVER_PASSWORD
8
 PDNS_WEBSERVER_PASSWORD
9
+PDNS_ALLOW_AXFR_IPS
10
+PDNS_ALLOW_RECURSION
11
+PDNS_ALSO_NOTIFY
12
+PDNS_ALLOW_NOTIFY_FROM
13
+PDNS_ALLOW_DNSUPDATE_FROM
9
 
14
 
10
 SESSION_KEY
15
 SESSION_KEY
11
 
16
 

Loading…
Cancel
Save