主DNS服务器:
1 | #mv /etc/named.conf /etc/named.conf.bak |
1 | options { |
chmod 640 /etc/named.conf && chown root.named /etc/named.conf
vim /var/named/unravel.com.zone
1 | $TTL 68400; |
1 |
|
1 | $TTL 86400; |
1 | #service named start |
从DNS服务器:
1 | #yum install bind |
1 | options { |
1 | #chown root.named /etc/named.cof |
就会完成主从DNS传送 (更多细节参考文档说明)