如何windows2003中建立智能dns服务器

上传人:子 文档编号:43099463 上传时间:2018-06-04 格式:DOC 页数:17 大小:20.84KB
返回 下载 相关 举报
如何windows2003中建立智能dns服务器_第1页
第1页 / 共17页
如何windows2003中建立智能dns服务器_第2页
第2页 / 共17页
如何windows2003中建立智能dns服务器_第3页
第3页 / 共17页
如何windows2003中建立智能dns服务器_第4页
第4页 / 共17页
如何windows2003中建立智能dns服务器_第5页
第5页 / 共17页
点击查看更多>>
资源描述

《如何windows2003中建立智能dns服务器》由会员分享,可在线阅读,更多相关《如何windows2003中建立智能dns服务器(17页珍藏版)》请在金锄头文库上搜索。

1、如何如何 Windows2003Windows2003 中建立智能中建立智能 DNSDNS 服务器服务器如何 Windows2003 中建立智能 DNS 服务器(BIND,附配置文件下载) - Windows版权声明:转载时请以超链接形式标明文章原始出处和作者信息及本声明http:/ DNS 策略解析很好的解决了上面所述的问题。DNS 策略解析最基本的功能是可以智能的判断访问您网站的用户,然后根据不同的访问者把您的域名分别解析成不同的 IP 地址。如访问者是网通用户,DNS 策略解析服务器会把你的域名对应的网通 IP 地址解析给这个访问者。如果用户是电信用户,DNS 策略解析服务器会把您域名对

2、应的电信 IP 地址解析给这个访问者。智能 DNS 策略解析还可以给你的多个主机实现负载均衡,这时来自各地的访问流量会比较平均的分布到你的每一个主机上。软件的相关资源官方网站: http:/ 9.3.2 http:/www.isc.org/index.pl?/sw/bind/view/?release=9.3.2-P2帮助文档: http:/www.isc.org/sw/bind/配置文件样例: http:/ WINDOWS 2003 服务器2。使用 BIND9 做智能 DNS,自动根据客户端 IP 来判断,网通的用户解析出网通的 IP,电信的解析出电信 IP测试做的域名电信 IP 60.17

3、1.45.152网通 IP 220.248.236.152电信用户 PING 会解析到 60.171.45.152网通用户 PING 会解析到 220.248.236.152配置步骤:1.BIND 9.3.2http:/ftp.isc.org/isc/bind9/9.3.2-P2/BIND9.3.2-P2.zip2. 安装 BIND 9 .3.2解压到一个临时目录,而后运行 BINDInstall.exe,一直默认安装就行了,不需要更改什么设置。默认安装到 windowssystem32dns 目录下3.配置运行 CMD 进入安装目录(windowssystem32dns)下面的 bin

4、目录,而后运行rndc-confgen -a (运行完成后会在 etc 目录下生成 rndc.key)rndc-confgen .etcrndc.conf进入 etc 目录,用 notepad 新建 named.conf 复制下面的内容,注意把 rndc.conf 中# Use with the following in named.conf, adjusting the allow list as needed: 以后的内容复制到named.conf 文件中,去掉全面的#。named.conf#named.conf#acl “trust-lan“ 127.0.0.1/8; 10.0.0.0/

5、24;options directory “C:WINDOWSsystem32dnsetc“;recursion no;version “0.0.0“;allow-transfer “trust-lan“;allow-notify “trust-lan“; ;auth-nxdomain no;forwarders 60.171.45.171;60.171.45.150; ;#这一段内容拷贝来自 rndc.confkey “rndc-key“ algorithm hmac-md5;secret “p30d5VTh6iP+QBiVsEI0lw=“;controls inet 127.0.0.1 p

6、ort 953allow 127.0.0.1; keys “rndc-key“; ;#注意在 C:WINDOWSsystem32dnslog 下建 dns_warnings.txt dns_logs.txtlogging channel warning file “C:WINDOWSsystem32dnslogdns_warnings.txt“ versions 3 size 1240k;severity warning;print-category yes;print-severity yes;print-time yes;channel general_dns file “C:WINDOW

7、Ssystem32dnslogdns_logs.txt“ versions 3 size 1240k;severity info;print-category yes;print-severity yes;print-time yes;category default warning; ;category queries general_dns; ;#将网通的地址范围数据include “cnc.conf“;# 判断如果是网通的地址范围,则会执行此处,调用网通的解析view “view_cnc“ match-clients CNC; ;zone “.“ type hint;file “name

8、d.root“;zone “0.0.127.IN-ADDR.ARPA“ type master;file “localhost.rev“;include “master/cnc.def“;view “view_any“ match-clients any; ;zone “.“ type hint;file “named.root“;zone “0.0.127.IN-ADDR.ARPA“ type master;file “localhost.rev“;include “master/telecom.def“;# named.conf#用 notepad 新建 cnc.conf 复制下面的内容#

9、 cnc.conf# jul/14/2006 09:44:25 by coolice# software id = EFTB-IZN#acl “CNC“ 58.16.0.0/16;58.17.0.0/17;60.12.0.0/16;222.163.128.0/17;219.235.56.194;# cnc.conf#用 notepad 新建 named.root 复制下面的内容# named.root#; This file holds the information on root name servers needed to; initialize cache of Internet do

10、main name servers; (e.g. reference this file in the “cache . “; configuration file of BIND domain name servers).; This file is made available by InterNIC; under anonymous FTP as; file /domain/named.root; on server FTP.INTERNIC.NET; -OR- RS.INTERNIC.NET; last update: Jan 29, 2004; related version of

11、root zone: 2004012900; formerly NS.INTERNIC.NET;. 3600000 IN NS A.ROOT-SERVERS.NET.A.ROOT-SERVERS.NET. 3600000 A 198.41.0.4; formerly NS1.ISI.EDU;. 3600000 NS B.ROOT-SERVERS.NET.B.ROOT-SERVERS.NET. 3600000 A 192.228.79.201; formerly C.PSI.NET;. 3600000 NS C.ROOT-SERVERS.NET.C.ROOT-SERVERS.NET. 36000

12、00 A 192.33.4.12; formerly TERP.UMD.EDU;. 3600000 NS D.ROOT-SERVERS.NET.D.ROOT-SERVERS.NET. 3600000 A 128.8.10.90; formerly NS.NASA.GOV;. 3600000 NS E.ROOT-SERVERS.NET.E.ROOT-SERVERS.NET. 3600000 A 192.203.230.10; formerly NS.ISC.ORG;. 3600000 NS F.ROOT-SERVERS.NET.F.ROOT-SERVERS.NET. 3600000 A 192.5.5.241; formerly NS.NIC.DDN.MIL;. 3600000 NS G.ROOT-SERVERS.NET.G.ROOT-SERVERS.NET. 3600000 A 192.112.36.4; formerly AOS.ARL.ARMY.MIL;. 3600000 NS H.ROO

展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 生活休闲 > 科普知识

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号