标题:解决:DNS服务器不能提供服务("quota reached") 出处:运维进行时 时间:Thu, 08 Oct 2009 00:17:28 +0000 作者:root 地址:https://www.liuts.com/post/168/ 内容: 原因 服务器提供的递归查询的最大数量,导致不能提供DNS解析服务。 解决方法 在/etc/named.conf文件中的“options”中加入下面一行信息: recursive-clients 1000000; 然后重新启动named即可 DNS and Bind的相关的内容 引用 Limiting the number of clientsBIND 9 gives you the ability to restrict the number of clients your name server will serve concurrently. You can apply a limit to the number of recursive clients (resolvers plus name servers using your name server as a forwarder) with the recursive-clients substatement: options { recursive-clients 10; }; The default limit is 1000. If you find your name server refusing recursive queries and logging, as shown by an error message like this one: Sep 22 02:26:11 terminator named[13979]: client 192.249.249.151#1677: no more recursive clients: quota reached you may want to increase the limit. Conversely, if you find your name server struggling to keep up with the deluge of recursive queries it receives, you could lower the limit. You can also apply a limit to the number of concurrent TCP connections your name server will process (for zone transfers and TCP-based queries) with the tcp-clients substatement. TCP connections consume considerably more resources than UDP because the host needs to track the state of the TCP connection. The default limit is 100. Generated by Bo-blog 2.1.1 Release