解决:DNS服务器不能提供服务("quota reached") 不指定

root , 2009/10/08 00:17 , DNS , 评论(1) , 阅读(35177) , Via 本站原创 | |
原因
服务器提供的递归查询的最大数量,导致不能提供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.
Tags: ,
变压器 Email
2014/08/09 14:41
有用,收藏了
分页: 1/1 第一页 1 最后页
发表评论

昵称

网址

电邮

打开HTML 打开UBB 打开表情 隐藏 记住我 [登入] [注册]