Wow. I'm impressed.
I ask question through e-mail but didn't expect answer. Well, I got reply less than 24 hours with very simple and clear solution.
I thnk DA has best technical support in control panel industry.
For those who have same trouble.
Q:
I secure DNS as chroot. Changed directadmin.conf as
namedconfig=/var/named/chroot/etc/named.conf
nameddir=/var/named/chroot/var/named
Everything working fine but when I add new domain named.conf add domain db file as
"/var/named/chroot/var/named/domain.com.db"
But I need it to be
"/var/named/domain.com.db"
to make chroot DNS working. What did I miss?
A:
cd /usr/local/directadmin/data/templates
cp zone.conf custom
cd custom
# edit the custom zone.conf and change:
zone "|DOMAIN|" { type master; file "|PATH|/|DOMAIN|.db"; };
to
zone "|DOMAIN|" { type master; file "/var/named/|DOMAIN|.db"; };
From John.
Thanks you John. You saved my day.
I ask question through e-mail but didn't expect answer. Well, I got reply less than 24 hours with very simple and clear solution.
I thnk DA has best technical support in control panel industry.
For those who have same trouble.
Q:
I secure DNS as chroot. Changed directadmin.conf as
namedconfig=/var/named/chroot/etc/named.conf
nameddir=/var/named/chroot/var/named
Everything working fine but when I add new domain named.conf add domain db file as
"/var/named/chroot/var/named/domain.com.db"
But I need it to be
"/var/named/domain.com.db"
to make chroot DNS working. What did I miss?
A:
cd /usr/local/directadmin/data/templates
cp zone.conf custom
cd custom
# edit the custom zone.conf and change:
zone "|DOMAIN|" { type master; file "|PATH|/|DOMAIN|.db"; };
to
zone "|DOMAIN|" { type master; file "/var/named/|DOMAIN|.db"; };
From John.
Thanks you John. You saved my day.