Knowledge Base ISC Main Website Ask a Question/Contact ISC
How does clients-per-query work?
Author: Evan Hunt Reference Number: AA-00463 Views: 97 Created: 2011-09-14 03:08 Last Updated: 2011-09-14 03:25 0 Rating/ Voters

Question:

How does clients-per-query work when named is running?

Answer:

A client in this scenario is a unique query that has been received by named and which should receive its own query response.  (Duplicate queries are identified and discarded)

named limits the number of clients that can simultaneously be querying for a particular name/type. The initial limit is "clients-per-query, which by default starts at 10. If 10 clients are already waiting for an answer for example.com/A, then the 11th client to ask for it is dropped.  When an answer finally arrives for example.com/A, the limit is raised by 5.

Later, if there's another name/type that builds up to 15 clients waiting for an answer, and a 16th comes in and gets dropped, then when an answer arrives for that name, the limit will be raised to 20, and so on.

This continues until the limit has reached "max-clients-per-query", which defaults to 100.

After a while if named is getting along successfully with 100, it will try lowering the limit back down to 99, then 98, and so on until it reaches the original 10.




© 2001-2017 Internet Systems Consortium

For assistance with problems and questions for which you have not been able to find an answer in our Knowledge Base, we recommend searching our community mailing list archives and/or posting your question there (you will need to register there first for your posts to be accepted). The bind-users and the dhcp-users lists particularly have a long-standing and active membership.

ISC relies on the financial support of the community to fund the development of its open source software products. If you would like to support future product evolution and maintenance as well having peace of mind knowing that our team of experts are poised to provide you with individual technical assistance whenever you call upon them, then please consider our Professional Subscription Support services - details can be found on our main website.

Feedback
  • There is no feedback for this article
Quick Jump Menu