Re: General performance

2008-12-23 Thread Dawn Connelly
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.

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. :)

On Tue, Dec 23, 2008 at 8:36 PM, Scott Haneda  wrote:

> 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.
>
> From what I can gather, all the zones are the same, they all have 2 A
> records, pointing to the same IP address.
>
> 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?
>
> If not, it is not a huge deal, just a little more management to clean up
> additions and deletions and such.
>
> 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.
>
> 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?
>
> There is no recursion on these servers, they are just serving out zone
> data, no clients connect to these machines.
>
> Thanks
> --
> Scott
>
> ___
> bind-users mailing list
> bind-users@lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users
>



-- 
Google for President
YouTube for VP
in any year divisible by 4
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Re: General performance

2008-12-24 Thread Stephane Bortzmeyer
On Tue, Dec 23, 2008 at 08:36:36PM -0800,
 Scott Haneda  wrote 
 a message of 35 lines which said:

> 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?

No.

> Is it ok to point different domains to the same zone file?

Yes. 

http://www.bortzmeyer.org/identical-domains-with-bind.html
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: General performance

2008-12-24 Thread Mark Andrews

In message <20081224122500.ga13...@nic.fr>, Stephane Bortzmeyer writes:
> On Tue, Dec 23, 2008 at 08:36:36PM -0800,
>  Scott Haneda  wrote 
>  a message of 35 lines which said:
> 
> > 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?
> 
> No.
> 
> > Is it ok to point different domains to the same zone file?
> 
> Yes. 

On the master for the zones.  On the slave they needed
to be seperate files.
 
> http://www.bortzmeyer.org/identical-domains-with-bind.html
> ___
> bind-users mailing list
> bind-users@lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users
-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: mark_andr...@isc.org
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: General performance

2009-01-06 Thread Sam Wilson
In article ,
 Stephane Bortzmeyer  wrote:

> On Tue, Dec 23, 2008 at 08:36:36PM -0800,
>  Scott Haneda  wrote 
>  a message of 35 lines which said:
> 
> > 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?
> 
> No.
> 
> > Is it ok to point different domains to the same zone file?
> 
> Yes. 
> 
> http://www.bortzmeyer.org/identical-domains-with-bind.html

... whilst remembering that any slave server(s) will need to have 
separate files defined for each zone, though the creation is up to the 
nameserver - they don't have to be done manually.

Sam
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users