dns服务器

2021-05-17 15:24:00 浏览数 (2)

yum -y install /mnt/Packages/bind-*

vi /etc/named.conf

listen-on port 53 { any; };

allow-query { any; };

vi /etc/named.rfc1912.zones

cp /var/named/named.localhost zhen.zone

cp /var/named/named.loopback fan.zone

vi /var/named/zhen.zone

vi /var/named/fan.zone

chown root.named zhen.zone fan.zone //不更改所属组nslookup无法解析

service named restart

0 人点赞