View Full Version : Allow transfer
ircman
02-10-2004, 07:16 AM
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
DirectAdmin Support
02-10-2004, 08:55 AM
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:
cd /usr/local/directadmin/data/templates
cp zone.conf custom
cd custom
vi zone.conf #make any changes
John
prophecy
02-18-2004, 11:29 PM
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?
prophecy
02-19-2004, 12:04 AM
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?
ircman
02-19-2004, 05:34 AM
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
vBulletin® v3.8.4, Copyright ©2000-2010, Jelsoft Enterprises Ltd.