1,安装bind9
sudo apt-get update
apt-get install bind9
2,配置bind9 解析
cd /etc/bind
vim named.conf.zones
# 写入
zone "exp.top"{
type master;
file "/etc/bind/db.exp.top";
};
vim db.exp.top
# 写入
;
; BIND data file for local loopback interface
;
$TTL 604800
@