Allow transfer

ircman

Verified User
Joined
Feb 5, 2004
Messages
115
Location
The Hague, Netherlands
I want directadmin to add a line to the zones in the /etc/named.conf file.
like: allow transfer any.

Because my secondary and third nameserver need this option to get the zone info.

How do i make this ?

Cedric
 
Hello,

First copy the zone.conf file to the custom directory, edit the custom/zone.conf file then all new domains will use the new format:
Code:
cd /usr/local/directadmin/data/templates
cp zone.conf custom
cd custom
vi zone.conf #make any changes
John
 
Can this be done on a per domain basis without it getting overwritten with any changes?

Also, what would you use if you wanted to restrict transfers to certain ips?
 
Ok, so just to make this clear, that is only for newly created domains? And if that is the case, if I change the /etc/named.conf file that won't get overwritten?
 
Is you change the zone file it will add all new domains with this file.
You can make changes to your /etc/named.conf and it will not be overwritten with the old values.

if you want to restrict transfers just add:
allow-transfer{ ipaddress; };

Cedric
 
Back
Top