智能DNS策略解析windows版

时间:2007-06-20 00:49:17  来源:站长资讯收集整理  作者:佚名

M.ROOT-SERVERS.NET.      3600000      A     202.12.27.33
; End of File

###################### named.root############################
新建master文件夹 并在里面新建cnc 和 telecom 文件夹
进入masrer文件夹 用notepad 新建cnc.def 和telecom.def
###################### cnc.def############################
zone "dnsany.com" { 
type master; 
file "C:\WINDOWS\system32\dns\etc\master\cnc\dnsany.com.txt"; 
};
###################### cnc.def############################
###################### telecom.def############################
zone "dnsany.com" { 
type master; 
file "C:\WINDOWS\system32\dns\etc\master\telecom\dnsany.com.txt"; 
};
###################### telecom.def############################
分别进入cnc和telecom文件夹建立dnsany.com.txt文件
#########################cnc\dnsany.com.txt##############################
$TTL 3600 
$ORIGIN dnsany.com. 
@ IN SOA ns.joysp.com. root. joysp.com.( 
2006111520 ;Serial 
3600 ; Refresh ( seconds ) 
900 ; Retry ( seconds ) 
68400 ; Expire ( seconds ) 
15 );Minimum TTL for Zone ( seconds ) 

@ IN NS ns.joysp.com.
@ IN A 220.248.236.152 
www IN A 220.248.236.152
* IN A 220.248.236.152

;end
#########################cnc\dnsany.com.txt##############################
#########################telecom\dnsany.com.txt##############################
$TTL 3600 
$ORIGIN dnsany.com. 
@ IN SOA ns.joysp.com. root. joysp.com.( 
2006111520 ;Serial 
3600 ; Refresh ( seconds ) 
900 ; Retry ( seconds ) 
68400 ; Expire ( seconds ) 
15 );Minimum TTL for Zone ( seconds ) 

@ IN NS ns.joysp.com.

文章评论

共有 位CH网友发表了评论 查看完整内容