Batch-DNS Module
Batch-DNS simplifies adding any number of master or slave DNS domains for
a server running Bind 8.  It can chain to another instantiation of itself
on another server, so that after adding the master records, it can
automatically add slave records.  Any number of slave servers can be
chained in series to the master server. 

Installation:
-------------

Standard webmin Install places this module "Batch DNS Domain Addition"
into the "Others" tab. 

Module Configurations:
----------------------

- Master server                           (the master's name to be used in
                                          the zone records).
- Use specific email address?             (default or yes- "default" means
                                          "root@domain" will be used.     
- Non-default email address (optional)  
- Refresh time   (in sec.)
- Transfer retry time  (in sec.)
- Expiry Time   (in sec.)
- Default time-to-live  (in sec.)
- Chaining URL to add secondary DNS (optional) 

Chains the output of this module to Batch-DNS to create slave DNS records. 
This is done via a URL so that you can have Bind control master records on
one server, and slave records on another server, ideally in a different
network for added stability.

To construct the URL for accessing another server in a single step
(without having to fill in your username and password each time) you can
use the following URL template: 

http://username:password@domain.com:port/batch-dns/run.cgi

(where, of course, username, password, domain.com, and port are customized 
for your setup).

Usage:
------

Log into webmin, choose the "Others" tab, and choose "Batch DNS Domain
Addition." 

Choose whether the records should be master or slave.  To set up a domain,
you should start with master on one server, and then add slave on a second
server. 

Fill in the domain name or IP address that will host all of the following
domain name records.  This should be the IP or domain that will run Apache
or FTP or whatever other services you want to provide with the domains. 

Fill in the text field with as many domains as you like, one on a line.
Any valid hostname is fine. (eg., server2, terminator.movie.com, etc.)
Choose "Save".

The script will create a zone file for each domain, and add an appropriate
zone record to the "named.conf" file for each master or slave. 

You will see a count and list of the domains succesfully added; if there
were any problems, they will be listed separately. 

If you filled in a Chaining URL, you will see the option to "Add Slave
DNS". Choose this link to submit the list of successful additions to the
Batch-DNS module as Slave records.  You may have as many slaves as you
like, and each slave can be chained to the next via the chained URLs. 


   ------------------------------------------------------------------

    Webmin Batch-Apache and Batch-DNS Modules
    Copyright (C) 2000 Daniel R. Allen and Prescient Code Solutions
    Questions/comments/suggestions are welcome- please email daniel@coder.com

    This module is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License.