Re: clients-per-query message is harmful or not?

2009-12-28 Thread Cathy Almond
MontyRee wrote:
>  
>  
> So thanks for your kind reply.
>  
> I'm curious the meaning of "given name".
> if clients query like below, 
>  
> # example.com zone 
>  
> abc.example.com/A
> www.abc.example.com/A
> exmaple.com/MX 

The above are all different

To be 'the same' both the label (e.g. abc.example.com) and the type
(e.g. 'MX') being queried need to match.

>  
> above queries are same query or diffferent one?
>  
> and is there any method that which 
> name queries are much?
>  
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


RE: clients-per-query message is harmful or not?

2009-12-28 Thread MontyRee

 
 
So thanks for your kind reply.
 
I'm curious the meaning of "given name".
if clients query like below, 
 
# example.com zone 
 
abc.example.com/A
www.abc.example.com/A
exmaple.com/MX 
 
above queries are same query or diffferent one?
 
and is there any method that which 
name queries are much?
 
 
Thanks in advance.
 
 
>>
>> Hello, all.
>>
>> my system is centos 4.x, bind 9.5.1-P3 and only recursion is allowed from 
>> some ranges.
>>
>> I can see lots of messages like below.
>> so if I didn't set any clients-per-query value,some clients' queries may be 
>> droppped or not?
>
> clients-per-query is designed to prevent the nameserver being
> overwhelmed by a given query that doesn't resolve. It sets the
> number of simultanious clients that are acutally recursing on a
> given name. It value is increased if there is a successful resolution
> of that query after dropping some clients then slowly decays over time.
> Note UDP clients are expected to retry.
>
> clients-per-query reflects how many clients ask for a busy name/type in
> the time it takes to resolve that name/type. If it takes 200 ms resolve
> the query and you need 20 clients-per-query then the name/type is being
> asked for around 100 times a second.
>
>> If some queries can be dropped,I want to set like "clients-per-query 0".
>
> You actually want to set clients-per-query to around 20 based on
> these logs, the default is 10.
>
>> 05-Oct-2009 16:04:46.228 resolver: notice: clients-per-query decreased to 14
>> 05-Oct-2009 16:14:47.337 resolver: notice: clients-per-query increased to 19
>> 05-Oct-2009 16:34:47.338 resolver: notice: clients-per-query decreased to 18
>> 05-Oct-2009 16:54:47.339 resolver: notice: clients-per-query decreased to 17
>> 05-Oct-2009 17:01:55.424 resolver: notice: clients-per-query increased to 22
>> 05-Oct-2009 20:20:26.252 resolver: notice: clients-per-query increased to 15
>> 05-Oct-2009 20:40:26.253 resolver: notice: clients-per-query decreased to 14
>> 05-Oct-2009 21:00:26.253 resolver: notice: clients-per-query decreased to 13
>> 05-Oct-2009 21:11:26.298 resolver: notice: clients-per-query increased to 15
>>
>>
>>
>> Thanks in advance.
> --
> Mark Andrews, ISC
> 1 Seymour St., Dundas Valley, NSW 2117, Australia
> PHONE: +61 2 9871 4742 INTERNET: ma...@isc.org
>   
_
새로운 Windows 7: 일상 작업을 단순화하세요. 여러분에게 맞는 최상의 PC를 찾으세요.
http://windows.microsoft.com/shop
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Re: clients-per-query message is harmful or not?

2009-12-22 Thread Mark Andrews

In message , MontyRee writes:
> 
> Hello, all.
>  
> my system is centos 4.x, bind 9.5.1-P3 and only recursion is allowed from 
> some ranges.
> 
> I can see lots of messages like below.
> so if I didn't set any clients-per-query value,some clients' queries may be 
> droppped or not? 

clients-per-query is designed to prevent the nameserver being
overwhelmed by a given query that doesn't resolve.  It sets the
number of simultanious clients that are acutally recursing on a
given name.  It value is increased if there is a successful resolution
of that query after dropping some clients then slowly decays over time.
Note UDP clients are expected to retry.

clients-per-query reflects how many clients ask for a busy name/type in
the time it takes to resolve that name/type.  If it takes 200 ms resolve
the query and you need 20 clients-per-query then the name/type is being
asked for around 100 times a second.

> If some queries can be dropped,I want to set like "clients-per-query 0".   

You actually want to set clients-per-query to around 20 based on
these logs, the default is 10.
 
> 05-Oct-2009 16:04:46.228 resolver: notice: clients-per-query decreased to 14
> 05-Oct-2009 16:14:47.337 resolver: notice: clients-per-query increased to 19
> 05-Oct-2009 16:34:47.338 resolver: notice: clients-per-query decreased to 18
> 05-Oct-2009 16:54:47.339 resolver: notice: clients-per-query decreased to 17
> 05-Oct-2009 17:01:55.424 resolver: notice: clients-per-query increased to 22
> 05-Oct-2009 20:20:26.252 resolver: notice: clients-per-query increased to 15
> 05-Oct-2009 20:40:26.253 resolver: notice: clients-per-query decreased to 14
> 05-Oct-2009 21:00:26.253 resolver: notice: clients-per-query decreased to 13
> 05-Oct-2009 21:11:26.298 resolver: notice: clients-per-query increased to 15
> 
>  
>  
> Thanks in advance.
-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: ma...@isc.org
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users