custom script for saving a dns zone

Version 1.232


/usr/local/directadmin/scripts/custom/ environmental variables: A : list of a records CNAME : list of cname records MX : list of mx records NS : list of ns records PTR : list of ptr records SERIAL : the serial used in the zone EMAIL : authoritative email NS1 : authoritative ns zone. DOMAIN : domain name of the zone SERVER_IP : server IP A_TIME : ttl for A records CNAME_TIE : ttl for CNAME records NS_TIME : ttl for NS records PTR_TIME : ttl for PTR records A, CNAME, MX, NS and PTR will be url encoded arrays: eg: A: A="ftp=" a non zero return value from the script will output and text from stdout to the interface.

Interested to try DirectAdmin? Get a 30-day Free Trial!