欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

linux dns 配置

程序员文章站 2024-02-11 23:37:16
...

// 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 SOA Cache