From: White W. <whi...@wh...> - 2001-07-01 18:41:46
|
You may be better off using INCLUDE statements and including other files... You can also break down the information into multiple INCLUDE files so you could have several types of domain "template" like records. Records specific to each domain are just added to the file normally. It's a great way to update tons of domains to a new base IP, or IPs. Symlinking the domain may work, but, will not allow you to add any extra domain specific records. Plus, you can write the Include statement directly in webmin, where as you need to login via shell to add sylinks. Adding better support for INCLUDE in webmin would be a great help ;) -- Adam Goldstein White Wolf Networks Frank Altpeter wrote: >Hello Richard Teachout ! > >You wrote on 01.07.2001 05:16:22 -0500: > >>How could you design a domain zone file >>so this would work? >>for more than 1000 domains? for that matter >>2 or 3? >> >just don't write the domain name in the file itself. > >for example: >------------------------------------------------------ >@ IN SOA primary.nameserver.com hostmaster.domain.com. ( > 2001062901 ; > 28800 ; > 7200 ; > 604800 ; > 86400 ; > ) > > IN NS ns.domain.com. > IN NS ns2.domain.com. > IN MX 10 mail > IN MX 20 mail2 > >mail IN A 192.168.0.1 >mail2 IN A 192.168.0.2 >------------------------------------------------------- > >this would be a generic zone file. If this file has filename >"domain.com", the "@" in the beginning is substituted to it. >If you then symlink it to "otherdomain.com", this domain would have the >same information. >I use this for about 35000 domains on our company nameserver structure. > >>I'm fairly experienced with Linux, and run >>a number of servers and HUNDREDS of domains, >>and A file would make it quite a bit easier! >> >wow :) > >With kind regards, > > Frank Altpeter - Laird Of Glencairn > |