服务器
apt-get install -y bind9
测试工具
apt-get install bind9-host dnsutils
文档
apt-get install bind9-doc
拷贝配置文件
scp /etc/bind/* root@10.17.1.11:/etc/bind
检查dns服务器状态
host $record localhost
ordig $record @localhost
客户端检查dns
nslookup wiki.pandll.org
1
2
3
4
5Server: 127.0.1.1
Address: 127.0.1.1#53
Name: wiki.pandll.org
Address: 10.17.1.99