CN103051740B - Domain name analytic method, dns server and domain name analysis system - Google Patents

Domain name analytic method, dns server and domain name analysis system Download PDF

Info

Publication number
CN103051740B
CN103051740B CN201210541593.3A CN201210541593A CN103051740B CN 103051740 B CN103051740 B CN 103051740B CN 201210541593 A CN201210541593 A CN 201210541593A CN 103051740 B CN103051740 B CN 103051740B
Authority
CN
China
Prior art keywords
domain name
dns server
forwarding
buffer memory
request
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.)
Active
Application number
CN201210541593.3A
Other languages
Chinese (zh)
Other versions
CN103051740A (en
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.)
Yamu Technology Co.,Ltd.
Original Assignee
SHANGHAI YAMU COMMUNICATION 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 SHANGHAI YAMU COMMUNICATION TECHNOLOGY Co Ltd filed Critical SHANGHAI YAMU COMMUNICATION TECHNOLOGY Co Ltd
Priority to CN201210541593.3A priority Critical patent/CN103051740B/en
Publication of CN103051740A publication Critical patent/CN103051740A/en
Application granted granted Critical
Publication of CN103051740B publication Critical patent/CN103051740B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of domain name analytic method, dns server and domain name analysis system, main contents comprise: receive the domain name mapping request from client; During the domain name mapping response not having buffer memory corresponding with domain name in this locality, determine this forwarding dns server belonging to domain name mapping request; Domain name analysis request is sent to the forwarding dns server determined; Receive the domain name mapping response obtained after carrying out domain name mapping operation from described forwarding dns server for domain name information, and domain name resolution response is sent to described client.Owing to forwarding dns server belonging to this domain name mapping request of different domain name mapping Requests routing, each forwarding dns server carries out domain name mapping to one's own domain name mapping request targetedly, avoid the restrictive condition between different I SP, accelerate domain name mapping speed, make that domain name mapping is consuming time to shorten, analyzing efficiency improves.

Description

Domain name analytic method, dns server and domain name analysis system
Technical field
The present invention relates to IP(InternetProtocol, Internet protocol) network field, particularly relate to a kind of domain name analytic method, dns server and domain name analysis system.
Background technology
At IP(InternetProtocol, Internet protocol) in network, domain name system (DomainNameSystem, DNS) be one of the infrastructure service of internet most critical, for numerous network application provides essence to support, its major function is changed with the discernible IP address of network the domain name (DomainName) being easy to people's memory.Conversion between domain name and IP address is called domain name mapping, and the network host of execution domains name analysis can be called dns server.By the inquiry service of domain name system DNS server, the entrance of required website or resource can be found, and then website or resource are conducted interviews.
In prior art, DNS provides three kinds of domain name mapping modes: local search, caching query and iterative query.If certain ISP(InternetServiceProvider, ISP) access user input certain website domain name in a browser, then access user initiated domain name analysis request, wherein carry this website domain name; The dns server of this ISP, be commonly referred to as local dns server and receive this domain name mapping request, first local search is performed, the IP address that this website domain name is corresponding is inquired about in home domain name database, the home domain name of this dns server of ownership parsing and the corresponding relation of IP address is stored in home domain name database, if this website domain name is home domain name, then the IP address inquired directly is returned to access user by local dns server; If this website domain name is not home domain name, local dns server then performs caching query, query parse record (generally preserving non-local domain name parsed by iterative query mode in nearest a period of time and the IP address of correspondence thereof with the form of separating new record in buffer memory) in the buffer memory of this dns server, if there is the solution new record that this website domain name is relevant in the buffer, then the IP address inquired directly is returned to access user by local dns server; If the solution new record that this website domain name is not relevant in the buffer, local dns server finally performs iterative query, is obtained the DNS response message carrying IP address corresponding to this website domain name by iterative query.
For query web domain name " www.aaa.com.cn ", the domain name resolution process of iterative query is described, suppose that local dns server does not inquire IP address corresponding to www.aaa.com.cn in home domain name database and buffer memory, then comprise following recursive query process further:
The first step: local dns server initiates this domain name mapping request to forwarding dns server;
Second step: forward dns server and initiate this domain name mapping request to the rhizosphere dns server of self;
3rd step: if rhizosphere dns server cannot be resolved, then return to the IP address of the dns server in management cn territory to forwarding dns server;
4th step: forward dns server and initiate this domain name mapping request to the dns server in management cn territory;
5th step: if the dns server in management cn territory cannot be resolved, then return to the IP address of the dns server in management com.cn territory to forwarding dns server;
6th step: forward dns server and initiate this domain name mapping request to the dns server in management com.cn territory;
7th step: if the dns server in management com.cn territory cannot be resolved, then return to the IP address of the dns server of aaa website to forwarding dns server;
8th step: forward dns server and obtain from the dns server of aaa website the DNS response message carrying the IP address of this website domain name, and this DNS response message is returned to local dns server;
9th step: this DNS response message is returned to access user by local dns server, access user obtains the IP address of this website domain name from this DNS response message.
Above-mentioned resolving achieves domain name mapping, but in the first step of said process, all domain name mapping requests are forwarded dns server to one that serves for it by local dns server, on the one hand, once this forwarding server breaks down, do not reoffer corresponding domain name resolution service, then cause whole analysis service of local dns server will there will be abnormal (namely can not provide analysis service) yet; On the other hand, when the contracted user of the ISP that access user is not served for described local dns server, due to ISP(InternetContentProvider, ICP) mandate DNS set different analysis results for different ISP network, the analysis result of final the obtained analysis result non-optimal of access user may be there is, finally cause user's time delay of surfing the Net to increase Consumer's Experience and be deteriorated, and bring extra interconnection costs.
Summary of the invention
The embodiment of the present invention provides a kind of domain name analytic method, dns server and domain name analysis system, in order to solve domain name mapping of the prior art longer, problem that analyzing efficiency is low consuming time.
A kind of domain name analytic method, described method comprises:
Receive the domain name mapping request from client, in domain name analysis request, carry domain-name information;
When domain name information is not home domain name and this locality does not have domain name mapping that buffer memory is corresponding with domain name information to respond, determine this forwarding domain name system DNS server belonging to domain name mapping request;
Domain name analysis request is sent to the forwarding dns server determined;
Receive the domain name mapping response obtained after carrying out domain name mapping operation from described forwarding dns server for domain name information, and domain name resolution response is sent to described client.
A kind of dns server, described in it, dns server comprises:
First receiver module, for receiving the domain name mapping request from client, carries domain-name information in domain name analysis request;
First determination module, for be not home domain name in domain name information and this locality does not have domain name mapping that buffer memory is corresponding with domain name information to respond time, determine this forwarding domain name system DNS server belonging to domain name mapping request;
First sending module, for being sent to the forwarding dns server determined by domain name analysis request;
Second receiver module, for receive carry out domain name mapping operation from described forwarding dns server for domain name information after obtain domain name mapping response;
Second sending module, for sending to described client by domain name resolution response.
A kind of domain name analysis system, domain name resolution system comprises: dns server, forwarding dns server and client;
Described dns server, for receiving the domain name mapping request from client, domain-name information is carried in domain name analysis request, when domain name information is not home domain name and this locality does not have domain name mapping that buffer memory is corresponding with domain name information to respond, determine this forwarding domain name system DNS server belonging to domain name mapping request, domain name analysis request is sent to the forwarding dns server determined, and the response of acceptance domain name analysis, and domain name resolution response is sent to described client;
Described forwarding dns server, for receiving domain name analysis request, and after carrying out domain name mapping operation to the domain-name information carried in domain name analysis request, sends to described dns server by the domain name mapping obtained response.
The embodiment of the present invention provides a kind of domain name analytic method, dns server and domain name analysis system, owing to forwarding dns server belonging to this domain name mapping request of different domain name mapping Requests routing, each forwarding dns server is made to carry out domain name mapping to one's own domain name mapping request targetedly, and then the restrictive condition avoided between different I SP, accelerate domain name mapping speed, make that domain name mapping is consuming time to shorten, analyzing efficiency improves.
Accompanying drawing explanation
The domain name analytic method schematic flow sheet that Fig. 1 provides for the embodiment of the present invention one;
The structural representation of the dns server that Fig. 2 provides for the embodiment of the present invention two;
The domain name analysis system structural representation that Fig. 3 provides for the embodiment of the present invention three.
Embodiment
Below by specific embodiment, the solution of the present invention is described in detail.
Embodiment one
As shown in Figure 1, it is the domain name analytic method schematic diagram in the embodiment of the present invention one, said method comprising the steps of:
Step 101:DNS server receives the domain name mapping request from client, carries domain-name information in domain name analysis request.
In this step 101, when the dns address arranged in client NIC attribute is the address of described dns server, when client needs to access a certain website, to the request of described dns server sending domain name analysis, the domain-name information of this website in this domain name mapping request, will be carried.
Step 102: when domain name information is not home domain name and this locality does not have domain name mapping that buffer memory is corresponding with domain name information to respond, determines this forwarding dns server belonging to domain name mapping request.
Dns server can determine in the following manner client the ISP that contracts:
The first step: according to the client ip address carried in domain name analysis request and domain-name information, determines this buffer memory section belonging to domain name mapping request;
In concrete enforcement, the corresponding relation of setting client source IP network section and domain-name information and buffer memory section can be realized, according to this corresponding relation, search the buffer memory section corresponding to client ip address and domain-name information of carrying in domain name analysis request, using the buffer memory section that finds as the buffer memory section belonging to this domain name mapping request.
Second step: according to buffer memory section with forward the corresponding relation of dns server, determine the forwarding dns server of forwarding dns server belonging to this domain name mapping request that this buffer memory section belonging to domain name mapping request is corresponding.
Domain name analysis request is sent to the forwarding dns server determined by step 103:DNS server.
In this step 103, if dns server determines multiple forwarding dns server, select one then at random in confirmable multiple dns server, domain name analysis request is sent to the dns server selected, also the mode of poll can be adopted, domain name analysis request is sent to this dns server be polled to, such as: suppose that the number of the forwarding dns server determined is 3, be respectively dns server 1, dns server 2 and dns server 3, the order of poll is: dns server 1 → dns server 2 → dns server 3 → dns server 1, when last time domain name mapping request being sent to dns server 3, domain name analysis request in step 103 is sent to dns server 1 by this.
Preferably, in described buffer memory section during corresponding multiple forwarding dns server, domain name analysis request is sent to the forwarding dns server determined and is specially:
The first step: according to the weighted value of each forwarding dns server, from the described multiple forwarding dns servers determined, the selection one of poll forwards dns server;
Second step: forwarding dns server domain name analysis request being sent to selection, the weighted value of described forwarding dns server determines according to the disposal ability of this forwarding dns server to domain name mapping request.
Such as: suppose that corresponding 3 of buffer memory section forwards DNS service, be respectively and forward dns server 1, forward dns server 2 and forward dns server 3, the weight forwarding dns server 1 is 3, the weight forwarding dns server 2 is 1, the weight forwarding dns server 3 is 1, according to weighted value to the order that each forwarding dns server carries out poll can be then: forwarding dns server 1 → forwarding dns server 1 → forwarding dns server 1 → forwarding dns server 2 → forwarding dns server 3 → forwarding dns server 1 → forwarding dns server 1 → forwarding dns server 1, when domain name mapping request being sent to forwarding dns server 2 last time, domain name analysis request in step 103 is sent to and forwards dns server 1 by this.
Preferably, in described buffer memory section during corresponding multiple forwarding dns server, domain name analysis request is sent to the forwarding dns server determined and is specially:
The first step: based on the weighted value of each forwarding dns server, is divided into each value subinterval by default interval, and one of them forwards the corresponding value subinterval of dns server;
Second step: random selecting numerical value in described interval;
3rd step: in each value subinterval divided, determine the value subinterval belonging to numerical value of random selecting;
4th step: domain name analysis request is sent forwarding dns server corresponding for the value subinterval determined.
Such as, suppose that corresponding 3 of buffer memory section forwards DNS service, be respectively and forward dns server 1, forward dns server 2 and forward dns server 3, the weight forwarding dns server 1 is 3, the weight forwarding dns server 2 is 1, the weight forwarding dns server 3 is 1, the interval preset is (0, 1], the subinterval forwarding dns server 1 correspondence is (0, 0.6], the subinterval forwarding dns server 2 correspondence is (0.6, 0.8], the subinterval forwarding dns server 3 correspondence is (0.8, 1], for the domain name analysis request in step 103, (0, 1) random selecting numerical value in, then determine that this numerical value belongs to (0, 0.6], (0.6, 0.8], still (0.8 is belonged to, 1], if determine, this numerical value belongs to (0, 0.6], then domain name analysis request is sent to (0, 0.6] the forwarding dns server 1 that this subinterval is corresponding, if determine, this numerical value belongs to (0.6,0.8], then domain name analysis request is sent to (0.6,0.8] forwarding dns server 2 corresponding to this subinterval, if determine, this numerical value belongs to (0.8,1], then domain name analysis request is sent to (0.8,1] forwarding dns server 1 corresponding to this subinterval, due to (0,1] in the numerical value of random selecting belong to (0,0.6] probability be 60%, belong to (0.6,0.8] probability be 20%, belong to (0.8,1] probability is 20%, this makes it possible to the weighted value of domain name mapping request according to each forwarding dns server to distribute.
The domain name mapping response that step 104:DNS server obtains after receiving and carrying out domain name mapping operation from described forwarding dns server for domain name information, and domain name resolution response is sent to described client.
In this step 104, forward dns server and perform corresponding domain name mapping request work, the domain name mapping obtained for domain name analysis request by follow-up recursive query is responded, and the domain name mapping of acquisition response is sent to dns server.
In the scheme of the embodiment of the present invention one, if when local ISP is simultaneously for providing DNS to serve from mobile network and subscribers to telecommunication network, the solution of the present invention can be utilized to realize dns server and will to be sent to the forwarding dns server in communication network and the forwarding dns server in mobile network respectively from the request of subscribers to telecommunication network and mobile network user respectively, to obtain different analysis results, realize optimum parsing separately.But in the prior art, subscribers to telecommunication network and mobile network user can receive the analysis result that ICP is subscribers to telecommunication network setting, this analysis result Yan Shiyou's for subscribers to telecommunication network simultaneously, and mobile network user non-optimal.
Preferably, dns server detects the state that each forwards dns server in real time or periodically in the process of carrying out above-mentioned domain name mapping, and described state comprises the availability of viability and service;
Determine whether the state that each forwards dns server changes respectively;
Forward dns server state by survive and serve available change inactivation into or serve unavailable time, the corresponding relation of this forwarding dns server and buffer memory section is deleted, and when comprising survival in the buffer memory section corresponding to this forwarding dns server and serve available multiple forwarding dns server, adjustment is survived and is served the weighted value of available multiple forwarding dns servers;
Forward dns server state by inactivation or serve unavailable change into survival and serve available time, set up the corresponding relation by this forwarding dns server and buffer memory section, and when comprising at least one survival in the buffer memory section corresponding to this forwarding dns server and serve available forwarding dns server, adjustment is survived and is served the weighted value of available each forwarding dns server.
Utilizing dns server constantly to initiate various viability and availability detection to forwarding dns server, realizing the status checkout for forwarding dns server.Whether as adopted ICMP message packet to check main frame to survive, employing initiatively sends DNS service message or denial of service confirms whether SYN-ACK message inspection dns resolution business can be used.
In the scheme of the embodiment of the present invention one, due to the client ip address that carries in the domain name mapping request that dns server sends according to client and domain-name information, determine this buffer memory section belonging to domain name mapping request, domain name mapping request is sent to the forwarding dns server that the buffer memory section determined is corresponding, achieve the effective distribution to domain name mapping request, and then the restrictive condition avoided between different I SP, accelerate domain name mapping speed, make that domain name mapping is consuming time to shorten, analyzing efficiency improves; According to the weight of each forwarding dns server domain name analysis request is sent to simultaneously and forwards dns server accordingly, further increase domain name mapping speed and analyzing efficiency, improve Consumer's Experience; In addition, the existing state and usable service condition forwarding dns server is monitored, guarantees that DNS business forwarding process is normally carried out.
Embodiment two
Based on the same design with the embodiment of the present invention one, a kind of dns server is provided in the embodiment of the present invention two, this dns server 100 structural representation as shown in Figure 2, comprising: the first receiver module 11, first determination module 12, first sending module 13, second receiver module 14, second sending module 15.
First receiver module 11, for receiving the domain name mapping request from client, carries domain-name information in domain name analysis request;
First determination module 12, for be not home domain name in domain name information and this locality does not have domain name mapping that buffer memory is corresponding with domain name information to respond time, determine this forwarding domain name system DNS server belonging to domain name mapping request;
First sending module 13, for being sent to the forwarding dns server determined by domain name analysis request;
Second receiver module 14, for receive carry out domain name mapping operation from described forwarding dns server for domain name information after obtain domain name mapping response;
Second sending module 15, for sending to described client by domain name resolution response.
Preferably, described first determination module 12, specifically for according to the IP address of the client of carrying in domain name analysis request and domain-name information, determine this buffer memory section belonging to domain name mapping request, according to buffer memory section with forward the corresponding relation of dns server, determine the forwarding dns server of forwarding dns server belonging to this domain name mapping request that this buffer memory section belonging to domain name mapping request is corresponding.
Preferably, described first determination module 12, specifically in described buffer memory section during corresponding multiple forwarding dns server, according to the weighted value of each forwarding dns server, from the described multiple forwarding dns servers determined, the selection one of poll forwards dns server, and domain name analysis request being sent to the forwarding dns server of selection, the weighted value of described forwarding dns server determines according to the disposal ability of forwarding dns server to domain name mapping request.
Described dns server also comprises:
Detecting module 16, detect for the state each being forwarded to dns server, described state comprises the availability of viability and service;
Second determination module 17, for the result of detection according to detecting module, determines whether the state that each forwards dns server changes respectively;
Weighted value adjusting module 18, for forward dns server state by survive and serve available change inactivation into or serve unavailable time, the corresponding relation of this forwarding dns server and buffer memory section is deleted, and when comprising survival in the buffer memory section corresponding to this forwarding dns server and serve available multiple forwarding dns server, adjustment is survived and is served the weighted value of available multiple forwarding dns servers; Forward dns server state by inactivation or serve unavailable change into survival and serve available time, set up the corresponding relation by this forwarding dns server and buffer memory section, and when comprising at least one survival in the buffer memory section corresponding to this forwarding dns server and serve available forwarding dns server, adjustment is survived and is served the weighted value of available each forwarding dns server.
Embodiment three
As shown in Figure 3, it is the dns server structural representation in the embodiment of the present invention three, and domain name resolution system comprises: dns server 21 and forwarding dns server 22.
Dns server 21, for receiving the domain name mapping request from client, domain-name information is carried in domain name analysis request, when domain name information is not home domain name and this locality does not have domain name mapping that buffer memory is corresponding with domain name information to respond, determine this forwarding dns server belonging to domain name mapping request; Domain name analysis request is sent to the forwarding dns server determined, and the response of acceptance domain name analysis, and domain name resolution response is sent to described client;
Forwarding dns server 22, for receiving domain name analysis request, and after carrying out domain name mapping operation to the domain-name information carried in domain name analysis request, the domain name mapping obtained response being sent to described dns server.
Preferably, described dns server 21, specifically for according to the IP address of the client of carrying in domain name analysis request and domain-name information, determines this buffer memory section belonging to domain name mapping request; According to buffer memory section with forward the corresponding relation of dns server, determine the forwarding dns server of forwarding dns server belonging to this domain name mapping request that this buffer memory section belonging to domain name mapping request is corresponding.
Preferably, described dns server 21, specifically in described buffer memory section during corresponding multiple forwarding dns server, according to the weighted value of each forwarding dns server, from the described multiple forwarding dns servers determined, the selection one of poll forwards dns server, and domain name analysis request being sent to the forwarding dns server of selection, the weighted value of described forwarding dns server determines according to the disposal ability of forwarding dns server to domain name mapping request.
Preferably, described dns server, state also for forwarding dns server to each detects, described state comprises the availability of viability and service, determine whether the state that each forwards dns server changes respectively, forward dns server state by survive and serve available change inactivation into or serve unavailable time, the corresponding relation of this forwarding dns server and buffer memory section is deleted, and when comprising survival in the buffer memory section corresponding to this forwarding dns server and serve available multiple forwarding dns server, adjustment is survived and is served the weighted value of available multiple forwarding dns servers, forward dns server state by inactivation or serve unavailable change into survival and serve available time, set up the corresponding relation by this forwarding dns server and buffer memory section, and when comprising at least one survival in the buffer memory section corresponding to this forwarding dns server and serve available forwarding dns server, adjustment is survived and is served the weighted value of available each forwarding dns server.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) of computer usable program code.
The present invention describes with reference to according to the flow chart of the method for the embodiment of the present invention, equipment (system) and computer program and/or block diagram.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can being provided to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computer or other programmable data processing device produce device for realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make on computer or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computer or other programmable devices is provided for the step realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
Although describe the preferred embodiments of the present invention, those skilled in the art once obtain the basic creative concept of cicada, then can make other change and amendment to these embodiments.So claims are intended to be interpreted as comprising preferred embodiment and falling into all changes and the amendment of the scope of the invention.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (7)

1. a domain name analytic method, is characterized in that, described method comprises:
Receive the domain name mapping request from client, in domain name analysis request, carry domain-name information;
When domain name information is not home domain name and this locality does not have domain name mapping that buffer memory is corresponding with domain name information to respond, determine this forwarding domain name system DNS server belonging to domain name mapping request;
Domain name analysis request is sent to the forwarding dns server determined;
Receive the domain name mapping response obtained after carrying out domain name mapping operation from described forwarding dns server for domain name information, and domain name resolution response is sent to described client;
The described forwarding dns server determined belonging to this client, is specially:
According to the client ip address carried in domain name analysis request and domain-name information, determine this buffer memory section belonging to domain name mapping request;
According to buffer memory section with forward the corresponding relation of dns server, determine the forwarding dns server of forwarding dns server belonging to this domain name mapping request that this buffer memory section belonging to domain name mapping request is corresponding.
2. domain name analytic method as claimed in claim 1, is characterized in that, in described buffer memory section during corresponding multiple forwarding dns server, domain name analysis request is sent to the forwarding dns server determined and is specially:
According to the weighted value of each forwarding dns server, from the described multiple forwarding dns servers determined, the selection one of poll forwards dns server, and domain name analysis request being sent to the forwarding dns server of selection, the weighted value of described forwarding dns server determines according to the disposal ability of this forwarding dns server to domain name mapping request.
3. domain name analytic method as claimed in claim 2, it is characterized in that, described method also comprises:
Detect the state that each forwards dns server, described state comprises the availability of viability and service;
Determine whether the state that each forwards dns server changes respectively;
Forward dns server state by survive and serve available change inactivation into or serve unavailable time, the corresponding relation of this forwarding dns server and buffer memory section is deleted, and when comprising survival in the buffer memory section corresponding to this forwarding dns server and serve available multiple forwarding dns server, adjustment is survived and is served the weighted value of available multiple forwarding dns servers;
Forward dns server state by inactivation or serve unavailable change into survival and serve available time, set up the corresponding relation of this forwarding dns server and buffer memory section, and when comprising at least one survival in the buffer memory section corresponding to this forwarding dns server and serve available forwarding dns server, adjustment is survived and is served the weighted value of available each forwarding dns server.
4. a dns server, is characterized in that, described dns server comprises:
First receiver module, for receiving the domain name mapping request from client, carries domain-name information in domain name analysis request;
First determination module, for be not home domain name in domain name information and this locality does not have domain name mapping that buffer memory is corresponding with domain name information to respond time, determine this forwarding domain name system DNS server belonging to domain name mapping request;
First sending module, for being sent to the forwarding dns server determined by domain name analysis request;
Second receiver module, for receive carry out domain name mapping operation from described forwarding dns server for domain name information after obtain domain name mapping response;
Second sending module, for sending to described client by domain name resolution response;
Described first determination module, specifically for according to the client ip address carried in domain name analysis request and domain-name information, determine this buffer memory section belonging to domain name mapping request, according to buffer memory section with forward the corresponding relation of dns server, determine the forwarding dns server of forwarding dns server belonging to this domain name mapping request that this buffer memory section belonging to domain name mapping request is corresponding.
5. dns server as claimed in claim 4, is characterized in that,
Described first determination module, specifically in described buffer memory section during corresponding multiple forwarding dns server, according to the weighted value of each forwarding dns server, from the described multiple forwarding dns servers determined, the selection one of poll forwards dns server, and domain name analysis request being sent to the forwarding dns server of selection, the weighted value of described forwarding dns server determines according to the disposal ability of forwarding dns server to domain name mapping request.
6. dns server as claimed in claim 5, it is characterized in that, described dns server also comprises:
Detecting module, detect for the state each being forwarded to dns server, described state comprises the availability of viability and service;
Second determination module, for the result of detection according to detecting module, determines whether the state that each forwards dns server changes respectively;
Weighted value adjusting module, for forward dns server state by survive and serve available change inactivation into or serve unavailable time, the corresponding relation of this forwarding dns server and buffer memory section is deleted, and when comprising survival in the buffer memory section corresponding to this forwarding dns server and serve available multiple forwarding dns server, adjustment is survived and is served the weighted value of available multiple forwarding dns servers; Forward dns server state by inactivation or serve unavailable change into survival and serve available time, set up the corresponding relation of this forwarding dns server and buffer memory section, and when comprising at least one survival in the buffer memory section corresponding to this forwarding dns server and serve available forwarding dns server, adjustment is survived and is served the weighted value of available each forwarding dns server.
7. a domain name analysis system, is characterized in that, domain name resolution system comprises: dns server and forwarding dns server;
Described dns server, for receiving the domain name mapping request from client, domain-name information is carried in domain name analysis request, when domain name information is not home domain name and this locality does not have domain name mapping that buffer memory is corresponding with domain name information to respond, determine this forwarding dns server belonging to domain name mapping request; Domain name analysis request is sent to the forwarding dns server determined, and the response of acceptance domain name analysis, and domain name resolution response is sent to described client;
Described forwarding dns server, for receiving domain name analysis request, and after carrying out domain name mapping operation to the domain-name information carried in domain name analysis request, sends to described dns server by the domain name mapping obtained response;
Described dns server, specifically for according to the IP address of the client of carrying in domain name analysis request and domain-name information, determines this buffer memory section belonging to domain name mapping request; According to buffer memory section with forward the corresponding relation of dns server, determine the forwarding dns server of forwarding dns server belonging to this domain name mapping request that this buffer memory section belonging to domain name mapping request is corresponding.
CN201210541593.3A 2012-12-13 2012-12-13 Domain name analytic method, dns server and domain name analysis system Active CN103051740B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210541593.3A CN103051740B (en) 2012-12-13 2012-12-13 Domain name analytic method, dns server and domain name analysis system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210541593.3A CN103051740B (en) 2012-12-13 2012-12-13 Domain name analytic method, dns server and domain name analysis system

Publications (2)

Publication Number Publication Date
CN103051740A CN103051740A (en) 2013-04-17
CN103051740B true CN103051740B (en) 2016-04-20

Family

ID=48064233

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210541593.3A Active CN103051740B (en) 2012-12-13 2012-12-13 Domain name analytic method, dns server and domain name analysis system

Country Status (1)

Country Link
CN (1) CN103051740B (en)

Families Citing this family (32)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110071986A (en) * 2013-08-14 2019-07-30 阿里巴巴集团控股有限公司 A kind of system for domain name mapping
CN103546590A (en) * 2013-10-18 2014-01-29 北京奇虎科技有限公司 Method and device for choosing DNS (domain name server)
CN103595825B (en) * 2013-10-25 2017-11-03 北京奇虎科技有限公司 Domain name mapping detection method and device, server
CN103685056A (en) * 2014-01-14 2014-03-26 互联网域名系统北京市工程研究中心有限公司 Load balancing method and load balancing system
CN104079668B (en) * 2014-07-21 2018-12-28 清远初曲智能科技有限公司 A kind of DNS load balancing adjusting method and system
CN104283804B (en) * 2014-10-27 2018-05-11 新华三技术有限公司 A kind of balancing link load method and apparatus
CN105577843A (en) * 2014-11-07 2016-05-11 华耀(中国)科技有限公司 System and method for realizing link load balance based on multi-strategy DNS proxy
CN105791450A (en) * 2014-12-19 2016-07-20 中兴通讯股份有限公司 Redirecting method, device and system for domain name system DNS
CN106161664A (en) * 2015-04-15 2016-11-23 阿里巴巴集团控股有限公司 Domain name analytic method and device, data transmission method and device
CN106487938B (en) * 2015-08-24 2019-11-26 南京中兴软件有限责任公司 The retransmission method and device of domain name
CN105610995A (en) * 2015-09-11 2016-05-25 宇龙计算机通信科技(深圳)有限公司 Selection method of DNS server, selection device of the DNS server and terminal
CN105262851B (en) * 2015-09-16 2019-04-09 互联网域名系统北京市工程研究中心有限公司 One kind being based on shifty DNS retransmission method and system
CN105338128B (en) * 2015-09-25 2018-09-25 互联网域名系统北京市工程研究中心有限公司 Domain name analytic method and domain name mapping device
CN105357328B (en) * 2015-09-28 2018-10-02 互联网域名系统北京市工程研究中心有限公司 Domain name analytic method, DNS recursion servers and domain name analysis system
CN105681488B (en) * 2016-01-28 2019-07-23 安徽四创电子股份有限公司 A kind of service network address acquiring method based on the distribution of fleet cluster service
CN106067890B (en) * 2016-03-29 2017-11-14 北京肇煜宏泰信息科技有限公司 A kind of domain name analytic method, apparatus and system
CN107341651B (en) * 2016-04-28 2020-08-14 阿里巴巴集团控股有限公司 Transaction data association method, IP acquisition method, transaction server and terminal
CN106534396A (en) * 2016-11-08 2017-03-22 安徽马钢自动化信息技术有限公司 Domain name analysis method and analysis system with multiple forwarding servers
CN106453669B (en) * 2016-12-27 2020-07-31 Tcl科技集团股份有限公司 Load balancing method and server
CN106888277B (en) * 2017-03-07 2023-02-14 腾讯科技(深圳)有限公司 Domain name query method and device
CN106790296B (en) * 2017-03-16 2020-02-14 中国联合网络通信集团有限公司 Domain name record verification method and device
CN107528862B (en) * 2017-10-23 2021-04-30 京东数字科技控股有限公司 Domain name resolution method and device
CN108156274A (en) * 2017-12-18 2018-06-12 杭州迪普科技股份有限公司 Equipment is made to obtain the method and device of domain name mapping result in a kind of VPN network
CN108718347B (en) * 2018-05-18 2021-12-03 腾讯科技(深圳)有限公司 Domain name resolution method, system, device and storage medium
CN111245944B (en) * 2020-01-14 2022-10-04 广州虎牙科技有限公司 Domain name resolution method and device, electronic equipment and storage medium
CN112769976B (en) * 2021-01-13 2023-10-24 网宿科技股份有限公司 Domain name resolution method and system
CN115086275B (en) * 2021-03-12 2024-03-08 中国电信股份有限公司 Message processing method, device, medium and electronic equipment
CN113905017B (en) * 2021-10-14 2023-03-24 牙木科技股份有限公司 Domain name resolution caching method, DNS (Domain name Server) and computer readable storage medium
CN113900817B (en) * 2021-10-15 2022-09-13 广州电力通信网络有限公司 Mirror image root server processing terminal processing method based on IPV6 energy industry
CN114500450B (en) * 2021-12-22 2023-10-10 天翼云科技有限公司 Domain name resolution method, device and computer readable storage medium
CN115396397B (en) * 2022-04-13 2023-07-14 中国人民解放军国防科技大学 Method and device for determining service range of cache domain name system based on forwarding relation
CN116489128A (en) * 2023-06-02 2023-07-25 北京云宽志业网络技术有限公司 Domain name resolution method and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101431539A (en) * 2008-12-11 2009-05-13 华为技术有限公司 Domain name resolution method, system and apparatus
CN101841577A (en) * 2010-06-07 2010-09-22 中兴通讯股份有限公司 Method and device for implementing domain name resolution agent function
CN102572014A (en) * 2012-03-07 2012-07-11 华为终端有限公司 Message processing method and device and system thereof
CN102790809A (en) * 2011-05-16 2012-11-21 奇智软件(北京)有限公司 Domain name system resolution method, device and client

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000052594A2 (en) * 1999-03-03 2000-09-08 Ultradns, Inc. Scalable and efficient domain name resolution

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101431539A (en) * 2008-12-11 2009-05-13 华为技术有限公司 Domain name resolution method, system and apparatus
CN101841577A (en) * 2010-06-07 2010-09-22 中兴通讯股份有限公司 Method and device for implementing domain name resolution agent function
CN102790809A (en) * 2011-05-16 2012-11-21 奇智软件(北京)有限公司 Domain name system resolution method, device and client
CN102572014A (en) * 2012-03-07 2012-07-11 华为终端有限公司 Message processing method and device and system thereof

Also Published As

Publication number Publication date
CN103051740A (en) 2013-04-17

Similar Documents

Publication Publication Date Title
CN103051740B (en) Domain name analytic method, dns server and domain name analysis system
US11546446B2 (en) System and method for facilitating routing
JP5150769B2 (en) Updating routing information using request routing and client location information
JP5404766B2 (en) Method and system for requesting routing
EP2263164B1 (en) Request routing based on class
JP6146950B2 (en) Method and system for requesting routing using a network computing component
US9294391B1 (en) Managing network computing components utilizing request routing
US8065417B1 (en) Service provider registration by a content broker
CN111345012A (en) DNS resolution using link-level capacity of destination system
RU2464722C2 (en) Method, device and system for distribution of messages
CN103905572A (en) Domain name resolution request processing method and device
CN103338279A (en) Optimal sorting method and system based on domain name resolution
CN109151009B (en) CDN node distribution method and system based on MEC
CN111212134A (en) Request message processing method and device, edge computing system and electronic equipment
CN103780654A (en) Business request processing method, user terminal, business router and network system
JP2007207231A (en) Method for accessing distributed service in network
CN103841045A (en) Internet cache processing method, content detection subsystem and Cache system
CN104468853A (en) Domain name resolution method, server and system
CN102594885A (en) Sensor network analyzing intercommunicating platform, sensor network intercommunicating method and system
CN104936202B (en) 6LoWPAN wireless sensor network management system based on CoAP agreement
CN112543212B (en) System for providing request response exact communication delay guarantee for distributed service
US10243920B1 (en) Internet protocol address reassignment between virtual machine instances
CN105681249A (en) Network access method and network conversion equipment
JP2013026993A (en) Node detection device, node detection method, and program
US8972604B1 (en) Network address retention and assignment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 200233 Room 401, building 1, No. 180, Yizhou Road, Xuhui District, Shanghai

Patentee after: Yamu Technology Co.,Ltd.

Address before: Room 600, building 1, Huigu Chuangye, 33 Leshan Road, Xuhui District, Shanghai 200030

Patentee before: SHANGHAI YAMU COMMUNICATION TECHNOLOGY Co.,Ltd.