customize dns template

1 post / 0 new
#1 Fri, 08/18/2006 - 08:11
pesja

customize dns template

Hello,

I want to customize my dns template. This is because I want for every domain an extra a record => local.test.com at 127.0.0.1.

Also I want that in every by VirtualMin Pro created domain the nameservers are the same e.g.:

ns1.test.com ns2.test.com

So a standard domain file of will look like this:

$ttl 38400 morehost.be. IN SOA ns1.test.com admin.test.com. ( 2006081802 14400 3600 604800 38400 ) @ IN NS ns1.anyhost.nl. morehost.be. IN NS ns2.test.com morehost.be. IN A 193.173.121.52 www.morehost.be. IN A 193.173.121.52 ftp.morehost.be. IN A 193.173.121.52 mail.morehost.be. IN A 193.173.121.52 localhost.morehost.be. IN A 127.0.0.1 morehost.be. IN MX 10 mail.morehost.be.

Because I don't want to change the original dns-template I want to create a new on and put that into the DNS-BIND section of the Server Template (of VirtualMin Pro)

How do I put that into this section? (I want NOT add dns records, but fully replace them as I have that choice in this section)