Hey, I'm working with ISPconfig for a long time now, and extremely happy with it . Currently running a multi-server setup running 3.1 on about 20 servers. For now, all my customers have been setup manually by me upon request and allocated to the different servers. what I now would like to accomplish is the modification of the IP field in the DNS template. I use only one template for all the servers as mail, etc etc is all setup on a single server. Websites however are divided among the different servers and one client can have access to multiple servers (locations). Can someone give me some pointers on how to make the DNS template so that it looks for the website's server and uses that IP for the A and AAAA records? Rein
A quick look at the substitutions in interface/web/dns/dns_wizard.php (starting line 473) there is {IP} and {IPV6} which would be the addrs you enter when adding the zone in the dns wizard; there is nothing for the web server ip specifically, but normally that would be what IP/IPV6 are set to.
I use this, with the fields: domain, ipv4, ipv6, dkim ticked in the template editor. [ZONE] origin={DOMAIN}. ns=ns1.domain.com.au. ns=ns2.domain.com.au. mbox=[email protected] refresh=7200 retry=540 expire=604800 minimum=3600 ttl=3600 [DNS_RECORDS] A|{DOMAIN}.|{IP}|0|3600 AAAA|{DOMAIN}.|{IP}|0|3600 A|www|{IP}|0|3600 AAAA|www|{IP}|0|3600 NS|{DOMAIN}.|ns1.domain.com.au.|0|3600 NS|{DOMAIN}.|ns2.domain.com.au.|0|3600 MX|{DOMAIN}.|mx10.domain.com.au.|10|3600 MX|{DOMAIN}.|mx20.domain.com.au.|20|3600 TXT|{DOMAIN}.|v=spf1 mx a ~all|0|3600