[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[debian-users:31415] Bind9  View 機能
- From: Tomoo Nomura <nomurat@xxxxxxxxx>
- Subject: [debian-users:31415] Bind9  View 機能
- Date: Sun, 13 Jan 2002 04:15:57 +0900
- Organization: Nomura Technical Management Office Ltd.,
- X-accept-language: ja, en-us, de-de, fr, es-es
- X-ml-info: If you have a question, send e-mail with the body	"help" (without quotes) to the address debian-users-ctl@debian.or.jp;	help=<mailto:debian-users-ctl@debian.or.jp?body=help>
- X-ml-name: debian-users
- X-mlserver: fml [fml 3.0pl#17]; post only (only members can post)
- Message-id: <3C408B91.1030504@xxxxxxxxx>
- X-mail-count: 31415
- User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.7+) Gecko/20011230
こんにちは。
Bind9のView機能について、ご存知の方がおられたら、お教えいただけませんか?
View "Internal" と View "External" を設定し、その中に外向けのIPと内向け
のIPを同一のzone名で設定いたしました。
view "internal " {
     match-clients { 192.168.1.0 ; } ;
     recursion yes ;
     zone "aaa.co.jp" {
        type master ;
        file "/etc/bind/db.aaa.local" ;
        allow-transfer { 192.168.1.2 ; } ;
     } ;
} ;
view "external" {
     match-clients { !192.168.1.0 ; 0.0.0.0/0 ; } ;
     recursion no ;
     zone "aaa.co.jp" {
        type master ;
        file "/etc/bind/db.aaa.global" ;
        allow-transfer { 192.168.1.2 ; } ;
     } ;
} ;
さて、問題は192.168.1.2のsecondary dnsなんですが、zone transferを受け、
slaveとして上記と同じzoneを提供しようとしているのですが、internalと
externalのtransferされてzoneの区別がつかなく、両方ともinternalのアドレス
を返してしまうようです。
多分、externalのmatch-slientsとallow-tranferの関係に問題があり、external
のzoneがうまく渡っていないのでは?と推測しています。
どのように解決すればよろしいでしょうか?
野村
-- 
****** Nomura Technical Management Office Ltd. *****************
 Tomoo Nomura      nomura@xxxxxxxxx       http://www.tmo.co.jp/
    Phone: +81-78-797-0240 Fax: +81-78-797-0241 @nifty:GBH12257
 Worldwide Airline Timetable 'Flight Planner'
 European Electronic Timetable 'HAFAS'         ValueFax Support
****************************************************************