viewステートメントの使い方

|

どうも、上からアドレスマッピングをしていくらしく、 一番上のviewに "any" をやってしまうと、それがすべて有効になってしまう。

view "internal" {
        match-clients { 192.168.0.0/24; 127.0.0.1; };

zone "localhost" IN { type master; file "localhost.zone"; };

zone "0.0.127.in-addr.arpa" IN { type master; file "named.local"; };

zone "." IN { type hint; file "named.ca"; };

zone "example.local" IN { type master; file "data/db.example.local.internal"; }; };

view "external" { match-clients { any; }; recursion no;

zone "example.local" IN { type master; file "data/db.example.local"; }; };

このブログ記事について

このページは、くわぞうが2006年4月22日 16:42に書いたブログ記事です。

ひとつ前のブログ記事は「DynamicDNS」です。

次のブログ記事は「IPSec のしくみ」です。

最近のコンテンツはインデックスページで見られます。過去に書かれたものはアーカイブのページで見られます。

Powered by Movable Type 4.1