ISPmanager default DNS template
Hello all,
I would like to create my own template for DNS zone files (cname records, TTLs,...etc.). I've found http://forum.ispsystem.com/en/showth...+zone+template but there is no domainzone.templ file on my server. Can I get some advise on how to create my own DNS template? TIA, 300 |
See http://en.ispdoc.com/index.php/Confi...s_(ISPmanager)
You need create a new file in the /usr/local/ispmgr/etc/ folder. Lines from this file will be add to new zone file. |
Thanx.
I have tried that, but it doesnt realy work. My domainzone.templ content is: www IN CNAME webs.somedomain ftp IN CNAME ftps.somedomain When I add a domain, the domain zone file (example.com) is like: cat domainzone.templ >> /etc/bind/example.com echo 'example.com. IN TXT "v=spf1 ip4:<IP> a mx ~all"' >> /etc/bind/example.com It does not have standard TTL, SOA and other information...and TXT record is still added. Is there some additional info about what variables can I use in domainzone.templ (or just __IP__, __NAME__)? I have to get rid of the TXT record and add my own CNAME records... If there is some "after new zone creation" hook, I could call my own script to set this up. Thank you for helping me out! Regards, 300 |
www and ftp presents in DefaultARecords. You should to edit ispmgr.conf and remove it first. Set DefaultARecords to something like this:
Code:
DefaultARecords mail smtp pop Also you should to add your SOA and TTL information to domainzone.templ. __IP__, __NAME__ are macroses that you can use, and there are no another macros in domainzone.templ. |
All times are GMT +2. The time now is 02:52 AM. |
Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.