免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3696 | 回复: 1
打印 上一主题 下一主题

[DNS] 把bind升级到9.4.1-P1后出现问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-08-08 11:40 |只看该作者 |倒序浏览
我把dns升级到了9.4.1-P1之后,配置文件都一样,查询本DNS自己解析的域名可以正常查询,但查询其它域名的时候通过不了,有如下的提示,请各位给看一下:

08-Aug-2007 11:30:10.080 client 123.232.6.254#3599: query (cache) 'sina.com.cn/A/IN' denied
08-Aug-2007 11:30:33.562 client 123.232.6.254#3603: query (cache) 'sina.com.cn/A/IN' denied
08-Aug-2007 11:30:33.565 client 123.232.6.254#3604: query (cache) 'sina.com.cn/A/IN' denied
08-Aug-2007 11:43:51.681 client 123.232.6.254#3689: query (cache) 'sina.com.cn/A/IN' denied
08-Aug-2007 11:43:51.688 client 123.232.6.254#3690: query (cache) 'sina.com.cn/A/IN' denied


谢谢

论坛徽章:
1
荣誉版主
日期:2011-11-23 16:44:17
2 [报告]
发表于 2007-08-08 21:13 |只看该作者
新版本的BIND对 allow-query 有着不同的处理,新增加了一个 allow-query-cache 的选项。

allow-query Specifies which hosts are allowed to ask ordinary DNS questions. allow-query may also
be specified in the zone statement, in which case it overrides the options allow-query statement.
If not specified, the default is to allow queries from all hosts.

allow-query-cache Specifies which hosts are allowed to get answers from the cache. The default is the
builtin acls localnets and localhost.
The way to set query access to the cache is now via allow-query-cache. This differs from earlier
versions which used allow-query.


BIND 9.4 的手册上还特别注释了

allow-query-cache is now used to specify access to the cache.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP