#配置文件位置的声明
options {
directory "/var/named";
};
#根区域的配置
zone "." IN {
type hint;
file "named.ca";
};
#正向解析的配置
zone "localhost" IN {
type master;
file "named.localhost";
};
#返向解析的配置
zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.loopback";
};