fix path in powerdns-configs (bind-path is a setting), fixes #574
This commit is contained in:
@@ -97,7 +97,8 @@ if($userinfo['change_serversettings'] == '1')
|
||||
'<VIRTUAL_GID_MAPS>' => $settings['system']['vmail_gid'],
|
||||
'<SSLPROTOCOLS>' => ($settings['system']['use_ssl'] == '1') ? 'imaps pop3s' : '',
|
||||
'<CUSTOMER_TMP>' => ($settings['system']['mod_fcgid_tmpdir'] != '') ? makeCorrectDir($settings['system']['mod_fcgid_tmpdir']) : '/tmp/',
|
||||
'<BASE_PATH>' => makeCorrectDir(dirname(__FILE__))
|
||||
'<BASE_PATH>' => makeCorrectDir(dirname(__FILE__)),
|
||||
'<BIND_CONFIG_PATH>' => makeCorrectDir($settings['system']['bindconf_directory'])
|
||||
);
|
||||
$files = '';
|
||||
$configpage = '';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
allow-axfr-ips=<NAMESERVERS>
|
||||
#local-ipv6=YOUR_IPv6_(if_any)
|
||||
bind-config=/etc/bind/named.conf
|
||||
bind-config=<BIND_CONFIG_PATH>named.conf
|
||||
bind-check-interval=180
|
||||
log-dns-details=yes
|
||||
local-address=<SERVERIP>,127.0.0.1
|
||||
|
||||
@@ -11,7 +11,7 @@ setgid=pdns
|
||||
setuid=pdns
|
||||
socket-dir=/var/run
|
||||
version-string=powerdns
|
||||
bind-config=/etc/bind/named.conf
|
||||
bind-config=<BIND_CONFIG_PATH>named.conf
|
||||
bind-check-interval=300
|
||||
include=/etc/powerdns/pdns_froxlor.conf
|
||||
|
||||
|
||||
@@ -6,5 +6,5 @@ launch=bind
|
||||
lazy-recursion=yes
|
||||
recursor=<IP DNSRECURSION>
|
||||
master=yes
|
||||
bind-config=/etc/namedb/froxlor_bind.conf
|
||||
bind-config=<BIND_CONFIG_PATH>froxlor_bind.conf
|
||||
bind-check-interval=180
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
allow-axfr-ips=<NAMESERVERS>
|
||||
#local-ipv6=YOUR_IPv6_(if_any)
|
||||
bind-config=/etc/bind/named.conf
|
||||
bind-config=<BIND_CONFIG_PATH>named.conf
|
||||
bind-check-interval=180
|
||||
log-dns-details=yes
|
||||
local-address=<SERVERIP>,127.0.0.1
|
||||
|
||||
@@ -11,7 +11,7 @@ setgid=pdns
|
||||
setuid=pdns
|
||||
socket-dir=/var/run
|
||||
version-string=powerdns
|
||||
bind-config=/etc/bind/named.conf
|
||||
bind-config=<BIND_CONFIG_PATH>named.conf
|
||||
bind-check-interval=300
|
||||
include=/etc/powerdns/pdns_froxlor.conf
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
allow-axfr-ips=<NAMESERVERS>
|
||||
#local-ipv6=YOUR_IPv6_(if_any)
|
||||
bind-config=/etc/bind/named.conf
|
||||
bind-config=<BIND_CONFIG_PATH>named.conf
|
||||
bind-check-interval=180
|
||||
log-dns-details=yes
|
||||
local-address=<SERVERIP>,127.0.0.1
|
||||
|
||||
@@ -11,7 +11,7 @@ setgid=pdns
|
||||
setuid=pdns
|
||||
socket-dir=/var/run
|
||||
version-string=powerdns
|
||||
bind-config=/etc/bind/named.conf
|
||||
bind-config=<BIND_CONFIG_PATH>named.conf
|
||||
bind-check-interval=300
|
||||
include=/etc/powerdns/pdns_froxlor.conf
|
||||
|
||||
|
||||
Reference in New Issue
Block a user