(3)建立主配置文件
#vim /etc/named.conf
在其中添加
options {
directory "/var/named";
};
zone "." {
type hint;
file "named.ca";
};
zone "localhost"{
type master;
file"localhost.zone";
};
zone "0.0.127.in-addr.arpa" {
type master;
file"named.local";
};
zone "test1.com" {
type master;
file "test1.zone";
};
zone "1.168.192.in-addr.arpa" {
type master;
file "test1.inverse";
};
~
~