Re: Performance Tuning RHEL 5 and Bind

2013-10-19 Thread sthaug
> I need to build a pair DNS cache servers to support 5000+ clients (
> PC's and Servers ).  I have been looking for some guides on tuning
> BIND and the OS for Enterprise performance rather than the defaults.
> The version of bind is bind-9.8.2.

5000 clients is such a low number that I don't think you need to worry
about tuning at all.

Steinar Haug, Nethelp consulting, sth...@nethelp.no
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

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


Re: Performance Tuning RHEL 5 and Bind

2013-10-19 Thread brett smith
When all the Windows PC's are switched to our resolver, bind stops responding.
rndc querylog shows queries coming thru, I changed  tcp-clients from
1000 to 1 but DNS seems lagging, so we switched back to the
original Windows Domain resolver. Besides increasing open files
tuning, what TCP / sysctl or named.conf settings can be set to
optimize / speed up DNS queries? Because it seems that Windows clients
use TCP instead of UDP when looking at netstat on the server.

Thanks. Brett.

On Sat, Oct 19, 2013 at 3:20 AM,   wrote:
>> I need to build a pair DNS cache servers to support 5000+ clients (
>> PC's and Servers ).  I have been looking for some guides on tuning
>> BIND and the OS for Enterprise performance rather than the defaults.
>> The version of bind is bind-9.8.2.
>
> 5000 clients is such a low number that I don't think you need to worry
> about tuning at all.
>
> Steinar Haug, Nethelp consulting, sth...@nethelp.no
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

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


Re: Performance Tuning RHEL 5 and Bind

2013-10-19 Thread Steven Carr
On 20 October 2013 02:34, brett smith  wrote:
> When all the Windows PC's are switched to our resolver, bind stops responding.
> rndc querylog shows queries coming thru, I changed  tcp-clients from
> 1000 to 1 but DNS seems lagging, so we switched back to the
> original Windows Domain resolver. Besides increasing open files
> tuning, what TCP / sysctl or named.conf settings can be set to
> optimize / speed up DNS queries? Because it seems that Windows clients
> use TCP instead of UDP when looking at netstat on the server.

It will depend on the type and size of the query (and on the
configuration/structure of the network in-between) as to whether
Windows uses UDP or is forced to switch to TCP.

But the option you are probably looking for is "recursive-clients" and
then pick a number. The default is 1000, so this is probably why if
all of your systems are querying at once it stops responding to some
of them.

Other than that it's a case of how much memory, CPU. Is it a VM? if so
have you reserved enough resources for it? What data is it serving?
caching only? authoritative for any zones? Is query logging enabled?
(this is a big performance hit as it has to write everything to disk,
so your disk is going to be a bottleneck).

Tuning is not something that you can be told "this is what to do",
there are a huge number of factors that will influence which
parameters to tweak. But I'd definitely look to the
"recursive-clients" option for starters.

Steve
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

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