Re: no. of Views and Zones

2010-11-04 Thread Alans

On 10/31/2010 4:48 AM, Alans wrote:
Have 2 questions, is there any limitation (beside hardware) on number of
views? I mean creating a view/customer?
And is there any limitation for number of zones/view?


Since I didn't got exact answer for my questions, I was thinking if you 
can tell what is your largest number of views and zones that you used so 
far?


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


Re: no. of Views and Zones

2010-11-04 Thread Alan Clegg
On 11/4/2010 12:22 AM, Alans wrote:
>> On 10/31/2010 4:48 AM, Alans wrote:
>> Have 2 questions, is there any limitation (beside hardware) on number of
>> views? I mean creating a view/customer?
>> And is there any limitation for number of zones/view?
> 
> Since I didn't got exact answer for my questions, I was thinking if you
> can tell what is your largest number of views and zones that you used so
> far?

sizeof(zone data) * count(views) -> memory required

If you have enough memory, you can support whatever you need.  Again, I
think there's a better solution out there than bunches of views.

AlanC



signature.asc
Description: OpenPGP digital signature
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

multi-master configuration?

2010-11-04 Thread Jiann-Ming Su
How does multi-master configuration work?  The scenario I have is three ISC 
DHCP 
servers configured for dynamic DNS, which also act as primary for the dynamic 
zone (dyn.mydomain.com):

zone "dyn.mydomain.com" {  
type master;
file "ddb.dyn.mydomain.com";
allow-update { key DHCP_UPDATER; };
};

These three dhcp/dns servers do not respond to DNS queries.  My infrastructure 
DNS consists of a DNS master (192.168.25.1) that is a slave for 
dyn.mydomain.com:

zone "dyn.mydomain.com" {
type slave;
file "ddb.dyn.mydomain.com";
masters { 172.30.8.0; };
};

Obviously, I only have a single master listed above.  I know I'll have to list 
the other two, and set "multi-master yes".  

The secondary servers that actually handle user dns requests slave to the 
master 
(192.168.25.1):

zone "dyn.mydomain.com" {
type slave;
file "ddb.dyn.mydomain.com";
masters { 192.168.25.1; };
};

So, to clarify my question.  When I add the other two dhcp servers to the 
masters{} list and set "multi-master yes" will this allow all three dhcp 
servers 
to update the dyn.mydomain.com zone?  If so, do the three dhcp servers also 
update each other? 

Thanks for any insight.


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


Re: BIND - Declare variable?

2010-11-04 Thread Chris Buxton
No. You can set a path in named.conf with the options { directory ...; }; 
statement, but that single path applies to all unqualified paths in named.conf.

You could, however, write this:

options {
directory "/var/named";
};

logging {
channel config_log {
file "log/config" [...];
};
channel database_log {
file "log/database" [...];
};
};

Your directory structure might include a symlink at /var/named/log pointing to 
/var/log/dns.

Regards,
Chris Buxton
BlueCat Networks

On Nov 3, 2010, at 11:13 AM, Mike Cavanagh wrote:

> I do not think this is possible, but would like to confirm.
> I would like to declar a variable, and then use that variable elsewhere 
> within the named.conf file.
>  
> I have multiple “channel” definitions with “file” options.  I want a variable 
> for the path so I can change it once and update all entries:
> Example:
> channel config_log {
> file "/var/log/dns/config"
> versions 7
> size 20m
> ;
> channel config_log {
> file "/var/log/dns/config"
> versions 7
> size 20m
> ;
>  
> I would like:
> FQPN=/var/log/dns
> channel config_log (
> File “$FQPN/config”
> Version 7
> Size 20m
> ;
> channel database_log {
> file “$FQPN/database"
> versions 7
> size 20m
> ;
>  
> Obviously, I could take it even further with the version and size parameters. 
>  It would be great to reduce this down to:
> FQPN=/var/log/dns
> Ch_Opts=Version 7 Size 20m
>  
> channel config_log (
> File “$FQPN/config” $Ch_Opts ;
> channel database_log {
> file “$FQPN/database" $Ch_Opts ;
>  
> Thanks,
> Mike C
>  
> ___
> bind-users mailing list
> bind-users@lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users

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

Re: multi-master configuration?

2010-11-04 Thread Chris Buxton
On Nov 4, 2010, at 8:38 PM, Jiann-Ming Su wrote:
> So, to clarify my question.  When I add the other two dhcp servers to the 
> masters{} list and set "multi-master yes" will this allow all three dhcp 
> servers 
> to update the dyn.mydomain.com zone?  If so, do the three dhcp servers also 
> update each other? 

No, this won't work with BIND. It just doesn't work this way. If you try it, 
you will have three completely different and unrelated versions of the same 
zone. There's no way for a slave to try to integrate the data, either.

Create a single hidden master name server. Configure al three DHCP servers to 
update it. Or create three separate zones, one per DHCP server.

Regards,
Chris Buxton
BlueCat Networks
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users