DNS日志
分页: 1/3 第一页 1 2 3 下页 最后页 [ 显示模式: 摘要 | 列表 ]
原因
服务器提供的递归查询的最大数量,导致不能提供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: ,

解决:dns has no NS records 不指定

root , 2009/09/22 00:15 , DNS , 评论(0) , 阅读(33380) , Via 本站原创
参加文章
http://blog.tianya.cn/blogger/post_show.asp?idWriter=571320&Key=834795970&BlogID=311462&PostID=14425741
配置完毕运行:
/usr/sbin/named -u named -gc /etc/named.conf

提示
引用

...................
Nov 27 13:17:58 dns named[1966]: zone localhost.zone/IN: has no NS records
Nov 27 13:17:58 dns named[1966]: zone named.local/IN: has no NS records
Nov 27 13:17:58 dns named[1966]: zone hk.hn/IN: has no NS records
...................

引用

解决方法:
原因为直接copy web上的配置文件,配置文件中的NS行没有空格或tab,添加上一个tab就可以了。
如"IN NS localhost".换成" IN NS localhost."即可。
Tags: ,
分页: 1/3 第一页 1 2 3 下页 最后页 [ 显示模式: 摘要 | 列表 ]