vi /etc/named.conf
增加区域项
#add my list zone
zone "gbca.cn" in {
type master;
file "gbca.cn.zone";
notify no;
};
增加文件
vi /var/lib/named/gbca.cn.zone
$TTL 2D
gbca.cn. IN SOA dns root.gbca.cn. (
2003072441 ; serial
1D ; refresh
2H ; retry
1W ; expiry
2D ) ; minimum
IN NS dns
IN MX 10 mail
smt IN A 192.168.11.131
dell IN A 192.168.11.60
发现以上无效, 还是用yast自动创建配置最好
zone配置文件自动放在 /var/lib/named/master 目录里
菜单分类