Browse Source

removed DNS_NS2; added default dns options in pdns; enabled slave mode by default

tags/v2.0.0
Robin Thoni 7 years ago
parent
commit
08fb129414
3 changed files with 4 additions and 6 deletions
  1. 0
    1
      env
  2. 4
    4
      pdns/config/pdns.conf
  3. 0
    1
      poweradmin/poweradmin-2.1.8/inc/config.inc.php

+ 0
- 1
env View File

22
 
22
 
23
 DNS_HOSTMASTER=hostmaster.example.com
23
 DNS_HOSTMASTER=hostmaster.example.com
24
 DNS_NS1=ns1.example.com
24
 DNS_NS1=ns1.example.com
25
-DNS_NS2=ns2.example.com
26
 DNS_TTL=600
25
 DNS_TTL=600
27
 
26
 
28
 POSTGRES_DISABLED_SLAVE1=1
27
 POSTGRES_DISABLED_SLAVE1=1

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

132
 #################################
132
 #################################
133
 # default-soa-mail  mail address to insert in the SOA record if none set in the backend
133
 # default-soa-mail  mail address to insert in the SOA record if none set in the backend
134
 #
134
 #
135
-# default-soa-mail=
135
+default-soa-mail=DNS_HOSTMASTER
136
 
136
 
137
 #################################
137
 #################################
138
 # default-soa-name  name to insert in the SOA record if none set in the backend
138
 # default-soa-name  name to insert in the SOA record if none set in the backend
139
 #
139
 #
140
-# default-soa-name=a.misconfigured.powerdns.server
140
+default-soa-name=DNS_NS1
141
 
141
 
142
 #################################
142
 #################################
143
 # default-ttl Seconds a result is valid if not set otherwise
143
 # default-ttl Seconds a result is valid if not set otherwise
144
 #
144
 #
145
-# default-ttl=3600
145
+default-ttl=DNS_TTL
146
 
146
 
147
 #################################
147
 #################################
148
 # default-zsk-algorithms  Default ZSK algorithms
148
 # default-zsk-algorithms  Default ZSK algorithms
458
 #################################
458
 #################################
459
 # slave Act as a slave
459
 # slave Act as a slave
460
 #
460
 #
461
-# slave=no
461
+slave=yes
462
 
462
 
463
 #################################
463
 #################################
464
 # slave-cycle-interval  Schedule slave freshness checks once every .. seconds
464
 # slave-cycle-interval  Schedule slave freshness checks once every .. seconds

+ 0
- 1
poweradmin/poweradmin-2.1.8/inc/config.inc.php View File

44
 // Predefined DNS settings
44
 // Predefined DNS settings
45
 $dns_hostmaster = 'DNS_HOSTMASTER';
45
 $dns_hostmaster = 'DNS_HOSTMASTER';
46
 $dns_ns1 = 'DNS_NS1';
46
 $dns_ns1 = 'DNS_NS1';
47
-$dns_ns2 = 'DNS_NS2';
48
 $dns_ttl = DNS_TTL;
47
 $dns_ttl = DNS_TTL;
49
 $dns_fancy = false;
48
 $dns_fancy = false;
50
 $dns_strict_tld_check = false;
49
 $dns_strict_tld_check = false;

Loading…
Cancel
Save