DNS

所属分类:网络编程
开发工具:C/C++
文件大小:6710KB
下载次数:105
上传日期:2013-01-05 11:38:58
上 传 者monicamedusa
说明:  设计一个DNS服务器程序,读入“域名-IP地址”对照表,当客户端查询域名对应的IP地址时,用域名检索该对照表,三种检索结果: 检索结果为ip地址0.0.0.0,则向客户端返回“域名不存在”的报错消息(不良网站拦截功能) 检索结果为普通IP地址,则向客户返回这个地址(服务器功能) 表中未检到该域名,则向因特网DNS服务器发出查询,并将结果返给客户端(中继功能) 考虑多个计算机上的客户端会同时查询,需要进行消息ID的转换
(Designing a DNS server program, reads "domain name-IP address" table, when the client queries the domain name corresponds to the IP address, domain name to retrieve a table, three types of search results: Search results for IP address 0.0.0.0, then returned to the client "domain does not exist" error (bad website blocking) Retrieve the results as a normal IP address, this address is returned to the client (server functionality) Did not pick up the domain name in the table, is sent to the Internet DNS Server query, and return the result to the client (relay) Consider the client to query on multiple machines, you need to convert message ID )

文件列表:
DNS\DNS\Debug\cl.command.1.tlog (508, 2012-05-10)
DNS\DNS\Debug\CL.read.1.tlog (23024, 2012-05-10)
DNS\DNS\Debug\CL.write.1.tlog (260, 2012-05-10)
DNS\DNS\Debug\DNS.exe.intermediate.manifest (381, 2012-05-10)
DNS\DNS\Debug\DNS.lastbuildstate (60, 2012-05-10)
DNS\DNS\Debug\DNS.log (4202, 2012-05-10)
DNS\DNS\Debug\dns.obj (287946, 2012-05-10)
DNS\DNS\Debug\link.command.1.tlog (1070, 2012-05-10)
DNS\DNS\Debug\link.read.1.tlog (2796, 2012-05-10)
DNS\DNS\Debug\link.write.1.tlog (464, 2012-05-10)
DNS\DNS\Debug\mt.command.1.tlog (384, 2012-05-10)
DNS\DNS\Debug\mt.read.1.tlog (674, 2012-05-10)
DNS\DNS\Debug\mt.write.1.tlog (216, 2012-05-10)
DNS\DNS\Debug\vc100.idb (576512, 2012-05-10)
DNS\DNS\Debug\vc100.pdb (331776, 2012-05-10)
DNS\DNS\dns.cpp (13219, 2012-05-03)
DNS\DNS\DNS.vcxproj (3216, 2012-05-02)
DNS\DNS\DNS.vcxproj.filters (941, 2012-05-02)
DNS\DNS\DNS.vcxproj.user (143, 2012-05-02)
DNS\DNS.sdf (31150080, 2012-10-17)
DNS\DNS.sln (876, 2012-05-02)
DNS\DNS.suo (20992, 2012-10-17)
DNS\DNS\Debug (0, 2012-05-10)
DNS\DNS (0, 2012-05-02)
DNS (0, 2012-10-17)

近期下载者

相关文件


收藏者