以下为引用的内容:
源代码网整理以下#rpm -ivh bind*.rpm #vi /etc/name.conf
源代码网整理以下------------------------------------
源代码网整理以下directory "/var/named"; }; controls { inet 127.0.0.1 allow { localhost; } keys { rndckey; }; }; zone "." IN { file "named.ca"; };
源代码网整理以下zone "localhost" IN { type master; file "localhost.zone" ; allow-update { none; }; }; zone "xuanfei.net" IN { type master; file "test.net” allow-update { none;}; };
源代码网整理以下zone "0.0.127.in-addr.arpa" IN { type master; file "named.local"; allow-update { none; }; }; zone "63.45.10.in-addr.arpa" IN { type master; file "10.45.63";
源代码网整理以下-----------------------------------------------------------
源代码网整理以下#vi test.zone
源代码网整理以下----------------------------------------------------------- $ttl 1D @ IN SOA linux.xuanfei.net. root.xuanfei.net. (
源代码网整理以下 1053891162 3H 15M 1W 1D )
源代码网整理以下 IN NS xuanfei.net. IN MX 5 mail.xuanfei.net. www IN A 10.45.63.185 it IN A 10.45.63.188
源代码网整理以下--------------------------------------------------------------------------------
源代码网整理以下#vi /var/named/10.45.63
源代码网整理以下-------------------------------------------------------------------------------- @ IN SOA linux.xuanfei.net. root.xuanfei.net. ( 1997022700 ; Serial 28800 ; Refresh 14400 ; Retry 3600000 ; Expire 86400 ) ; Minimum IN NS linux.xuanfei.net.
源代码网整理以下--------------------------------------------------------------------------------
|