You can make a single generic file and reference that one file repeatedly in the named.conf in each zone definition. I do that frequently for private IP address space. But keep in mind that if there are any errors in the file, you loose EVERYTHING. You can also consider using "INCLUDE" statements if you wanted. You can create a single file that all of the individual zone files reference for data. You still have the upfront expense of creating individual zone files for each domain..but it does give you the flexibility to create unique records for any given domain without it populating in all domains. Just a thought.<br>
<br>The number of zones is only really going to effect your performance when the named.conf file has to be read in anew. It has to load each zone individually.  The bigger concern you are going to have regarding what kind of hardware you want to get is going to be based on the number of queries the machine is going to have to answer at any one time. I don't have any hard and fast formulas for calcuting that out but I'm sure there are others on this list that do. Hopefully someone will cough one up. I wouldn't mind seeing that myself. :)<br>
<br><div class="gmail_quote">On Tue, Dec 23, 2008 at 8:36 PM, Scott Haneda <span dir="ltr"><<a href="mailto:talklists@newgeo.com">talklists@newgeo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello, I am working with a client of mine, who jumped right into developing a backend system for managing his arsenal of sites.  I am not entirely sure what he is up to, but there is potential to have to add in 50,000 zones.<br>

<br>
>From what I can gather, all the zones are the same, they all have 2 A records, pointing to the same IP address.<br>
<br>
First, if I learn it is in fact true that all 50K zones will be identical, is there any reason to make 50K zone files? Is it ok to point different domains to the same zone file?<br>
<br>
If not, it is not a huge deal, just a little more management to clean up additions and deletions and such.<br>
<br>
What type of hardware am I going to need CPU wise to deal with this many domains?  Currently, I have been managing cases in which a few thousand seem to be no big deal, on minimal hardware, something like a Mac Mini at times.<br>

<br>
Does upping the qty of domains and zones a few orders of magnitude cause any issues?  Or does it all come back to how many lookups per second are happening?<br>
<br>
There is no recursion on these servers, they are just serving out zone data, no clients connect to these machines.<br>
<br>
Thanks<br><font color="#888888">
--<br>
Scott<br>
<br>
_______________________________________________<br>
bind-users mailing list<br>
<a href="mailto:bind-users@lists.isc.org" target="_blank">bind-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/bind-users" target="_blank">https://lists.isc.org/mailman/listinfo/bind-users</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Google for President<br>YouTube for VP<br>in any year divisible by 4<br><br>