如何限制特定IP地址的DNS解析 - Linux

Table of Contents

※ 引述《yundy (qdfafd)》之銘言:
: 請教怎樣在 DNS SERVER配置
: 使得對于特定的ip,如10.2.2.2,對這個ip發起的DNS解析, server不返回任何信息。
: 謝謝。

BIND 可以在設定檔裡設權限, 譬如:

acl badguys { 10.2.2.2; }
options {
...
blackhole { badguys; };
...
}

詳細請看 http://www.isc.org/sw/bind/arm93/Bv9ARM.ch07.html

--

All Comments

Olive avatarOlive2008-09-26
謝謝,推~