CN105610930A - Data optimization method based on DNS (Domain Name Server) - Google Patents

Data optimization method based on DNS (Domain Name Server) Download PDF

Info

Publication number
CN105610930A
CN105610930A CN201510994249.3A CN201510994249A CN105610930A CN 105610930 A CN105610930 A CN 105610930A CN 201510994249 A CN201510994249 A CN 201510994249A CN 105610930 A CN105610930 A CN 105610930A
Authority
CN
China
Prior art keywords
dns
data
server
optimization method
domain name
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510994249.3A
Other languages
Chinese (zh)
Inventor
韩枫
毛伟
邢志杰
刘风成
马迪
王伟
童小海
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
INTERNET DOMAIN NAME SYSTEM BEIJING ENGINEERING RESEARCH CENTER LLC
Original Assignee
INTERNET DOMAIN NAME SYSTEM BEIJING ENGINEERING RESEARCH CENTER LLC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by INTERNET DOMAIN NAME SYSTEM BEIJING ENGINEERING RESEARCH CENTER LLC filed Critical INTERNET DOMAIN NAME SYSTEM BEIJING ENGINEERING RESEARCH CENTER LLC
Priority to CN201510994249.3A priority Critical patent/CN105610930A/en
Publication of CN105610930A publication Critical patent/CN105610930A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/1008Server selection for load balancing based on parameters of servers, e.g. available memory or workload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention belongs to the field of computer technologies and discloses a data optimization method based on a DNS (Domain Name Server). The method comprises the following steps of establishing monitoring nodes at different data centers and periodically obtaining server performance of each data center; selecting a DNS server with the optimal service performance from the data centers; and modifying IP addresses of other DNS data in the monitoring nodes and guiding a domain name query request to the selected DNS server with the optimal service performance. The method solves the problems of low load balancing performance and service quality for domain name resolution in the original DNS load balancing system.

Description

A kind of data optimization method based on DNS
Technical field
The present invention relates to field of computer technology, particularly a kind of data optimization method based on DNS.
Background technology
Load-balancing technique is the earliest that the random name resolution in serving by DNS is realized. At DNSIn server, can be the same names of multiple different address configuration, these data be sent to otherName server, and the client computer of finally inquiring about this name will be used it at random when this name resolvingIn an address. Therefore, for same name, different client computer can obtain different addresses, because ofThe web server of the namely different addresses of this different client access, thus reach the order of load balancing.
At present, in F5 bulk loads equilibrium (3DNS/GTM) solution that F5 company of the U.S. proposes, 3DNSWith GTM product be mainly solve large enterprise and company across data center or crossing internet access linkDemand, common application scenarios comprises: many data-center applications, the multiple internet link load of enterprise are equalThe CDN application of weighing apparatus application, application content service provider etc. 3DNS is that F5 company establishes for this solutionThe hardware platform of meter, new platform is GTM product. GTM has done a lot of merits in redaction with respect to 3DNSThe enhancing of energy and performance, but Core Feature remains around GSLB (global server flow load balance)Launch.
But, as the F5 of global duty balancing equipment, be to monitor in data center inside, and countAccording to center to there being a segment distance between user. So this Load Balancing Solution just stands in dataThe angle at center, but not stand in user's angle, the load balancing of doing can not intactly reflect userDemand for services and quality.
Along with the expansion of Domain Name Services and the increase of number of netizens, will enter the quantity of dns server accessOne step strengthens, and how, in the High Performance Scalable of the cluster server of load balancing, further ensures and carriesThe domain name service quality and the user's experience that rise user will become ensuing important research direction.
Summary of the invention
For the defect of prior art, the invention provides a kind of data optimization method based on DNS, withThe load-balancing performance and the service that solve domain name mapping in original DNS SiteServer LBS are of low qualityProblem.
For addressing the above problem, the technical solution used in the present invention is as follows: a kind of data based on DNS are excellentChoosing method,
The method comprises:
Set up monitoring node in different data centers, periodically obtain the server performance of each data center;
From above-mentioned data center, choose the dns server of service performance optimum;
Modify in IP address to other DNS data in monitoring node, inquiry of the domain name request is directedTo the dns server of selected described service performance optimum.
Further, the method for obtaining the service performance of data center further comprises: to multiple numbers of usersThe detection of asking and replying according to TCP and the HTTP service at center, by detecting TCP, HTTP clothesBusiness quality option, detects response time.
Further, the method for choosing the dns server of service performance optimum further comprises: according to shouldAnswer the time, then take operator's informaiton and geographical location information into consideration, by preferentially processing, choose serviceThe dns server of best performance.
Further, the above-mentioned method of preferentially processing further comprises: add view in above-mentioned data centerFunctional module, realizes the dns resolution based on view.
Further, the method for the dns resolution of realization based on view further comprises: add view functionModule, shows and utilizes real-time DNS data, according to the request of access from heterogeneous networks user, rightIdentical domain name mapping becomes different IP, and user can be accessed from his that nearest name server.
Further, the method further comprises: according to the demand of different dns servers, resource is rememberedThe life span value of record is changed adjustment.
Further, the time of described life span value is adjusted into 1-10 minute.
A kind of data optimization method based on DNS disclosed in this invention, by setting up and visit in each big citySurvey node, the side of being more close to the users, integrates DNS SiteServer LBS, makes the control to DNSMore become more meticulous. This method can reflect the service quality of user's side in real time, and DNS data are addedDynamically to adjust, user's inquiry of the domain name service request is directed to the data center with optimal performanceOn dns server. So just make the effect closing to reality more of DNS load balancing, user's domain nameService experience is more convenient fast, and makes the allocative efficiency of inquiry of the domain name flow more rationally with efficient.
Brief description of the drawings
Fig. 1 is the flow process principle of the data optimization method based on DNS in a preferred embodiment of the present inventionFigure.
Detailed description of the invention
Below in conjunction with accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described,But not as a limitation of the invention.
Referring to Fig. 1, the embodiment of the present invention provides a kind of data optimization method based on DNS, the methodComprise:
Set up monitoring node in different data centers, periodically obtain the service performance of each data center;
From above-mentioned data center, choose the dns server of service performance optimum;
Modify in IP address to other DNS data in monitoring node, inquiry of the domain name request is directedTo the dns server of selected described service performance optimum.
Specifically, above-mentioned monitoring node can be located at each big city, can arrange one in each big cityOr multiple data service centers, monitoring node can arrange multiple, the side of being close to the users.
In said method, the method for obtaining the service performance of data center further comprises: to multiple useThe detection that the TCP at user data center and HTTP service are asked and replied, by detecting TCP, HTTPQuality of service option, detects response time; According to response time, then take operator's informaiton and ground into considerationReason positional information, and other may affect the information of server service performance, by preferentially processing, choosingGet the dns server of service performance optimum, and then realize the dynamic adjustment of data.
Wherein, the above-mentioned method of preferentially processing further comprises: add view merit in above-mentioned data centerEnergy module, realizes the dns resolution based on view. The method of the dns resolution based on view comprises: pass throughAdd view functional module, show and utilize real-time DNS data, according to from heterogeneous networks user'sRequest of access, becomes different IP to identical domain name mapping, and user can be accessed from his nearest thatName server. Add after view, can show and utilize real-time DNS data, contribute to dynamic tuneWhole DNS data message.
In the above-described embodiments, method of the present invention further comprises: according to the need of different dns serversAsk, the life span value of resource record is changed to adjustment. Wherein, the time of described life span valuePreferably be adjusted into 1-10 minute.
Specifically, because for real-time situation, need to adjust DNS data, so monitoringThe TTL of data in region (TimeToLive, life span) value can not be excessive. Ttl value all at presentWith hour or day counting, so need to be to the TTL of RR (ResourceRecord, resource record)Value is changed, but not dynamically changes always. But according to demand, ttl value is changed to staticallyAbout 1-10 minute. " adjusting district's data ttl value " is in order to tackle load balancing and to regulate in real time DNSThe needs of data, if do not regulated ttl value, when load balancing changes, and DNS data or before, so just do not have the effect of real-time adjusting. Wherein, life span, is exactly a domain name mapping noteThe RT of record in dns server. In the time that the dns server of various places receives analysis request, justCan to domain name specify NS server (authoritative name server) thus send analysis request obtain resolve noteRecord; After obtaining this record, record can at dns server, (caching server of various places, be also namedRecurrence name server) middle preservation a period of time, if the parsing of receiving again this domain name during this period of timeRequest, dns server will no longer send request to NS server, but directly returns to the note just now obtainingRecord; And this is recorded in the time retaining on dns server, it is exactly ttl value.
In addition, user can self-defined selection switchover policy. For example,, when response time of first serviceLarger 30% than response time of second service, at this moment just can serve switching; Or, when firstIndividual service request number of times reaches 10 times and does not all meet with a response, and just can serve switching. " strategy choosingSelect " be that user is for selecting a kind of approach of DNS load balancing embodiment.
The present invention, by setting up monitoring node in different data centers, periodically obtains their serviceThe information such as energy. By adding view functional module and realizing out of kilter method, choose be close to the users most side and clothesThe best DNS of data center of business performance. Afterwards, by the A record (computer domain name) to DNS dataModify, inquiry of the domain name request will be directed on the dns server of preferred data center out.Like this, DNS SiteServer LBS can be integrated, the control of DNS is become more meticulous more, canSignificantly promote load-balancing performance and the service quality of domain name mapping. And the expanding of this topological structureProperty better, reliability is high, maintainable good.
Although below invention has been described in conjunction with the preferred embodiments, those skilled in the art shouldThis understanding, method and system of the present invention is not limited to the embodiment described in detailed description of the invention,In the case of not deviating from the spirit and scope of the invention being limited by appended claims, can be to the present inventionMake various amendments, increase and replace.

Claims (7)

1. the data optimization method based on DNS, is characterized in that, the method comprises:
Set up monitoring node in different data centers, periodically obtain the server performance of each data center;
From above-mentioned data center, choose the dns server of service performance optimum;
Modify in IP address to other DNS data in monitoring node, inquiry of the domain name request is directedTo the dns server of selected described service performance optimum.
2. data optimization method as claimed in claim 1, is characterized in that, obtains data centerThe method of service performance further comprises: the TCP to multiple subscriber data center and HTTP service are carried outRequest and the detection of replying, by detecting TCP, HTTP quality of service option, detect response time.
3. data optimization method as claimed in claim 2, is characterized in that, chooses service performanceThe method of excellent dns server further comprises: according to response time, then take operator's informaiton into considerationAnd geographical location information, by preferentially processing, choose the dns server of service performance optimum.
4. data optimization method as claimed in claim 3, is characterized in that, above-mentioned preferentially processingMethod further comprises: add view functional module in above-mentioned data center, realize the DNS based on viewResolve.
5. data optimization method as claimed in claim 4, is characterized in that, realizes based on viewThe method of dns resolution further comprises: add view functional module, show and utilize real-time DNS numberAccording to, according to the request of access from heterogeneous networks user, identical domain name mapping is become to different IP, makeUser can access from his that nearest name server.
6. data optimization method as claimed in claim 1, is characterized in that, the method is further wrappedDraw together: according to the demand of different dns servers, the life span value of resource record is changed to adjustment.
7. data optimization method as claimed in claim 6, is characterized in that, described life span valueTime be adjusted into 1-10 minute.
CN201510994249.3A 2015-12-25 2015-12-25 Data optimization method based on DNS (Domain Name Server) Pending CN105610930A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510994249.3A CN105610930A (en) 2015-12-25 2015-12-25 Data optimization method based on DNS (Domain Name Server)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510994249.3A CN105610930A (en) 2015-12-25 2015-12-25 Data optimization method based on DNS (Domain Name Server)

Publications (1)

Publication Number Publication Date
CN105610930A true CN105610930A (en) 2016-05-25

Family

ID=55990464

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510994249.3A Pending CN105610930A (en) 2015-12-25 2015-12-25 Data optimization method based on DNS (Domain Name Server)

Country Status (1)

Country Link
CN (1) CN105610930A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106534398A (en) * 2016-11-14 2017-03-22 赛尔网络有限公司 Device and method used for IPv6 network
CN107172126A (en) * 2017-04-21 2017-09-15 华为技术有限公司 A kind of domain name system server distribution method and server
CN107635015A (en) * 2017-10-25 2018-01-26 深圳市和讯华谷信息技术有限公司 The optimal route selection system and method that mobile terminal links with server end
CN109302484A (en) * 2018-10-18 2019-02-01 北京奇艺世纪科技有限公司 A kind of user's request processing method and device
CN111181868A (en) * 2019-12-30 2020-05-19 互联网域名系统北京市工程研究中心有限公司 Domain name heat based cache TTL dynamic change method and system
CN111683139A (en) * 2020-06-05 2020-09-18 北京百度网讯科技有限公司 Method and apparatus for balancing load
CN115277566A (en) * 2022-05-20 2022-11-01 鸬鹚科技(深圳)有限公司 Load balancing method and device for data access, computer equipment and medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101820451A (en) * 2009-02-26 2010-09-01 上海数讯信息技术有限公司 Dynamic domain name service optimizing system
CN102055818A (en) * 2010-12-30 2011-05-11 北京世纪互联工程技术服务有限公司 Distributed intelligent DNS (domain name server) library system
CN102340554A (en) * 2011-09-29 2012-02-01 奇智软件(北京)有限公司 Optimal application server selection method and device for domain name system (DNS)
CN102438278A (en) * 2011-12-21 2012-05-02 优视科技有限公司 Load allocation method and device for mobile communication network
CN103167044A (en) * 2011-12-08 2013-06-19 中国移动通信集团浙江有限公司 Intelligent analysis method of domain name system (DNS) and poking measurement device and system
CN103475654A (en) * 2013-09-06 2013-12-25 北京奇虎科技有限公司 Method for optimizing network paths, equipment and network system
CN104954507A (en) * 2015-06-23 2015-09-30 中国互联网络信息中心 Domain name resolution method and system adopting data optimization

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101820451A (en) * 2009-02-26 2010-09-01 上海数讯信息技术有限公司 Dynamic domain name service optimizing system
CN102055818A (en) * 2010-12-30 2011-05-11 北京世纪互联工程技术服务有限公司 Distributed intelligent DNS (domain name server) library system
CN102340554A (en) * 2011-09-29 2012-02-01 奇智软件(北京)有限公司 Optimal application server selection method and device for domain name system (DNS)
CN103167044A (en) * 2011-12-08 2013-06-19 中国移动通信集团浙江有限公司 Intelligent analysis method of domain name system (DNS) and poking measurement device and system
CN102438278A (en) * 2011-12-21 2012-05-02 优视科技有限公司 Load allocation method and device for mobile communication network
CN103475654A (en) * 2013-09-06 2013-12-25 北京奇虎科技有限公司 Method for optimizing network paths, equipment and network system
CN104954507A (en) * 2015-06-23 2015-09-30 中国互联网络信息中心 Domain name resolution method and system adopting data optimization

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106534398A (en) * 2016-11-14 2017-03-22 赛尔网络有限公司 Device and method used for IPv6 network
CN107172126A (en) * 2017-04-21 2017-09-15 华为技术有限公司 A kind of domain name system server distribution method and server
CN107635015A (en) * 2017-10-25 2018-01-26 深圳市和讯华谷信息技术有限公司 The optimal route selection system and method that mobile terminal links with server end
CN107635015B (en) * 2017-10-25 2020-11-24 深圳市和讯华谷信息技术有限公司 Optimal path selection system and method for linking mobile terminal and server
CN109302484A (en) * 2018-10-18 2019-02-01 北京奇艺世纪科技有限公司 A kind of user's request processing method and device
CN109302484B (en) * 2018-10-18 2021-04-16 北京奇艺世纪科技有限公司 User request processing method and device
CN111181868A (en) * 2019-12-30 2020-05-19 互联网域名系统北京市工程研究中心有限公司 Domain name heat based cache TTL dynamic change method and system
CN111181868B (en) * 2019-12-30 2023-06-16 深圳网基科技有限公司 Domain name heat-based cache TTL dynamic change method and system
CN111683139A (en) * 2020-06-05 2020-09-18 北京百度网讯科技有限公司 Method and apparatus for balancing load
CN115277566A (en) * 2022-05-20 2022-11-01 鸬鹚科技(深圳)有限公司 Load balancing method and device for data access, computer equipment and medium
CN115277566B (en) * 2022-05-20 2024-03-22 鸬鹚科技(深圳)有限公司 Load balancing method and device for data access, computer equipment and medium

Similar Documents

Publication Publication Date Title
US11888650B2 (en) Traffic delivery using anycast and end user-based mapping in an overlay network
US10742550B2 (en) Updating routing information based on client location
CN105610930A (en) Data optimization method based on DNS (Domain Name Server)
US7447798B2 (en) Methods and systems for providing dynamic domain name system for inbound route control
US7185052B2 (en) Meta content delivery network system
US20200195753A1 (en) Request routing utilizing client location information
US9871722B2 (en) Content delivery network routing method, system and user terminal
JP5150769B2 (en) Updating routing information using request routing and client location information
US9444759B2 (en) Service provider registration by a content broker
US9712422B2 (en) Selection of service nodes for provision of services
CN104144222B (en) Based on the load-balancing method of canonical name and system in DNS authoring system
CN103780654A (en) Business request processing method, user terminal, business router and network system
CN112333299A (en) Domain name resolution method, configuration method and equipment
Wang et al. The content delivery network system based on cloud storage
Moreno et al. On content delivery network implementation
Molina et al. A closer look at a content delivery network implementation
US11095605B1 (en) Request routing utilizing encoded DNS-based messaging parameters
WO2001089172A2 (en) Meta content delivery network system
JACOBS-BURTON CROSS REFERENCE TO RELATED APPLICATIONS
Data CROSS-REFERENCE TO RELATED APPLICATIONS
RASHID CROSS REFERENCE TO RELATED APPLICATIONS

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160525