Re: [問題] 架設 named 從外部查詢出現 Query Refused
※ 引述《kenduest.bbs@bbs.sayya.org (小州)》之銘言:
> ※ 引述《BioStar.bbs@micro.bio.ncue.edu.tw (澎湖小雲雀)》之銘言:
> > 感謝大大的提醒......
> > 讓小弟找到方向去解決問題......
> > 原來 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/ & <gslin@gslin.org>
--
※ Origin: 邪惡小鹿鹿 <Deer.twbbs.org> ◆ From: 140.113.17.29
討論串 (同標題文章)
完整討論串 (本文為第 6 之 6 篇):
FreeBSD 近期熱門文章
PTT數位生活區 即時熱門文章
125
129