DA chroot named. DA support rock

meknow

Verified User
Joined
Sep 8, 2004
Messages
5
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.
 
"/var/named/chroot/var/named/domain.com.db"
But I need it to be
"/var/named/domain.com.db"


__________________________

Why does it need to be /var/named ?

Why don't the zone files stay in /var/named/chroot/var/named ?
 
It shouldn't be /var/named.That was my queston and DA support answered with solution.
Now zone files stay in /var/named/chroot/var/named ...

Not sure what was your quetion.
 
Back
Top