Also read
viewtopic.php?f=15&t=19167=====================
Latest update (6.5.0.f-2013080701) have different approachs:
1. DNS Server config
- Change to template-based config
- For act dns server as 'master' need modified:
1.a. Bind/Named -> /home/bind/conf/defaults/named.acl.conf
from:
acl allow-transfer {
localhost;
};
to:
acl allow-transfer {
localhost;
xxx.xxx.xxx.xxx;
yyy.yyy.yyy.yyy;
};
1.b. DJBDns -> /home/djbdns/axfrdns/tcp
from:
# sample line: 1.2.3.4:allow,AXFR="heaven.af.mil/3.2.1.in-addr.arpa"
:deny
to:
# sample line: 1.2.3.4:allow,AXFR="heaven.af.mil/3.2.1.in-addr.arpa"
:deny
xxx.xxx.xxx.xxx:allow
yyy.yyy.yyy.yyy:allow
where xxx.xxx.xxx.xxx and yyy.yyy.yyy are secondary dns (usually as ns2 in 'dns settings' in panel)
And then restart your dns server with 'sh /script/restart-services'.
2. Web server
- Change ip-port to socket for php-fpm
- If user(s) use custom file for apache/nginx/lighttpd/phpini/php-fpm, so need adjustment their custom file.
For example:
- Previous /home/php-fpm/tpl/php53-fpm-pool.conf.tpl is:
...
[<?php echo $pool; ?>]
listen = 127.0.0.1:<?php echo $fpmport; ?>
...
and then change to:
...
[<?php echo $pool; ?>]
#listen = 127.0.0.1:<?php echo $fpmport; ?>
listen = /home/php-fpm/sock/<?php echo $user; ?>.sock
...
So, adjusment all custom.*.tpl files inside /home/<driver>/tpl (where <driver> is apache/nginx/lighttpd/php-fpm/phpini). If not have custom tpl files, no adjustment needed.