CN106888268A - A kind of analysis method and device of domain name - Google Patents

A kind of analysis method and device of domain name Download PDF

Info

Publication number
CN106888268A
CN106888268A CN201710184233.5A CN201710184233A CN106888268A CN 106888268 A CN106888268 A CN 106888268A CN 201710184233 A CN201710184233 A CN 201710184233A CN 106888268 A CN106888268 A CN 106888268A
Authority
CN
China
Prior art keywords
analysis result
domain name
predetermined server
list
request message
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
CN201710184233.5A
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.)
Hangzhou DPTech Technologies Co Ltd
Original Assignee
Hangzhou DPTech Technologies 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 Hangzhou DPTech Technologies Co Ltd filed Critical Hangzhou DPTech Technologies Co Ltd
Priority to CN201710184233.5A priority Critical patent/CN106888268A/en
Publication of CN106888268A publication Critical patent/CN106888268A/en
Pending legal-status Critical Current

Links

Classifications

    • 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]
    • 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

Landscapes

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

Abstract

The present invention provides a kind of analysis method and device of domain name, and methods described includes:When DNS request message is received, parse the DNS request message and obtain domain name to be resolved;Determine a target analysis result at least one analysis result corresponding with the domain name to be resolved for analytically being recorded in the results list, the at least one analysis result correspondence is obtained by the parsing of different predetermined servers, and the different predetermined servers adhere to different operators separately;The target analysis result is sent to client.Using the embodiment of the present invention, when the DNS request message for largely carrying identical domain name to be resolved is received, solve the problems, such as that the corresponding line load of single operator is overweight, while improve the delivery efficiency of load-balancing device.

Description

A kind of analysis method and device of domain name
Technical field
The present invention relates to network communication technology field, more particularly to a kind of analysis method and device of domain name.
Background technology
Generally, when not existing analysis result corresponding with domain name to be resolved on Intranet dns server, load-balancing device DNS request message is forwarded on the server in public network, DNS request message is parsed by the server, parsed As a result, so that client realizes the actions such as web access based on the analysis result.
In the prior art, parsed on the server that generally different operators of the same domain name to be resolved in public network are provided To different analysis results, but because dns server is cached to domain name to be resolved and a target analysis result, the target Analysis result is obtained by the server parsing that an operator provides, therefore before the target analysis result is aging, is largely taken DNS request message with identical domain name to be resolved can get identical target analysis result from caching, and client is to the fortune Present in battalion business, server corresponding with the target analysis result conducts interviews, and the server that other operators provide is in While idle so that the line load of the corresponding operator of target analysis result is overweight, the output effect of load-balancing device Rate is low.
The content of the invention
In view of this, the present invention provides a kind of analysis method and device of domain name, identical waits to solve when to receive largely carry It is overweight to solve the corresponding line load of single operator when analysing the DNS request message of domain name, the output effect of load-balancing device The low problem of rate.
To achieve the above object, present invention offer technical scheme is as follows:
According to the first aspect of the invention, it is proposed that a kind of analytic method of domain name, methods described includes:
When DNS request message is received, parse the DNS request message and obtain domain name to be resolved;
Determine one at least one analysis result corresponding with the domain name to be resolved for analytically being recorded in the results list Individual target analysis result, at least one analysis result correspondence is obtained by the parsing of different predetermined servers, described different default Server adheres to different operators separately;
The target analysis result is sent to client.
According to the second aspect of the invention, it is proposed that a kind of resolver of domain name, including:
Request message parsing module, is treated for when DNS request message is received, parsing the DNS request message Parsing domain name;
Analysis result determining module, solves for being recorded in analytically the results list with the request message parsing module A target analysis result, described at least one are determined in corresponding at least one analysis result of domain name described to be resolved that analysis is obtained Individual analysis result correspondence is obtained by the parsing of different predetermined servers, and the different predetermined servers adhere to different operators separately;
Analysis result sending module, for sending the target determined in the analysis result determining module to client Analysis result.
From above technical scheme, at least one parsing corresponding with domain name to be resolved is have recorded in analysis result list As a result, at least one analysis result correspondence is obtained by the parsing of different predetermined servers, and different predetermined servers adhere to different fortune separately Battalion business, based on analysis result list, load-balancing device can timely respond to the corresponding analysis result of domain name to be resolved, and when negative When load balancing equipment receives the DNS request message for largely carrying identical domain name to be resolved, single operator is solved corresponding The overweight problem of line load, and then improve the delivery efficiency of load-balancing device.
Brief description of the drawings
Fig. 1 is the network architecture diagram that is applicable of analytic method of the domain name that the present invention is provided;
Fig. 2 is the embodiment flow chart for the analytic method of domain name that the present invention is provided;
Fig. 3 is the embodiment flow chart of the analytic method of another domain name that the present invention is provided;
Fig. 4 is the embodiment flow chart of the analytic method of another domain name that the present invention is provided;
Fig. 5 is a kind of hardware structure diagram of load-balancing device that the present invention is provided;
Fig. 6 is the embodiment block diagram of the resolver for domain name that the present invention is provided;
Fig. 7 is the embodiment block diagram of the resolver of another domain name that the present invention is provided.
Specific embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in implementation method do not represent and the consistent all implementation methods of the present invention.Conversely, they be only with it is such as appended The example of the consistent apparatus and method of some aspects being described in detail in claims, of the invention.
It is the purpose only merely for description specific embodiment in terminology used in the present invention, and is not intended to be limiting the present invention. " one kind ", " described " and " being somebody's turn to do " of singulative used in the present invention and appended claims is also intended to include majority Form, unless context clearly shows that other implications.It is also understood that term "and/or" used herein refers to and wraps May be combined containing one or more associated any or all of project listed.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the present invention A little information should not necessarily be limited by these terms.These terms are only used for being distinguished from each other open same type of information.For example, not departing from In the case of the scope of the invention, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as One information.Depending on linguistic context, word as used in this " if " can be construed to " ... when " or " when ... When " or " in response to determining ".
Fig. 1 is the network architecture diagram that is applicable of analytic method of the domain name that the present invention is provided, as shown in figure 1, the network rack Composition includes:Predetermined server 11, predetermined server 12, predetermined server 13, carrier network 14, carrier network 15, Carrier network 16, load-balancing device 17, client 18.Wherein, predetermined server 11, predetermined server 12, preset service Device 13 is with domain name system (Domain Name in carrier network 14, carrier network 15, carrier network 16 System, referred to as DNS) analytical capabilities server, carrier network 14, carrier network 15, carrier network 16 are for example Operator A, operator B, operator C are corresponded to respectively;Load-balancing device 17 is that the load balancing with DNS cache function sets Standby, in the network architecture of another embodiment, load-balancing device 17 could be replaced with the DNS clothes of load-balancing function Business device;Client 18 is arranged on personal computer (Personal Computer, PC), and client 11 can also be arranged on hand On the terminal devices such as machine, panel computer, intelligent watch.Generally, when load-balancing device 17 receives the DNS of the transmission of client 18 During request message, the parsing DNS request message of load-balancing device 17 obtains domain name to be resolved.Load-balancing device 17 is analytically tied A target analysis result is determined at least one analysis result corresponding with domain name to be resolved recorded in fruit list, with least One analysis result is 3 analysis results, and 3 analysis results correspondence is by predetermined server 11, predetermined server 12, predetermined server As a example by 13 parsings are obtained, 3 parsings corresponding with domain name to be resolved that load-balancing device 17 is analytically recorded in the results list A target analysis result, the service that 3 analysis results are provided by operator A, operator B, operator C respectively are determined in result Device parsing is obtained.Load-balancing device 17 sends target analysis result to client 18.By the embodiment of the present invention, load balancing Equipment 17 combines load-balancing function and DNS cache function, saves equipment expense, maintains easily management;Based on analysis result List, load-balancing device 17 can timely respond to the corresponding analysis result of domain name to be resolved, and when load-balancing device 17 connects When receiving the DNS request message for largely carrying identical domain name to be resolved, the corresponding line load of single operator is solved overweight Problem, and then improve the delivery efficiency of load-balancing device.
Fig. 2 is the embodiment flow chart for the analytic method of domain name that the present invention is provided, and exemplary theory is carried out with reference to Fig. 1 It is bright, as shown in Fig. 2 comprising the following steps:
Step 201:When DNS request message is received, parsing DNS request message obtains domain name to be resolved.
Step 202:In at least one analysis result corresponding with domain name to be resolved for analytically being recorded in the results list really A fixed target analysis result, at least one analysis result correspondence is obtained by the parsing of different predetermined servers, different preset services Device adheres to different operators separately.
Step 203:Target analysis result is sent to client.
In step 201, in one embodiment, when load-balancing device 17 receives the DNS request of the transmission of client 18 During message, the parsing DNS request message of load-balancing device 17 obtains domain name to be resolved, and domain name to be resolved is, for example, www.a.com. Wherein, the parsing of load-balancing device 17 DNS request message obtains the process of domain name to be resolved and refers to prior art associated description, It is not described further herein.
In step 202., in one embodiment, analysis result list is used to record at least one domain name to be resolved, at least Each analysis result of domain name corresponding record at least one to be resolved in one domain name to be resolved, at least one analysis result Each analysis result correspondence one predetermined server address, additionally, analysis result list is also directed to each analysis result Have recorded ageing time.At least one analysis result correspondence is obtained by the parsing of different predetermined servers, different predetermined servers point The different operator of category, as shown in table 1, the structure to analysis result list is illustrative:
Table 1
In table 1, domain name correspondence 1.1.1.1,2.2.2.2,3.3.3.3 to be resolved amount to 3 analysis results, analysis result 1.1.1.1,2.2.2.2,3.3.3.3 respectively correspond to predetermined server address 10.255.165.01,10.255.165.02, 10.255.165.03, analysis result 1.1.1.1,2.2.2.2,3.3.3.3 distinguish corresponding ageing time for 1h, 1.5h, 1.2h.For example, predetermined server address 10.255.165.01,10.255.165.02,10.255.165.03 correspondence preset service Device 11, predetermined server 12, predetermined server 13, predetermined server 11, predetermined server 12, predetermined server 13 are respectively at In carrier network 14, carrier network 15, carrier network 16, carrier network 14, carrier network 15, carrier network 16 correspond to operator A, operator B, operator C respectively.Load-balancing device 17 analytically result 1.1.1.1,2.2.2.2, 3.3.3.3 middle to determine a target analysis result, analysis result 1.1.1.1,2.2.2.2,3.3.3.3 are possible to selected.
In step 203, in one embodiment, with reference to step 202, load-balancing device 17 sends target to client 18 Analysis result 2.2.2.2, client 18 is to the corresponding servers of target analysis result 2.2.2.2 present in carrier network 15 Conduct interviews.
In the embodiment of the present invention, at least one parsing knot corresponding with domain name to be resolved is have recorded in analysis result list Really, at least one analysis result correspondence is obtained by the parsing of different predetermined servers, and different predetermined servers adhere to different operations separately Business, based on analysis result list, load-balancing device can timely respond to the corresponding analysis result of domain name to be resolved, and when load When balancing equipment receives the DNS request message for largely carrying identical domain name to be resolved, the corresponding line of single operator is solved The problem of road overload, and then improve the delivery efficiency of load-balancing device.
Fig. 3 is the embodiment flow chart of the analytic method of another domain name that the present invention is provided, and the embodiment of the present invention is combined Fig. 1, Fig. 2, on the basis of step 201- steps 203, to how analytically in the results list record with domain name pair to be resolved One target analysis result of determination, illustrative at least one analysis result answered, as shown in figure 3, including such as Lower step:
Step 301:Based on load-balancing algorithm, a target line is determined from least one circuit.
Step 302:Based on the operator belonging to target line, will be recording with domain name pair to be resolved in analysis result list Analysis result corresponding with the operator is defined as target analysis result at least one analysis result answered.
In step 301, it is necessary to illustrate, generally, load-balancing device 17 and carrier network 14, carrier network 15th, there is at least one circuit in carrier network 16 between any carrier network, the embodiment of the present invention is set with load balancing There are 2 circuits between any carrier network in 17 and carrier network 14, carrier network 15, carrier network 16, Altogether as a example by 6 circuits, load-balancing device 17 is based on load-balancing algorithm, and a target line is determined from 6 circuits, bears Carrying equalization algorithm includes:Smallest connection figures method, polling algorithm etc..When load-balancing algorithm figures method for Smallest connection, mesh Graticule road is the circuit that minimum is loaded in 6 circuits;When load-balancing algorithm is polling algorithm, target line is load balancing Equipment 17 sequentially determines what is obtained in turn in 6 circuits, is specially which kind of algorithm not to load-balancing algorithm herein Limit.
In step 302, so that the operator belonging to target line is operator B as an example, with reference to table 1, load-balancing device 17 will in analysis result list record analysis result 1.1.1.1s corresponding with domain name www.a.com to be resolved, 2.2.2.2, 3.3.3.3 the corresponding analysis result 2.2.2.2 of predetermined server address 10.255.165.02 corresponding with operator B determines in It is target analysis result.
In the embodiment of the present invention, by load-balancing algorithm, load-balancing device 17 can select to adhere to different operators separately Circuit, it is ensured that while flow is by equilibrium assignment, also cause different operators network also assist in integral dispensing, fully Using Internet resources.
Fig. 4 is the embodiment flow chart of the analytic method of another domain name that the present invention is provided, and the embodiment of the present invention is combined How Fig. 1, Fig. 2, Fig. 3, obtain and record to analysis result, illustrative, as shown in figure 4, comprising the following steps:
Step 401:When any analysis result is not recorded in analysis result list, to each in whole predetermined servers Individual predetermined server sends DNS request message.
Step 402:The DNS response messages that each predetermined server in the whole predetermined servers of parsing is returned, obtain The corresponding analysis result of each predetermined server in whole predetermined servers.
Step 403:By the corresponding analysis result record of each predetermined server in whole predetermined servers in parsing In the results list.
Step 404:Each analysis result one ageing time of correspondence recorded in analysis result list, works as analysis result The one of analysis result recorded in list is when reaching ageing time, to the corresponding preset service of the one of analysis result Device sends DNS request message.
Step 405:The DNS response messages that the corresponding predetermined server of the one of analysis result is returned are parsed, is obtained The corresponding analysis result of the corresponding predetermined server of the one of analysis result.
Step 406:By the corresponding analysis result record of the corresponding predetermined server of the one of analysis result in parsing In the results list.
In step 401, administrative staff will be generally at each in the whole predetermined servers in different operators network The corresponding predetermined server address record of individual predetermined server in analysis result list, with reference to table 1, with whole predetermined servers It is predetermined server 11, predetermined server 12, predetermined server 13, predetermined server 11, predetermined server 12, predetermined server 13 corresponding predetermined server addresses are respectively as a example by 10.255.165.01,10.255.165.02,10.255.165.03, when When not recording any analysis result in analysis result list, load-balancing device 17 is based on predetermined server address 10.255.165.01,10.255.165.02,10.255.165.03, to predetermined server 11, predetermined server 12, default clothes Each predetermined server in business device 13 sends DNS request message.
In step 402, with reference to step 401, load-balancing device 17 parsing predetermined server 11, predetermined server 12, The DNS response messages that each predetermined server in predetermined server 13 is returned, obtain predetermined server 11, predetermined server 12nd, each predetermined server corresponding analysis result 1.1.1.1,2.2.2.2,3.3.3.3 in predetermined server 13.
In step 403, with reference to table 1, load-balancing device 17 is by predetermined server 11, predetermined server 12, default clothes Each predetermined server corresponding analysis result 1.1.1.1,2.2.2.2,3.3.3.3 in business device 13 are recorded in analysis result In list.
In step 404, with reference to table 1, in analysis result list also directed to record analysis result 1.1.1.1, 2.2.2.2,3.3.3.3 corresponding records ageing time 1h, 1.5h, 1.2h, with analysis result 1.1.1.1 reaches ageing time 1h As a example by, load-balancing device 17 sends DNS request message to the corresponding predetermined servers 11 of analysis result 1.1.1.1.
In step 405, the DNS for being returned with reference to the parsing predetermined server 11 of step 404 load-balancing device 17 responds report Text, obtains the corresponding analysis result 1.1.1.1 of predetermined server 11.
In a step 406, analysis result 1.1.1.1 is again recorded in parsing with reference to step 405 load-balancing device 17 In the results list.
In the embodiment of the present invention, preset by whole of the record in different operators network in analysis result list The predetermined server address of server, it is ensured that load-balancing device 17 is based on different predetermined server address correspondences and is adhered to separately The analysis result of different operators, while when analysis result occurs aging, load-balancing device 17 is again based on preset service The device address acquisition aging analysis result, it is ensured that there is the analysis result for adhering to different operators separately in analysis result list, from And realize that the DNS request message for largely carrying identical domain name to be resolved is allocated different target analysis results, solves The overweight problem of the corresponding line load of single operator, and then improve the delivery efficiency of load-balancing device.
Corresponding to the analytic method of above-mentioned domain name, the invention allows for the hardware knot of the load-balancing device shown in Fig. 5 Composition.Refer to Fig. 5, in hardware view, the load-balancing device include processor, internal bus, network interface, internal memory and Nonvolatile memory, the hardware required for other business are also possible that certainly.Processor is read from nonvolatile memory Corresponding computer program to then operation in internal memory is taken, the resolver of domain name is formed on logic level.Certainly, except soft Outside part implementation, the present invention is not precluded from other implementations, such as mode of logical device or software and hardware combining etc. Deng, that is to say, that the executive agent of following handling process is not limited to each logic unit, or hardware or logic device Part.
Fig. 6 is the embodiment block diagram of the resolver for domain name that the present invention is provided, as shown in fig. 6, the solution of the domain name Analysis apparatus can include:Request message parsing module 61, analysis result determining module 62, analysis result sending module 63, wherein:
Request message parsing module 61, for when DNS request message is received, parsing DNS request message to obtain waiting to solve Analysis domain name;
Analysis result determining module 62, solves for being recorded in analytically the results list with request message parsing module 61 A target analysis result, at least one parsing knot are determined in corresponding at least one analysis result of domain name to be resolved that analysis is obtained Fruit correspondence is obtained by the parsing of different predetermined servers, and different predetermined servers adhere to different operators separately;
Analysis result sending module 63, parses for sending the target determined in analysis result determining module 62 to client As a result.
Fig. 7 is the embodiment block diagram of the resolver of another domain name that the present invention is provided, as shown in fig. 7, in above-mentioned Fig. 6 On the basis of illustrated embodiment, analysis result determining module 62 includes:
Target line determination sub-module 621, for based on load-balancing algorithm, a mesh being determined from least one circuit Graticule road;
Analysis result determination sub-module 622, for based on the target line institute determined in target line determination sub-module 621 The operator of category, with the operation at least one analysis result corresponding with domain name to be resolved that will be recorded in analysis result list The corresponding analysis result of business is defined as target analysis result.
In one embodiment, the resolver of domain name also includes:
First message sending module 64, for when any analysis result is not recorded in analysis result list, to all pre- If each predetermined server in server sends DNS request message;
First packet parsing module 65, for parse the first message sending module 64 in whole predetermined servers in it is every The DNS response messages that one predetermined server is returned, each predetermined server obtained in whole predetermined servers is corresponding Analysis result;
First result logging modle 66, for will be each in the whole predetermined servers in the first packet parsing module 65 The corresponding analysis result record of individual predetermined server is in analysis result list.
In one embodiment, the resolver of domain name also includes:
Second message sending module 67, each analysis result correspondence one for being recorded in analysis result list is aging Time, when the one of analysis result recorded in analysis result list reaches ageing time, to one of parsing knot Really corresponding predetermined server sends DNS request message;
Second packet parsing module 68, for parsing the one of analysis result pair in the second message sending module 67 The DNS response messages that the predetermined server answered is returned, obtain the corresponding predetermined server of the one of analysis result corresponding Analysis result;
Second result logging modle 69, for the one of analysis result in the second packet parsing module 68 is corresponding The corresponding analysis result of predetermined server record in analysis result list.
The function of unit and the implementation process of effect correspond to step in specifically referring to the above method in said apparatus Implementation process, will not be repeated here.
For device embodiment, because it corresponds essentially to embodiment of the method, so related part is referring to method reality Apply the part explanation of example.Device embodiment described above is only schematical, wherein described as separating component The unit of explanation can be or may not be physically separate, and the part shown as unit can be or can also It is not physical location, you can with positioned at a place, or can also be distributed on multiple NEs.Can be according to reality Selection some or all of module therein is needed to realize the purpose of the present invention program.Those of ordinary skill in the art are not paying In the case of going out creative work, you can to understand and implement.
As seen from the above-described embodiment, at least one parsing knot corresponding with domain name to be resolved is have recorded in analysis result list Really, at least one analysis result correspondence is obtained by the parsing of different predetermined servers, and different predetermined servers adhere to different operations separately Business, based on analysis result list, load-balancing device can timely respond to the corresponding analysis result of domain name to be resolved, and when load When balancing equipment receives the DNS request message for largely carrying identical domain name to be resolved, the corresponding line of single operator is solved The problem of road overload, and then improve the delivery efficiency of load-balancing device.
Those skilled in the art considering specification and after putting into practice invention disclosed herein, will readily occur to it is of the invention its Its embodiment.It is contemplated that cover any modification of the invention, purposes or adaptations, these modifications, purposes or Person's adaptations follow general principle of the invention and including undocumented common knowledge in the art of the invention Or conventional techniques.Description and embodiments are considered only as exemplary, and true scope and spirit of the invention are by following Claim is pointed out.
Also, it should be noted that term " including ", "comprising" or its any other variant be intended to nonexcludability Comprising so that process, method, commodity or equipment including a series of key elements not only include those key elements, but also wrapping Include other key elements being not expressly set out, or also include for this process, method, commodity or equipment is intrinsic wants Element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that wanted including described Also there is other identical element in process, method, commodity or the equipment of element.
Presently preferred embodiments of the present invention is the foregoing is only, is not intended to limit the invention, it is all in essence of the invention Within god and principle, any modification, equivalent substitution and improvements done etc. should be included within the scope of protection of the invention.

Claims (8)

1. a kind of analytic method of domain name, it is characterised in that methods described includes:
When DNS request message is received, parse the DNS request message and obtain domain name to be resolved;
Determine a mesh at least one analysis result corresponding with the domain name to be resolved for analytically being recorded in the results list Mark analysis result, at least one analysis result correspondence is obtained by the parsing of different predetermined servers, the different preset services Device adheres to different operators separately;
The target analysis result is sent to client.
2. method according to claim 1, it is characterised in that analytically recording with the domain to be resolved in the results list A target analysis result is determined in corresponding at least one analysis result of name, including:
Based on load-balancing algorithm, a target line is determined from least one circuit;
It is corresponding with the domain name to be resolved by what is recorded in analysis result list based on the operator belonging to the target line Analysis result corresponding with the operator is defined as the target analysis result at least one analysis result.
3. method according to claim 1, it is characterised in that methods described also includes:
When any analysis result is not recorded in the analysis result list, to each the default clothes in whole predetermined servers Business device sends the DNS request message;
The DNS response messages that each predetermined server in whole predetermined servers is returned are parsed, the whole is obtained The corresponding analysis result of each predetermined server in predetermined server;
The corresponding analysis result of each predetermined server in whole predetermined servers is recorded in the analysis result In list.
4. method according to claim 1, it is characterised in that methods described also includes:
Each analysis result one ageing time of correspondence recorded in the analysis result list, when the analysis result list When one of analysis result of middle record reaches ageing time, sent out to the corresponding predetermined server of the one of analysis result Send the DNS request message;
The DNS response messages that the corresponding predetermined server of the described one of analysis result of parsing is returned, obtain it is described this its In the corresponding analysis result of the corresponding predetermined server of analysis result;
Will the corresponding analysis result record of the corresponding predetermined server of the described one of analysis result in the analysis result In list.
5. a kind of resolver of domain name, it is characterised in that described device includes:
Request message parsing module, obtains to be resolved for when DNS request message is received, parsing the DNS request message Domain name;
Analysis result determining module, parses for being recorded in analytically the results list with the request message parsing module To corresponding at least one analysis result of domain name described to be resolved in determine a target analysis result, it is described at least one solution Analysis result correspondence is obtained by the parsing of different predetermined servers, and the different predetermined servers adhere to different operators separately;
Analysis result sending module, parses for sending the target determined in the analysis result determining module to client As a result.
6. device according to claim 5, it is characterised in that the analysis result determining module includes:
Target line determination sub-module, for based on load-balancing algorithm, a target line being determined from least one circuit;
Analysis result determination sub-module, for based on belonging to the target line determined in the target line determination sub-module Operator, with the fortune at least one analysis result corresponding with the domain name to be resolved that will be recorded in analysis result list The corresponding analysis result of battalion business is defined as the target analysis result.
7. device according to claim 5, it is characterised in that described device also includes:
First message sending module, for when any analysis result is not recorded in the analysis result list, to all default Each predetermined server in server sends the DNS request message;
First packet parsing module, it is every in the described whole predetermined servers in the first message sending module for parsing The DNS response messages that one predetermined server is returned, obtain each predetermined server pair in whole predetermined servers The analysis result answered;
First result logging modle, for will be each in the described whole predetermined servers in the first packet parsing module The corresponding analysis result record of individual predetermined server is in the analysis result list.
8. device according to claim 5, it is characterised in that described device also includes:
Second message sending module, when each analysis result correspondence one for being recorded in the analysis result list is aging Between, when the one of analysis result recorded in the analysis result list reaches ageing time, to one of parsing The corresponding predetermined server of result sends the DNS request message;
Second packet parsing module, for one of analysis result pair described in parsing in the second message sending module The DNS response messages that the predetermined server answered is returned, obtain the corresponding predetermined server pair of the described one of analysis result The analysis result answered;
Second result logging modle, for by one of analysis result correspondence described in the second packet parsing module The corresponding analysis result of predetermined server record in the analysis result list.
CN201710184233.5A 2017-03-24 2017-03-24 A kind of analysis method and device of domain name Pending CN106888268A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710184233.5A CN106888268A (en) 2017-03-24 2017-03-24 A kind of analysis method and device of domain name

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710184233.5A CN106888268A (en) 2017-03-24 2017-03-24 A kind of analysis method and device of domain name

Publications (1)

Publication Number Publication Date
CN106888268A true CN106888268A (en) 2017-06-23

Family

ID=59181368

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710184233.5A Pending CN106888268A (en) 2017-03-24 2017-03-24 A kind of analysis method and device of domain name

Country Status (1)

Country Link
CN (1) CN106888268A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107360270A (en) * 2017-07-24 2017-11-17 杭州迪普科技股份有限公司 A kind of method and device of dns resolution
CN110995890A (en) * 2020-03-03 2020-04-10 北京安博通科技股份有限公司 Domain name request scheduling method and device
CN111262881A (en) * 2020-02-26 2020-06-09 杭州云缔盟科技有限公司 Method for hiding DNS domain name of server accessed by mobile phone APP
CN111683139A (en) * 2020-06-05 2020-09-18 北京百度网讯科技有限公司 Method and apparatus for balancing load

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030041091A1 (en) * 2001-08-23 2003-02-27 Hughes Electronics Corporation Domain name system resolution
CN101764855A (en) * 2009-12-30 2010-06-30 福建星网锐捷网络有限公司 Method, device and system for providing domain name resolution services
CN103167044A (en) * 2011-12-08 2013-06-19 中国移动通信集团浙江有限公司 Intelligent analysis method of domain name system (DNS) and poking measurement device and system
CN103685603A (en) * 2013-12-19 2014-03-26 北京奇虎科技有限公司 Domain name system analyzing method and device
CN105025114A (en) * 2014-04-17 2015-11-04 中国电信股份有限公司 Domain name resolution method and domain name resolution system
CN105763668A (en) * 2016-02-26 2016-07-13 杭州华三通信技术有限公司 Domain name resolution method and apparatus
CN106067890A (en) * 2016-03-29 2016-11-02 北京肇煜宏泰信息科技有限公司 A kind of domain name analytic method, Apparatus and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030041091A1 (en) * 2001-08-23 2003-02-27 Hughes Electronics Corporation Domain name system resolution
CN101764855A (en) * 2009-12-30 2010-06-30 福建星网锐捷网络有限公司 Method, device and system for providing domain name resolution services
CN103167044A (en) * 2011-12-08 2013-06-19 中国移动通信集团浙江有限公司 Intelligent analysis method of domain name system (DNS) and poking measurement device and system
CN103685603A (en) * 2013-12-19 2014-03-26 北京奇虎科技有限公司 Domain name system analyzing method and device
CN105025114A (en) * 2014-04-17 2015-11-04 中国电信股份有限公司 Domain name resolution method and domain name resolution system
CN105763668A (en) * 2016-02-26 2016-07-13 杭州华三通信技术有限公司 Domain name resolution method and apparatus
CN106067890A (en) * 2016-03-29 2016-11-02 北京肇煜宏泰信息科技有限公司 A kind of domain name analytic method, Apparatus and system

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107360270A (en) * 2017-07-24 2017-11-17 杭州迪普科技股份有限公司 A kind of method and device of dns resolution
CN107360270B (en) * 2017-07-24 2020-10-09 杭州迪普科技股份有限公司 DNS (Domain name Server) analysis method and device
CN111262881A (en) * 2020-02-26 2020-06-09 杭州云缔盟科技有限公司 Method for hiding DNS domain name of server accessed by mobile phone APP
CN111262881B (en) * 2020-02-26 2021-07-02 杭州云缔盟科技有限公司 Method for hiding DNS domain name of server accessed by mobile phone APP
CN110995890A (en) * 2020-03-03 2020-04-10 北京安博通科技股份有限公司 Domain name request scheduling method and device
CN110995890B (en) * 2020-03-03 2020-10-16 北京安博通科技股份有限公司 Domain name request scheduling method and device
CN111683139A (en) * 2020-06-05 2020-09-18 北京百度网讯科技有限公司 Method and apparatus for balancing load

Similar Documents

Publication Publication Date Title
US7440415B2 (en) Virtual network addresses
CN103685583B (en) A kind of method and system of domain name mapping
CN108259425A (en) The determining method, apparatus and server of query-attack
EP2787742B1 (en) Method and system for transmitting network video
CN106888268A (en) A kind of analysis method and device of domain name
CN102907055A (en) Systems and methods for link load balancing on multi-core device
CN108009028A (en) Message treatment method, device, equipment and computer-readable recording medium
CN103685281B (en) The switching method and equipment of a kind of network address agreement
US11570108B2 (en) Distribution of network traffic to software defined network based probes
US8484360B2 (en) Method and system for separating HTTP session
CN111526225B (en) Session management method and device
CN111431871B (en) Processing method and device of TCP (Transmission control protocol) semi-transparent proxy
CN107465666A (en) A kind of client ip acquisition methods and device
CN107613037A (en) A kind of domain name reorientation method and system
CN105897947A (en) Network access method and device for mobile terminal
CN106470251A (en) Domain name analytic method and virtual DNS authority server
CN109510878A (en) A kind of long connection session keeping method and device
CN104954431A (en) Network selection method, device and system
CN110677475A (en) Micro-service processing method, device, equipment and storage medium
CN111064804A (en) Network access method and device
CN110392123A (en) The methods, devices and systems of detection outlet IP address
CN102857547B (en) The method and apparatus of distributed caching
US20070053349A1 (en) Network interface accessing multiple sized memory segments
CN107666401A (en) A kind of configuration information obtaining method and terminal
CN104092751B (en) A kind of Operational Visit method and apparatus

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for 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: 20170623