Browse Source

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

tags/v2.0.0
Robin Thoni 3 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,7 +22,6 @@ SESSION_KEY=change_it
22 22
 
23 23
 DNS_HOSTMASTER=hostmaster.example.com
24 24
 DNS_NS1=ns1.example.com
25
-DNS_NS2=ns2.example.com
26 25
 DNS_TTL=600
27 26
 
28 27
 POSTGRES_DISABLED_SLAVE1=1

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

@@ -132,17 +132,17 @@ config-dir=/etc/powerdns
132 132
 #################################
133 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 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 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 148
 # default-zsk-algorithms  Default ZSK algorithms
@@ -458,7 +458,7 @@ setuid=pdns
458 458
 #################################
459 459
 # slave Act as a slave
460 460
 #
461
-# slave=no
461
+slave=yes
462 462
 
463 463
 #################################
464 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,7 +44,6 @@ $iface_add_reverse_record = true;
44 44
 // Predefined DNS settings
45 45
 $dns_hostmaster = 'DNS_HOSTMASTER';
46 46
 $dns_ns1 = 'DNS_NS1';
47
-$dns_ns2 = 'DNS_NS2';
48 47
 $dns_ttl = DNS_TTL;
49 48
 $dns_fancy = false;
50 49
 $dns_strict_tld_check = false;

Loading…
Cancel
Save