アットウィキロゴ

BIND named.conf

メニュー

//
// named.caching-nameserver.conf
//
// Provided by Red Hat caching-nameserver package to configure the
// ISC BIND named(8) DNS server as a caching only nameserver
// (as a localhost DNS resolver only).
//
// See /usr/share/doc/bind*/sample/ for example named configuration files.
//
// DO NOT EDIT THIS FILE - use system-config-bind or an editor
// to create named.conf - edits to this file will be lost on
// caching-nameserver package upgrade.
//
acl my-network {
            127.0.0.1/32;
            固定IPアドレス/32;
};

  options {
        directory       "/var/named";
        dump-file       "/var/named/data/cache_dump.db";
        statistics-file "/var/named/data/named_stats.txt";
        memstatistics-file "/var/named/data/named_mem_stats.txt";
        allow-transfer { セカンダリサーバIPアドレス; };
        recursion yes;
        version "BIND on MyDomain-JP";
  };

//認証キー設定
include "/etc/rndc.key";

controls {
         inet 127.0.0.1 port 953 allow { 127.0.0.1; };
       };

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

zone "0.0.127.IN-ADDR.ARPA" {
        type master;
        file "localhost.zone";
       };

zone "ドメイン名" {
        type master;
        file "ドメイン名.zone";

        allow-query { any; };
       };
最終更新:2009年07月06日 00:20
ツールボックス

下から選んでください:

新しいページを作成する
ヘルプ / FAQ もご覧ください。