fix path in powerdns-configs (bind-path is a setting), fixes #574

This commit is contained in:
Michael Kaufmann (d00p)
2011-02-01 21:24:47 +00:00
parent 72af7c600f
commit 9cb64e34dc
8 changed files with 9 additions and 8 deletions

View File

@@ -97,7 +97,8 @@ if($userinfo['change_serversettings'] == '1')
'<VIRTUAL_GID_MAPS>' => $settings['system']['vmail_gid'], '<VIRTUAL_GID_MAPS>' => $settings['system']['vmail_gid'],
'<SSLPROTOCOLS>' => ($settings['system']['use_ssl'] == '1') ? 'imaps pop3s' : '', '<SSLPROTOCOLS>' => ($settings['system']['use_ssl'] == '1') ? 'imaps pop3s' : '',
'<CUSTOMER_TMP>' => ($settings['system']['mod_fcgid_tmpdir'] != '') ? makeCorrectDir($settings['system']['mod_fcgid_tmpdir']) : '/tmp/', '<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 = ''; $files = '';
$configpage = ''; $configpage = '';

View File

@@ -1,6 +1,6 @@
allow-axfr-ips=<NAMESERVERS> allow-axfr-ips=<NAMESERVERS>
#local-ipv6=YOUR_IPv6_(if_any) #local-ipv6=YOUR_IPv6_(if_any)
bind-config=/etc/bind/named.conf bind-config=<BIND_CONFIG_PATH>named.conf
bind-check-interval=180 bind-check-interval=180
log-dns-details=yes log-dns-details=yes
local-address=<SERVERIP>,127.0.0.1 local-address=<SERVERIP>,127.0.0.1

View File

@@ -11,7 +11,7 @@ setgid=pdns
setuid=pdns setuid=pdns
socket-dir=/var/run socket-dir=/var/run
version-string=powerdns version-string=powerdns
bind-config=/etc/bind/named.conf bind-config=<BIND_CONFIG_PATH>named.conf
bind-check-interval=300 bind-check-interval=300
include=/etc/powerdns/pdns_froxlor.conf include=/etc/powerdns/pdns_froxlor.conf

View File

@@ -6,5 +6,5 @@ launch=bind
lazy-recursion=yes lazy-recursion=yes
recursor=<IP DNSRECURSION> recursor=<IP DNSRECURSION>
master=yes master=yes
bind-config=/etc/namedb/froxlor_bind.conf bind-config=<BIND_CONFIG_PATH>froxlor_bind.conf
bind-check-interval=180 bind-check-interval=180

View File

@@ -1,6 +1,6 @@
allow-axfr-ips=<NAMESERVERS> allow-axfr-ips=<NAMESERVERS>
#local-ipv6=YOUR_IPv6_(if_any) #local-ipv6=YOUR_IPv6_(if_any)
bind-config=/etc/bind/named.conf bind-config=<BIND_CONFIG_PATH>named.conf
bind-check-interval=180 bind-check-interval=180
log-dns-details=yes log-dns-details=yes
local-address=<SERVERIP>,127.0.0.1 local-address=<SERVERIP>,127.0.0.1

View File

@@ -11,7 +11,7 @@ setgid=pdns
setuid=pdns setuid=pdns
socket-dir=/var/run socket-dir=/var/run
version-string=powerdns version-string=powerdns
bind-config=/etc/bind/named.conf bind-config=<BIND_CONFIG_PATH>named.conf
bind-check-interval=300 bind-check-interval=300
include=/etc/powerdns/pdns_froxlor.conf include=/etc/powerdns/pdns_froxlor.conf

View File

@@ -1,6 +1,6 @@
allow-axfr-ips=<NAMESERVERS> allow-axfr-ips=<NAMESERVERS>
#local-ipv6=YOUR_IPv6_(if_any) #local-ipv6=YOUR_IPv6_(if_any)
bind-config=/etc/bind/named.conf bind-config=<BIND_CONFIG_PATH>named.conf
bind-check-interval=180 bind-check-interval=180
log-dns-details=yes log-dns-details=yes
local-address=<SERVERIP>,127.0.0.1 local-address=<SERVERIP>,127.0.0.1

View File

@@ -11,7 +11,7 @@ setgid=pdns
setuid=pdns setuid=pdns
socket-dir=/var/run socket-dir=/var/run
version-string=powerdns version-string=powerdns
bind-config=/etc/bind/named.conf bind-config=<BIND_CONFIG_PATH>named.conf
bind-check-interval=300 bind-check-interval=300
include=/etc/powerdns/pdns_froxlor.conf include=/etc/powerdns/pdns_froxlor.conf