CN105610991A - Load balancing method of recursion and analysis DNS (Domain Name Server) under DHCP (Dynamic Host Configuration Protocol) environment - Google Patents

Load balancing method of recursion and analysis DNS (Domain Name Server) under DHCP (Dynamic Host Configuration Protocol) environment Download PDF

Info

Publication number
CN105610991A
CN105610991A CN201610195810.6A CN201610195810A CN105610991A CN 105610991 A CN105610991 A CN 105610991A CN 201610195810 A CN201610195810 A CN 201610195810A CN 105610991 A CN105610991 A CN 105610991A
Authority
CN
China
Prior art keywords
recursion
recursion resolution
list
server
dns
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
CN201610195810.6A
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.)
BEIJING WRD TECHNOLOGY Co Ltd
Original Assignee
BEIJING WRD TECHNOLOGY Co Ltd
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 BEIJING WRD TECHNOLOGY Co Ltd filed Critical BEIJING WRD TECHNOLOGY Co Ltd
Priority to CN201610195810.6A priority Critical patent/CN105610991A/en
Publication of CN105610991A publication Critical patent/CN105610991A/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

Abstract

The invention provides a load balancing method of a recursion and analysis DNS (Domain Name Server) under a DHCP (Dynamic Host Configuration Protocol) environment, which is realized at a DHCP server side. After a network manager configures a DNS list for a DHCP server, the DHCP server is used for dynamically modifying and changing different arrangement sequences of each DNS in each recursion DNS list, which is transmitted to a DHCP client side, according to an indication of the network manager, so that the balanced contribution of working loads of the plurality of sets of the recursion and analysis DNS is realized. With the adoption of the load balancing method provided by the invention, conditions that the certain single recursion and analysis DNS has oversize pressure and is too heavy, caused by a recursion and analysis DNS distribution mechanism in the prior art under the DHCP environment, are effectively solved. The invention further provides an availability detection mechanism of the recursion and analysis DNS, which can be used for being dynamically adaptive to changing states of availability and serviceability of the recursion and analysis DNS in real time. The method is simple and feasible, is only used for changing the DHCP server side, and does not have any change on the DHCP client side, so that the method has wide adaptability and has very good popularization and application prospects.

Description

The load-balancing method of recursion resolution dns server under a kind of DHCP environment
Technical field
The present invention relates to a kind of load-balancing method for recursion resolution dns server under DHCP environment,Belong to the technical field of compunication and computer network.
Background technology
In prior art, transmission control protocol/Internet Interconnection agreement TCP/IP (TransmissionControlProtocol/InternetProtocol) networking mode of network allows the terminal of network management personnel for accessing networkEquipment configures the address column of multiple recursion resolution domain name system DNS (DomainNameSystem) serverTable. In the time that terminal device is initiated domain name mapping request, normally, according to the order of dns server list, comply withInferior selection dns server is inquired about. When First recursion resolution dns server can not use or not haveWhile obtaining Query Result, terminal device is proceeded with regard to second recursion resolution dns server of select progressivelyInquiry; And order is carried out query manipulation so successively, until obtain Query Result. The behaviour of this recursive queryThe mode of doing just causes producing a bottleneck or defect: provide many of service although configured in network to userRecursion resolution dns server, but because above-mentioned system of selection is carried out according to presetting order,The live load that causes recursion resolution dns server reasonably equilibrium is shared, the weight meeting of live loadConcentrate and be carried on First recursion resolution dns server.
Under present TCP/IP network organizing pattern, generally adopt dynamic host configuration protocol DHCP(DynamicHostConfigurationProtocol) carry out IP address and recursion resolution dns server groundThe distribution of location, this ways of distribution is also supported to provide one to comprise multiple recursion resolution DNS clothes for terminal deviceThe recursion resolution DNS list of business device address. But existing DHCP can only set in advance with onePermanent order issues the list of recurrence dns server, so cause live load pressure concentration a certain recurrenceThe bottleneck situation of resolving on dns server can occur often, has had a strong impact on recursion resolution dns serverEffect.
Therefore, in the urgent need to redesigning the brand-new recursion resolution DNS service under a kind of DHCP environmentDevice ways of distribution, realizes the live load equilibrium of many recursion resolution dns servers and shares, and avoids producing certainA situation that recursion resolution dns server live load pressure is too concentrated.
Summary of the invention
In view of this, the object of this invention is to provide recursion resolution dns server under a kind of DHCP environmentLoad-balancing method, the method can solve under DHCP environment recursion resolution in prior art effectivelySingle certain recursion resolution dns server pressure that dns server distribution mechanisms causes is excessive, overweightSituation.
In order to achieve the above object, the invention provides a kind of dynamic host configuration protocol DHCP (DynamicHostConfigurationProtocol) recursion resolution domain name system DNS (DomainName under environmentSystem) load-balancing method of server, is characterized in that: by changing recursion resolution dns serverThe difference of each recursion resolution dns server in list puts in order, and realizes recursion resolution DNS serviceThe live load equilibrium of device is shared; Described method comprises following operating procedure:
Step 1, when the recursion resolution dns server configuring under DHCP environment is no less than two, network pipeReason personnel arrange the recursive solution of this two or more recursion resolution dns server at Dynamic Host Configuration Protocol serverAnalyse putting in order in dns server list;
Step 2, network management personnel selects the rearrangement method of recursion resolution dns server list;
Step 3, Dynamic Host Configuration Protocol server in the time replying dhcp client request, according to network pipe in step 2 at every turnReason personnel's selection, adopt comprise random selection, according to load change or according to speed change multipleThe difference that changes the list of recursion resolution dns server with method puts in order;
Step 4, Dynamic Host Configuration Protocol server receives after the DHCP request message from client, will be through step 3The difference of recursion resolution dns server after treatment list puts in order, and adopts DHCP response message to sendGive client;
Step 5, when Dynamic Host Configuration Protocol server receives the request message of dhcp client again, returns to executionStep 3 and step 4.
The inventive method is for existing, best technology, and the remarkable advantage and the effect that have are:
The inventive method has solved existing recursion resolution dns server sorter guidance under DHCP environmentSingle certain recursion resolution dns server load that the load imbalance of the dns server causing bringsHigh problem.
The inventive method provides the availability testing mechanism to recursion resolution dns server, can move in real timeState ground adapts to the availability of recursion resolution dns server and the variable condition of service performance, and according to actual feelingsCondition automatically adjusts accordingly the recursion resolution dns server list under DHCP environment, will occurThe recursion resolution dns server of fault is got rid of outside list. Provide existing Dynamic Host Configuration Protocol server to issueThe flexibility that do not have of recursion resolution dns server list.
Another advantage of the inventive method is: do not need to increase any extra hardware device or parts, also notNeed client to carry out any special operational, just to recursion resolution dns server under DHCP environmentThe mode that issues of sort method is changed. And the inventive method only need be carried out at Dynamic Host Configuration Protocol server endChange, without dhcp client is made any change. For client, only need to complete standardDHCP operating process, can not cause any interference to existing user's normal operating and behavior, and,The method is completely transparent for the user in network.
Therefore, the inventive method has applicability widely, and its popularizing application prospect is very good.
Brief description of the drawings
Fig. 1 is the load-balancing method operation of recursion resolution dns server under DHCP environment of the present inventionFlow chart of steps.
Detailed description of the invention
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing, the present invention is doneFurther describe in detail.
The present invention is the load-balancing method of recursion resolution dns server under a kind of DHCP environment, the partyMethod realizes at Dynamic Host Configuration Protocol server end, is that Dynamic Host Configuration Protocol server arranges recursion resolution by network management personnelAfter dns server list, Dynamic Host Configuration Protocol server can, according to the easy personnel's of network management instruction, on-the-fly modifyBe handed down to each recursion resolution in the recursion resolution dns server list of dhcp client with changeThe difference of dns server puts in order, thereby realizes the live load of many recursion resolution dns serversEquilibrium is shared.
Referring to Fig. 1, introduce the following concrete operation step of the inventive method:
Step 1, when the recursion resolution dns server configuring under DHCP environment is no less than two, network pipeReason personnel arrange the recursive solution of this two or more recursion resolution dns server at Dynamic Host Configuration Protocol serverAnalyse putting in order in dns server list.
Step 2, network management personnel selects the rearrangement method of recursion resolution dns server list.
Step 3, Dynamic Host Configuration Protocol server in the time replying dhcp client request, according to net in step 2 at every turnNetwork administrative staff's selection, adopt comprise random selection, according to load change or according to speed change manyThe difference of planting the list of distinct methods change recursion resolution dns server puts in order.
This step also comprises following content of operation: Dynamic Host Configuration Protocol server changes recursion resolution DNS each adjustmentAfter the difference of server list puts in order, also to enter the duty of each recursion resolution dns serverRow is checked and verified, can not be normal to delete from this recursion resolution dns server list after changingThe recursion resolution dns server of work.
In this step, the method that the difference of change recursion resolution dns server list puts in order has following threeKind:
(21) change at random method: the random station server of selecting is done from the list of recursion resolution dns serverBe first, then remaining server is suitable according to the original priority in this recursion resolution dns server listOrder is arranged in order. For example, network management personnel originally configured the recursion resolution dns server list of input and is:A, B, C, D. Dynamic Host Configuration Protocol server therefrom selects a recursion resolution dns server (to be assumed to be at randomC), be placed on first of list; Remaining three are arranged according to former order, so recursion resolution DNSServer list just changes to: C, A, B, D.
(22) change method according to load: Dynamic Host Configuration Protocol server checks the work of each recursion resolution dns serverDo load, by each recursion resolution dns server in list according to the height of its workload from small to largeRearrangement list. For example, network management personnel configured the recursion resolution dns server list of input originallyBe: A, B, C, D, the workload of actual recursion resolution dns server putting in order from low to highBe: D, B, A, C. Recursion resolution dns server list after adjusting according to load change method so justBecome: D, B, A, C. If Dynamic Host Configuration Protocol server reexamines the work shape of recursion resolution dns serverState, while finding that wherein certain station server is unavailable, then the recursion resolution DNS automatically this being broken down clothesBusiness device is got rid of outside list.
(23) change method according to speed: Dynamic Host Configuration Protocol server checks the sound of each recursion resolution dns serverAnswer speed, by each recursion resolution dns server in list according to the speed of its response speed near slowlyRearrangement list. For example, the recursion resolution dns server list of network management personnel's input is original suitableOrder is: A, and B, C, D, the response speed of actual recursion resolution dns server is near slow order being:D, B, A, C. Just become according to the recursion resolution dns server list after the adjustment of speed change method so:D, B, A, C. If Dynamic Host Configuration Protocol server reexamines the duty of recursion resolution dns server, findWhen wherein certain station server is unavailable, the recursion resolution dns server just automatically this being broken down is got rid ofOutside list.
Step 4, Dynamic Host Configuration Protocol server receives after the DHCP request message from client, will be through step 3The difference of recursion resolution dns server after treatment list puts in order, and adopts DHCP response message to sendGive client;
Step 5, when Dynamic Host Configuration Protocol server receives the request message of dhcp client again, returns to executionStep 3 and step 4.
The inventive method has carried out implementing test: at the optimizing process of Beijing University of Post & Telecommunication's campus network fourth phaseIn, dispose the load-balancing method of recursion resolution dns server under a set of DHCP environment of the present invention.Concrete measure is under the Dynamic Host Configuration Protocol server in the campus network of Beijing University of Post & Telecommunication, has configured three recurrenceResolve dns server, what network management personnel selected is the first change recursion resolution in the inventive methodThe method of dns server tab sequential is selected one at random from the list of recursion resolution dns serverRecursion resolution dns server is as first place, and remaining recursion resolution dns server is according in original listSequencing be arranged in order, form new recursion resolution dns server list. Afterwards, also to other twoKind method has been carried out l-G simulation test.
The result of implementing test is successfully, has realized goal of the invention.

Claims (3)

1. a dynamic host configuration protocol DHCP (DynamicHostConfigurationProtocol)The load-balancing method of recursion resolution domain name system DNS (DomainNameSystem) server under environment,It is characterized in that: by changing each recursion resolution DNS service in the list of recursion resolution dns serverThe difference of device puts in order, and realizes the live load equilibrium of recursion resolution dns server and shares; Described methodComprise following operating procedure:
Step 1, when the recursion resolution dns server configuring under DHCP environment is no less than two, network pipeReason personnel arrange the recursive solution of this two or more recursion resolution dns server at Dynamic Host Configuration Protocol serverAnalyse putting in order in dns server list;
Step 2, network management personnel selects the rearrangement method of recursion resolution dns server list;
Step 3, Dynamic Host Configuration Protocol server in the time replying dhcp client request, according to network pipe in step 2 at every turnReason personnel's selection, adopt comprise random selection, according to load change or according to speed change multipleThe difference that changes the list of recursion resolution dns server with method puts in order;
Step 4, Dynamic Host Configuration Protocol server receives after the DHCP request message from client, will be through step 3The difference of recursion resolution dns server after treatment list puts in order, and adopts DHCP response message to sendGive client;
Step 5, when Dynamic Host Configuration Protocol server receives the request message of dhcp client again, returns to executionStep 3 and step 4.
2. method according to claim 1, is characterized in that: in described step 3, implement to change and passThe method of returning the difference of resolving dns server list to put in order has following three kinds:
(21) change at random method: a recursion resolution of random selection from the list of recursion resolution dns serverDns server is as first, then by remaining recursion resolution dns server according to this recursion resolution DNSOriginal sequencing in server list is arranged in order;
(22) change method according to load: Dynamic Host Configuration Protocol server checks the work of each recursion resolution dns serverDo load, by each recursion resolution dns server in list according to the height of its workload from small to largeRearrangement list;
(23) change method according to speed: Dynamic Host Configuration Protocol server checks the sound of each recursion resolution dns serverAnswer speed, by each recursion resolution dns server in list according to the speed of its response speed near slowlyRearrangement list.
3. method according to claim 1, is characterized in that: described step 3 also comprises following operationContent: Dynamic Host Configuration Protocol server puts in order in each difference of adjusting the list of change recursion resolution dns serverAfter, also to check the duty of each recursion resolution dns server, so that from this after changingIn the list of recursion resolution dns server, delete the recursion resolution dns server of cisco unity malfunction.
CN201610195810.6A 2016-03-31 2016-03-31 Load balancing method of recursion and analysis DNS (Domain Name Server) under DHCP (Dynamic Host Configuration Protocol) environment Pending CN105610991A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610195810.6A CN105610991A (en) 2016-03-31 2016-03-31 Load balancing method of recursion and analysis DNS (Domain Name Server) under DHCP (Dynamic Host Configuration Protocol) environment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610195810.6A CN105610991A (en) 2016-03-31 2016-03-31 Load balancing method of recursion and analysis DNS (Domain Name Server) under DHCP (Dynamic Host Configuration Protocol) environment

Publications (1)

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

Family

ID=55990525

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610195810.6A Pending CN105610991A (en) 2016-03-31 2016-03-31 Load balancing method of recursion and analysis DNS (Domain Name Server) under DHCP (Dynamic Host Configuration Protocol) environment

Country Status (1)

Country Link
CN (1) CN105610991A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106060131A (en) * 2016-05-26 2016-10-26 杭州华三通信技术有限公司 Method and device for allocating DNS servers
CN106534398A (en) * 2016-11-14 2017-03-22 赛尔网络有限公司 Device and method used for IPv6 network
CN113900817A (en) * 2021-10-15 2022-01-07 广州电力通信网络有限公司 Mirror image root server processing terminal processing method based on IPV6 energy industry

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7254626B1 (en) * 2000-09-26 2007-08-07 Foundry Networks, Inc. Global server load balancing
CN101047725A (en) * 2006-03-30 2007-10-03 华为技术有限公司 Method and system for acquiring IP address of agent call session control function
CN103002069A (en) * 2012-12-25 2013-03-27 北京小米科技有限责任公司 Domain name resolution method, device and system
CN103339996A (en) * 2011-01-28 2013-10-02 阿尔卡特朗讯 Method to connect a mobile node to a network
CN105450774A (en) * 2015-12-28 2016-03-30 曙光信息产业(北京)有限公司 Load balancing method and load balancing device for DNS

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7254626B1 (en) * 2000-09-26 2007-08-07 Foundry Networks, Inc. Global server load balancing
CN101047725A (en) * 2006-03-30 2007-10-03 华为技术有限公司 Method and system for acquiring IP address of agent call session control function
CN103339996A (en) * 2011-01-28 2013-10-02 阿尔卡特朗讯 Method to connect a mobile node to a network
CN103002069A (en) * 2012-12-25 2013-03-27 北京小米科技有限责任公司 Domain name resolution method, device and system
CN105450774A (en) * 2015-12-28 2016-03-30 曙光信息产业(北京)有限公司 Load balancing method and load balancing device for DNS

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106060131A (en) * 2016-05-26 2016-10-26 杭州华三通信技术有限公司 Method and device for allocating DNS servers
CN106060131B (en) * 2016-05-26 2019-10-11 新华三技术有限公司 A kind of method and apparatus for distributing dns server
CN106534398A (en) * 2016-11-14 2017-03-22 赛尔网络有限公司 Device and method used for IPv6 network
CN113900817A (en) * 2021-10-15 2022-01-07 广州电力通信网络有限公司 Mirror image root server processing terminal processing method based on IPV6 energy industry
CN113900817B (en) * 2021-10-15 2022-09-13 广州电力通信网络有限公司 Mirror image root server processing terminal processing method based on IPV6 energy industry

Similar Documents

Publication Publication Date Title
CN104410691B (en) A kind of website accelerated method and system based on content distributing network
CN106067890B (en) A kind of domain name analytic method, apparatus and system
CN107528862B (en) Domain name resolution method and device
CN102647482B (en) Method and system for accessing website
CN105516391B (en) A kind of DNS name resolution method based on CNAME
US20200382390A1 (en) Partitioning health monitoring in a global server load balancing system
CN107026890A (en) A kind of message forming method and load equalizer based on server cluster
CN108156038B (en) Request distribution method, device, access gateway and storage medium
CN106815059B (en) Linux virtual server LVS automates O&M method and operational system
CN104158919A (en) Webpage access implementation method, server and client
CN104394224A (en) Load balance system
CN103685583A (en) Method and system for resolving domain names
CN104378389B (en) Website security detection method and device
CN104468853A (en) Domain name resolution method, server and system
CN107465529A (en) Customer terminal equipment management method, system and Automatic Configuration Server
CN106878193A (en) A kind of load sharing method and device
CN105610991A (en) Load balancing method of recursion and analysis DNS (Domain Name Server) under DHCP (Dynamic Host Configuration Protocol) environment
CN107896257A (en) Method, apparatus, equipment and the medium of deploying client subsystem function
CN104935653A (en) Bypass cache method for visiting hot spot resource and device
CN106953926A (en) A kind of method for routing and device
CN106302862A (en) The collection method of a kind of DNS recursion server and system
CN109756584A (en) Domain name analytic method, domain name mapping device and computer readable storage medium
CN105450774A (en) Load balancing method and load balancing device for DNS
CN104363252A (en) Website security detecting method and device
CN104734869A (en) Intelligent DNS domain name system and method based on dynamic detection

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160525

WD01 Invention patent application deemed withdrawn after publication