看板FreeBSD
标 题Re: [问题] 架设 named 从外部查询出现 Query Refused
发信站小鹿鹿 BBS (Thu May 8 08:45:26 2008)
转信站ptt!ctu-reader!news.nctu!abpe.org
※ 引述《[email protected] (小州)》之铭言:
> ※ 引述《[email protected] (澎湖小云雀)》之铭言:
> > 感谢大大的提醒......
> > 让小弟找到方向去解决问题......
> > 原来 FreeBSD 的 BIND 是预设拒绝外界的查询......
> 哪时候 bind 预设是 allow-query { none; }; 了 ?
> http://www.bind9.net/manual/bind/9.3.2/Bv9ARM.ch06.html
FreeBSD 上的 bind 预设是拒绝外界查询没错,不是用 allow-query,而是用
listen-on:
18 // If named is being used only as a local resolver, this is a safe default.
19 // For named to be accessible to the network, comment this option, specify
20 // the proper IP address, or delete this option.
21 listen-on { 127.0.0.1; };
上面是 7.0 的 /usr/src/etc/named/named.conf。
--
Resistance is futile.
http://blog.gslin.org/ & <
[email protected]>
--
※ Origin: 邪恶小鹿鹿 <Deer.twbbs.org> ◆ From: 140.113.17.29