APP下载

一种基于共享缓存的三层递归域名系统的设计与实现

2018-11-13徐东赵琦冷峰

现代电子技术 2018年22期

徐东 赵琦 冷峰

摘 要: 递归域名系统是域名体系的重要组成部分,直接面向用户提供域名查询服务。递归域名系统的查询时效直接关系互联网网络应用的访问时延和用户的上网体验。为提高递归域名系统的查询时间效率,缩短域名查询时延,提出一种基于共享缓存的三层递归域名系统,在理论研究基础上,搭建了系统模型,并使用业务系统查询日志进行了性能测试。该三层递归域名系统的提出,为未来互联网企业搭建高效的递归域名系统提供技术参考。

关键词: 共享缓存; 递归域名系统; 域名查询; 查询时效; 访问时延; 系统模型

中图分类号: TN711?34 文献标识码: A 文章编号: 1004?373X(2018)22?0042?03

Abstract: The recursive domain name system (DNS) is one important part of the DNS, directly providing domain name query service for users. The query time efficiency of the recursive DNS has a direct relationship with the access delay of Internet network applications and users′ experiences of suffering Internet. Therefore, a three?tier recursive DNS based on the shared cache is studied and proposed, so as to improve the query time efficiency of the DNS, and reduce the time delay of domain name query. On the basis of theoretical research, a system model was established, and a performance test was carried out by using the query logs of the service system. The results show that the proposed three?tier recursive DNS can provide technical references for future Internet companies to build high?efficient recursive DNSs.

Keywords: shared cache; recursive DNS; domain name query; query time efficiency; access delay; system model

0 引 言

域名系统是互联网重要的基础设施,提供域名和IP地址的转换翻译服务。域名体系由权威域名系统和递归域名系统两个层次构成。其中,递归域名系统直接面向终端用户提供域名查询服务。出于提升域名解析性能的考虑,递归域名系统通常均采用“转发”和“缓存”相分离的两层部署架构,即由一组直接面向用户提供查询服务的缓存服务器和一组用于进行递归迭代查询的转发服务器构成。然而,在实际域名解析过程中,位于前端的缓存服务器采用“分别查询、各自响应”的工作机制,缓存服务器之间缺乏缓存记录共享,导致在一定程度上整体的域名缓存命中率较低,域名查询时延较大。对此,为提高递归域名系统的查询效率,缩短域名查询时延,本文研究提出了一种基于共享缓存的三层递归域名系统。……

登录APP查看全文