named.conf文件中的一些基本解释

创建主要的配置文件:
# vi /usr/local/named/etc/named.conf
===========================named.conf=======================
acl “trust-lan” { 127.0.0.1/8; 192.168.0.0/16;}; //访问控制列表就是一个有名字的地址匹配列表

options {
directory "/usr/local/named/etc/";         //启动服务器的目录
pid-file "/var/run/named/named.pid";
version "0.0.0";                                        //服务器的真实版本号
datasize 40M;
allow-transfer {
"trust-lan";};
recursion yes;                                   //是否代表客户机查询其他DNS服务器
allow-notify {                                   //如果notify设为yes,并且named是一个或多个区的主服务器,那么每当区数据库有变化时,named会自动地通知相应的那些区的从服务器。

关于 Timo
XNIX SA & MYSQL DBA

发表评论

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / 更改 )

Twitter picture

You are commenting using your Twitter account. Log Out / 更改 )

Facebook photo

You are commenting using your Facebook account. Log Out / 更改 )

Google+ photo

You are commenting using your Google+ account. Log Out / 更改 )

Connecting to %s

%d 博主赞过: