linux dns 配置

// Default named.conf generated by install of bind-9.2.4-30.el4
options {
        directory "/var/named";
        dump-file "/var/named/data/cache_dump.db";
        statistics-file "/var/named/data/named_stats.txt";
        pid-file "/var/run/named/named.pid";
        allow-query    { any; };
        allow-transfer { none; };
};
include "/etc/rndc.key";

zone "vbird.tsai" {
        type master;
        file "named.vbird.tsai";
};

$TTL    600
@ IN SOA linux.vbird.tsai. root.linux ( 2006102001 28800 14400 720000 86400 )
@          IN   NS     linux.vbird.tsai.
@          IN   NS     slave.vbird.tsai.
linux      IN   A      10.237.81.200
slave      IN   A      10.237.81.142
benben     IN   CNAME  linux

你可能感兴趣的:(linux,cache,SOA)