Scripting Help

Gregory Hicks ghicks at cadence.com
Tue Apr 19 16:06:57 UTC 2005


> Date: Sun, 17 Apr 2005 17:54:58 -0500
> Subject: Scripting Help
> From: Bill Heese <bheese at sbcglobal.net>
> To: <comp-protocols-dns-bind at isc.org>
> 
> I sorry if this is a littler off topic but...
> 
> My company recently acquired about 80 domains and I've been tasked with
> setting up DNS for these domains.
> 
> They will all point to the same IP address. Does any one know of a script
> that with help with setting up all of the domains without having to key 80
> new db files?

Please see these urls for some ideas.  Basically, you have ONE zone
file with multiple entries to that zone file in named.conf.  Each entry
has a different name but points to the same zone file.

Zone file: http://www.bleedingsnort.com/cgi-bin/viewcvs.cgi/blockeddomain.hosts?root=DNS-BH&rev=1.1.1.1&view=markup
named.conf: http://www.bleedingsnort.com/cgi-bin/viewcvs.cgi/spywaredomains.zones?root=DNS-BH&rev=1.30&view=markup

Hope that helps.

Regards,
Gregory Hicks

> 
> Thanks in Advance
> 
> Bill Heese
> Senior Macintosh LAN Administrator
> Conair Corporation
> 
> 
> 

-------------------------------------------------------------------
Gregory Hicks                        | Principal Systems Engineer
Cadence Design Systems               | Direct:   408.576.3609
555 River Oaks Pkwy M/S 6B1          | Fax:      408.894.3400
San Jose, CA 95134                   | Internet: ghicks at cadence.com

I am perfectly capable of learning from my mistakes.  I will surely
learn a great deal today.

"A democracy is a sheep and two wolves deciding on what to have for
lunch.  Freedom is a well armed sheep contesting the results of the
decision." - Benjamin Franklin

"The best we can hope for concerning the people at large is that they
be properly armed." --Alexander Hamilton




More information about the bind-users mailing list