1 yum -y install bind
2 配置文件 vim /etc/named.conf
options{
directory "/var/named";
}
zone "birdteam.net" IN{
type master;
filr "birdteam.net.zone";
}
3 cd /var/named
cp - p named.localhost birdteam.net.zone 复制文件到birdteam.net.zone
4 systemctl restart named
5 nslookup
原文地址:https://www.cnblogs.com/gengyanqi/p/10322928.html
时间: 2024-10-10 01:04:17