CN103167044A - Intelligent analysis method of domain name system (DNS) and poking measurement device and system - Google Patents

Intelligent analysis method of domain name system (DNS) and poking measurement device and system Download PDF

Info

Publication number
CN103167044A
CN103167044A CN2011104064757A CN201110406475A CN103167044A CN 103167044 A CN103167044 A CN 103167044A CN 2011104064757 A CN2011104064757 A CN 2011104064757A CN 201110406475 A CN201110406475 A CN 201110406475A CN 103167044 A CN103167044 A CN 103167044A
Authority
CN
China
Prior art keywords
domain name
address
testing
dns server
local dns
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2011104064757A
Other languages
Chinese (zh)
Other versions
CN103167044B (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.)
China Mobile Group Zhejiang Co Ltd
Original Assignee
China Mobile Group Zhejiang 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 China Mobile Group Zhejiang Co Ltd filed Critical China Mobile Group Zhejiang Co Ltd
Priority to CN201110406475.7A priority Critical patent/CN103167044B/en
Publication of CN103167044A publication Critical patent/CN103167044A/en
Application granted granted Critical
Publication of CN103167044B publication Critical patent/CN103167044B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides an intelligent analysis method of a domain name system (DNS), a poking measurement device and a system, and relates to the DNS analysis field so as to solve the technical problems that DNS analysis results of an authorized server in the prior art are not accurate enough. The method includes the steps that the poking measurement device receives recursion requests launched by a first local DNS server which provides analysis service for a terminal user, the recursion requests comprise domain names to be accessed, the poking measurement device and the terminal user have the same network exit, the poking measurement device looks up internet protocol (IP) addresses corresponding to the domain names to be accessed in an analysis list of the poking measurement device, the analysis list saves the IP addresses selected through poking measurement in advance and corresponding to the domain names, the poking measurement device sends the IP addresses looked up to the first local DNS server, and the first local DNS server sends the IP addresses to the terminal user. The intelligent analysis method, the poking measurement device and the system can optimize the DNS analysis results of the authorized server.

Description

The method of the intelligently parsing of domain name system DNS, testing device and system
Technical field
The present invention relates to the DNS name resolution field, be specially a kind of method, testing device and system of intelligently parsing of domain name system DNS.
Background technology
DNS (Domain Name System, domain name system) as the part of Internet service, provides the mapping relations of domain name and IP.Along with the development of the Internet, due to the barrier of resource and system, make internetworking link circuit resource growing tension between the different operators network, cause the access to netwoks speed of cross operator to be subject to very big impact.For solving this kind problem, large-scale ICP (Internet Content Provider, Web content service provider) can all set up server in the net of different operators, simultaneously by the judgement in domain name mapping, the guiding user accesses the content in identical network nearby.This kind is by the judgement in domain name mapping, and the guiding user accesses the technology of the content in present networks nearby, is DNS intelligently parsing technology.This technology is applicable to the situation in the domain name of the equal configuration server of different operators, and only at the ICP of independent operator configuration server, need not to use this technology.
The DNS system is a distributed system.Be erected at operator's end, be configured in broadband user's end, the dns server that receives broadband user's domain name mapping request is referred to as local dns; Set up by ICP, or set up by the tissue that the domain name mapping service is provided specially, realize that domain name is referred to as to authorize DNS with the dns server of the corresponding configuration relation of IP.
At present, authorize DNS to possess the intelligently parsing function.The method of a kind of mandate intelligence DNS based on the IP matching addresses of the prior art.Described method comprises: subscriber's local DNS is to authorizing DNS to forward the domain name mapping request, authorize DNS to obtain subscriber's local DNS, and judge circuit/regional ascription according to many IP address resource tables of dividing by circuit/region, provide corresponding analysis result, local dns and then analysis result is transmitted to the user.In prior art, authorized DNS server carries out intelligent dns resolution, is based on the IP address resource table that circuit/region is divided.Integrality, the accuracy of IP address resource table directly affect analysis result.Therefore, because IP address resource table is not often up-to-date, therefore, the analysis result of authorized DNS server is not optimum.
Summary of the invention
The technical problem to be solved in the present invention is to provide a kind of method, testing device and system of intelligently parsing of domain name system DNS, can optimize the domain name mapping result of authorized DNS server.
For solving the problems of the technologies described above, embodiments of the invention provide technical scheme as follows:
On the one hand, provide a kind of method of intelligently parsing of domain name system DNS, comprising:
The testing device is received as the recurrence request that the terminal use provides the first local dns server initiation of analysis service; Described recurrence request comprises domain name to be visited; Described testing device has identical network egress with described terminal use;
Described testing device is searched IP address corresponding to described domain name to be visited in its resolution table, described resolution table is preserved the IP address of selecting through testing in advance corresponding to domain name;
Described testing device sends to described the first local dns server the described IP address that finds, and sends to described terminal use by described the first local dns server.
Before described testing device was received as the terminal use and provides the step of the recurrence request that the first local dns server of analysis service initiates, described method also comprises: generate resolution table, this step specifically comprised:
On described the first local dns server and at least one second local dns server, domain name is carried out the first domain name testing, generate at least two the first domain name testing results; Described the first domain name testing result comprises: the IP address that domain name is corresponding;
From the IP address of described at least two the first domain name testing results, the IP address of network performance the best when selecting from the described domain name to be visited of described testing device access is as IP address corresponding to domain name;
Record IP address corresponding to domain name and domain name, generate resolution table.
Described from the IP address of described at least two the first domain name testing results, the IP address of network performance the best when selecting from the described domain name to be visited of described testing device access comprises as the step of IP address corresponding to domain name:
Judge whether described at least two IP addresses in the first domain name testing result are all identical each other, generate judged result;
If described judgment result is that is to extract the IP address in described the first domain name testing result, as IP address corresponding to domain name;
If describedly judgment result is that to have two IP addresses at least not identical, described testing device carries out respectively the traceroute test to the IP address in described at least two the first domain name testing results, generate at least two network performance testing results, described network performance testing result comprises: the network performance parameter that the IP address is corresponding; Select the IP address according to described network performance parameter, as IP address corresponding to domain name.
Described network performance parameter comprises: arrive the required time delay in described IP address and/or arrive the required jumping figure of ICP server of described IP address from described testing device from described testing device;
Describedly select the IP address according to described network performance parameter, be specially as the step of IP address corresponding to domain name: select jumping figure minimum IP address; Or select time delay minimum IP address; Or from jumping figure minimum a plurality of IP address, select time delay minimum IP address; Or from time delay minimum a plurality of IP address, select jumping figure minimum IP address, as IP address corresponding to domain name.
Described the first domain name testing result also comprises: duration life cycle that the IP address is corresponding;
Described domain name and IP address corresponding to domain name of recording, the step that generates resolution table is specially: record domain name, duration life cycle corresponding to IP address and described IP address that domain name is corresponding, generate resolution table;
After the step of described generation resolution table, described method also comprises: upgrade described resolution table, this step specifically comprises:
Before the scheduled duration of the life cycle that arrives described IP address, on described the first local dns server and at least one second local dns server, domain name is carried out the second domain name testing, generate at least two the second domain name testing results;
According to described the second domain name testing result, process described resolution table.
Described the second domain name testing result comprises: the IP address that domain name is corresponding;
Described according to described the second domain name testing result, the step of processing described resolution table comprises:
If described the second domain name testing result and described the first domain name testing come to the same thing, do not upgrade described resolution table;
If described the second domain name testing result is different from described the first domain name testing result, from the IP address of described at least two the second domain name testing results, the IP address of selection network performance the best during from the described domain name to be visited of described testing device access, and use the IP address of described network performance the best to upgrade described resolution table.
Before described testing device was received as the terminal use and provides the step of the recurrence request that the first local dns server of analysis service initiates, described method also comprised;
Described the first local dns server receives described terminal use's domain name mapping request; The domain name analysis request comprises domain name to be visited;
Described the first local dns judges whether its this locality preserves IP address corresponding to described domain name to be visited;
If preserve the IP address of described correspondence, send to the terminal use; If no, initiate the recurrence request to described testing device.
The method of the intelligently parsing of described domain name system DNS also comprises:
If do not find IP address corresponding to described domain name to be visited in described resolution table, on described the first local dns server and at least one second local dns server, described domain name to be visited is carried out the 3rd domain name testing, generate at least two the 3rd domain name testing results; Described the 3rd domain name testing result comprises: the IP address that described domain name to be visited is corresponding;
The IP address of network performance the best when selecting from the described domain name to be visited of described testing device access at least from the IP address of described two the 3rd domain name testing results is as IP address corresponding to described domain name to be visited;
Send the IP address of described network performance the best to described the first local dns server, and send to described terminal use by described the first local dns server.
Described method also comprises:
Described the first local dns server is in its local IP address of preserving described domain name to be visited and described correspondence.
On the other hand, provide a kind of testing device, comprising:
Receiver module is received as the recurrence request that the terminal use provides the first local dns server initiation of analysis service; Described recurrence request comprises domain name to be visited;
Search module, search IP address corresponding to described domain name to be visited in its resolution table, described resolution table is preserved the IP address of selecting through testing in advance corresponding to domain name;
Sending module sends to described the first local dns server the described IP address that finds, and sends to described terminal use by described the first local dns server.
Described testing device also comprises:
Generation module is used for generating resolution table, and described generation module comprises:
The first domain name testing submodule carries out the first domain name testing to domain name on described the first local dns server and at least one second local dns server, generate at least two the first domain name testing results; Described the first domain name testing result comprises: the IP address that domain name is corresponding;
The chooser module, from the IP address of described at least two the first domain name testing results, the IP address of network performance the best when selecting from the described domain name to be visited of described testing device access is as IP address corresponding to domain name;
Generate submodule, record IP address corresponding to domain name and domain name, generate resolution table.
Described the first domain name testing result also comprises: duration life cycle that the IP address is corresponding;
Described generation submodule is specially: record domain name, duration life cycle corresponding to IP address and described IP address that domain name is corresponding, generate resolution table;
Described testing device also comprises: update module is used for upgrading described resolution table; Described update module comprises:
The second domain name testing submodule, before the scheduled duration of the life cycle that arrives described IP address, on described the first local dns server and at least one second local dns server, domain name is carried out the second domain name testing, generate at least two the second domain name testing results;
Process submodule, according to described the second domain name testing result, process described resolution table.
Described testing device also comprises:
Domain name testing module, if do not find IP address corresponding to described domain name to be visited in described resolution table, on described the first local dns server and at least one second local dns server, described domain name to be visited is carried out the 3rd domain name testing, generate at least two the 3rd domain name testing results; Described the 3rd domain name testing result comprises: the IP address that described domain name to be visited is corresponding;
Select module, select the IP address of the best of network performance parameter during from the described domain name to be visited of described testing module accesses at least from the IP address of described two the 3rd domain name testing results, as IP address corresponding to described domain name to be visited;
Described sending module also is used for, and sends the IP address of described network performance parameter the best to described the first local dns server, and sends to described terminal use by described the first local dns server.
On the other hand, provide a kind of system of intelligently parsing of domain name system DNS, comprising: testing device, terminal use, the first local dns server; Described testing device has identical network egress with described terminal use; Described the first local dns server is described terminal use's local dns server;
Described testing device is used for being received as the recurrence request that the terminal use provides the first local dns server initiation of analysis service; Described recurrence request comprises domain name to be visited; Search IP address corresponding to described domain name to be visited in its resolution table, described resolution table is preserved the IP address of selecting through testing in advance corresponding to domain name; Send to described the first local dns server the described IP address that finds, and send to described terminal use by described the first local dns server.
The system of the intelligently parsing of described domain name system DNS also comprises: at least one the second local dns server and authorization server;
Described testing device also is used for, if do not find IP address corresponding to described domain name to be visited in described resolution table, on described the first local dns server and described at least one second local dns server, described domain name to be visited is carried out the 3rd domain name testing, generate at least two the 3rd domain name testing results; Described the 3rd domain name testing result comprises: the IP address that described domain name to be visited is corresponding; The IP address of network performance parameter the best when selecting from the described domain name to be visited of described testing device access at least from the IP address of described two the 3rd domain name testing results is as IP address corresponding to described domain name to be visited; Send the IP address of described network performance parameter the best to described the first local dns server, and send to described terminal use by described the first local dns server;
Described authorization server is used for carrying out the DNS intelligently parsing, and sends the 3rd domain name testing result to described the first local dns server and the second local dns server;
Described the second local dns server is used for receiving the 3rd domain name testing result from described authorization server, and sends to described testing device.
The local dns server that described the second local dns server and described the first local dns server are different ownership place; Perhaps, the local dns server that described the second local dns server is corresponding with described user is the local dns server of different operators.
In above-described embodiment, carry out the domain name testing at a plurality of local dns, initiatively understand the deployment scenario of the whole network server of domain name to be visited, by the testing device, each node server is carried out actual testing and choose the excellent service node of network performance, optimize the analysis result of DNS authorization server, made the terminal use can access network performance corresponding to domain name better IP address.
Description of drawings
Fig. 1 is the schematic flow sheet of an embodiment of method of the intelligently parsing of a kind of domain name system DNS of the present invention;
Fig. 2 is the schematic flow sheet of another embodiment of method of the intelligently parsing of a kind of domain name system DNS of the present invention;
Fig. 3 is the structural representation of an embodiment of testing device of the present invention;
Fig. 4 is the structural representation of embodiment of system of the intelligently parsing of a kind of domain name system DNS of the present invention;
Fig. 5 is based on the schematic diagram of the local dns intelligently parsing system of testing in application scenarios of the present invention;
Fig. 6 is based on the schematic diagram of the domain name system DNS intelligently parsing method of active testing in application scenarios of the present invention.
Embodiment
For technical problem, technical scheme and advantage that embodiments of the invention will be solved is clearer, be described in detail below in conjunction with the accompanying drawings and the specific embodiments.
As shown in Figure 1, the embodiment for the method for the intelligently parsing of a kind of domain name system DNS of the present invention comprises:
Step 11, the first local dns server receives described terminal use's domain name mapping request; The domain name analysis request comprises domain name to be visited; For example, the terminal use need to access the SINA website; Initiate the domain name mapping request to the first local dns server, described analysis request comprises: www.sina.com.
Step 12, described the first local dns server judge whether its this locality preserves IP address corresponding to described domain name to be visited;
Step 13, if described the first local dns server is preserved the IP address of described correspondence, described the first local dns server sends to the terminal use with the IP address of correspondence; For example, if the first local dns server is preserved Ip address http corresponding to www.sina.com: // 202.108.98.132; Send http to the terminal use: // 202.108.98.132.Wherein, the domain name addresses that described the first local dns is preserved and corresponding IP address information can be obtained from described testing device transmission information before, and this obtaining step has description hereinafter.
Step 14, if do not have, described the first local dns server is initiated the recurrence request to described testing device.Described recurrence request comprises domain name to be visited; Described testing device has identical network egress with described terminal use.This testing device and described terminal use access the sub-network of same operator, and access network environment is identical, and its effect is that the pseudo-terminal user carries out testing, obtaining when the end-user access domain name, and the IP address that obtains network performance the best.
Step 15, testing device are received as the recurrence request that the terminal use provides the first local dns server initiation of analysis service.
Step 16, described testing device are searched IP address corresponding to described domain name to be visited in its resolution table, described resolution table is preserved the IP address of selecting through testing in advance corresponding to domain name; Resolution table can be for generating in advance.It describes the generation step of resolution table hereinafter.
Step 17, if the testing device finds IP address corresponding to described domain name to be visited in described resolution table, the testing device sends to described the first local dns server the described IP address find, and the described IP address that will be found by described the first local dns server sends to described terminal use.Not through testing in advance, need real-time testing when domain name to be visited, obtain the IP address of network performance the best corresponding to domain name to be visited.The IP address corresponding due to domain name in resolution table is through testing in advance, and therefore, the information of comparing the IP address of returning by authorization server in present technology is more accurate.Optionally, in the time of step 17, described the first local dns server can be in its local IP address of preserving described domain name to be visited and described correspondence.When the other-end user in next this access network sends the analysis request of same domain name to described the first local dns server, can by searching the first local dns server at the corresponding relation of the IP address of its local domain name described to be visited of preserving and described correspondence, accelerate processing speed.
Step 18, if the testing device does not find IP address corresponding to described domain name to be visited in described resolution table, the testing device carries out the 3rd domain name testing to described domain name to be visited on described the first local dns server and at least one second local dns server, generates at least two the 3rd domain name testing results; Described the 3rd domain name testing result comprises: the IP address that described domain name to be visited is corresponding.Not through testing in advance, need real-time testing when domain name to be visited, obtain the IP address of network performance the best corresponding to domain name to be visited.The second local dns server is that other local dns servers of analysis service are not provided for the terminal use.For example, can be positioned at described terminal use the network of different operators, also can be positioned at the sub-network of different operators with described terminal use, different from described terminal use's network environment, network egress is different.For example, the terminal use is mobile Jiangsu user, testing module is carried out the testing of domain name www.sina.com on the local dns server in mobile Jiangsu, the IP address that authorization server returns to the local dns server in mobile Jiangsu is 202.101.98.132; Simultaneously, the testing module is carried out the testing of domain name www.sina.com on the local dns server in mobile Zhejiang, and the IP address that authorization server returns to the local dns server in mobile Zhejiang is 202.102.98.132; Simultaneously, the testing module is carried out the testing of domain name www.sina.com on the local dns server in the Jiangsu of UNICOM, and the IP address of local dns server that authorization server returns to the Jiangsu of UNICOM is 202.103.98.132.Simultaneously, the testing module is carried out the testing of domain name www.sina.com on the local dns server in the Zhejiang of UNICOM, and the IP address of local dns server that authorization server returns to the Zhejiang of UNICOM is 202.104.98.132.
The IP address of network performance the best when step 19, testing device are selected from the described domain name to be visited of described testing device access at least from the IP address of described two the 3rd domain name testing results is as IP address corresponding to described domain name to be visited.For example, four IP addresses are respectively: 202.101.98.132,202.102.98.132,202.103.98.132,202.104.98.132.Select 202.101.98.132 from above-mentioned four IP addresses.
Step 110, the testing device sends the IP address of described network performance the best to described the first local dns server, and by described the first local dns server, the IP address of described network performance the best is sent to described terminal use, thereby, the ICP server corresponding to IP address of end-user access network performance the best.For example, the testing device sends the information of 202.101.98.132 to described the first local dns server, and described the first local dns server sends the information of 202.101.98.132 for described terminal use.
Optionally, in the time of step 110, described the first local dns server can be in its local IP address of preserving described domain name to be visited and described correspondence.When the other-end user in next this access network sends the analysis request of same domain name to described the first local dns server, can by searching the first local dns server at the corresponding relation of the IP address of its local domain name described to be visited of preserving and described correspondence, accelerate processing speed.
Step 19 is specially:
Step 191 judges whether described at least two IP addresses in the 3rd domain name testing result are all identical each other, generate judged result;
Step 192 is if described judgment result is that is to extract the IP address in described the 3rd domain name testing result, as IP address corresponding to domain name; In this step, generate respectively the 3rd a domain name testing result for each local dns server, for example, the IP address in four the 3rd domain name testing results is all identical, be all: 202.101.98.132, with 202.101.98.132 as IP address corresponding to domain name.When having a plurality of the 3rd domain name testings as a result, be for example three, the IP address that is all mutually in any two the 3rd domain name testing results described herein is all identical.
Step 193, if describedly judgment result is that to have two IP addresses at least not identical, described testing device carries out respectively the traceroute test to the IP address in described at least two the 3rd domain name testing results, generate at least two network performance testing results, described network performance testing result comprises: the network performance parameter that the IP address is corresponding; Wherein, described network performance parameter can comprise: arrive the required time delay of the ICP server of described IP address and/or arrive the required jumping figure of ICP server of described IP address from described testing device from described testing device.If, IP address in four the 3rd domain name testing results is respectively: 202.101.98.132,202.102.98.132,202.103.98.132,202.104.98.132, not mutually the same, described testing device carries out the traceroute test to above-mentioned four IP addresses respectively, respectively generating network performance testing result.When having a plurality of the 3rd domain name testings as a result, be for example three, it is described herein that not to be all mutually at least two IP addresses in the 3rd domain name testing result not identical.Then, change step 194 over to
Step 194 is selected the IP address according to described network performance parameter, as IP address corresponding to domain name.
Suppose, the network performance testing result that an IP address 202.101.98.132 is corresponding is that jumping figure is 5, and time delay is 20S.
The network performance testing result that the 2nd IP address 202.102.98.132 is corresponding is that jumping figure is 6, and time delay is 30S.
The network performance testing result that the 3rd IP address 202.103.98.132 is corresponding is that jumping figure is 5, and time delay is 10S.
The network performance testing result that the 4th IP address 202.103.98.132 is corresponding is that jumping figure is 6, and time delay is 10S.
Step 194 is specially:
The minimum IP address of selection jumping figure is as IP address corresponding to domain name; For example, in above-mentioned example, can select an IP address or the 3rd IP address;
Or, select time delay minimum IP address, as IP address corresponding to domain name; For example, in above-mentioned example, can select the 4th IP address.
Or, from jumping figure minimum a plurality of IP address, select time delay minimum IP address, as IP address corresponding to domain name; For example, select the 3rd IP address.
Or, from time delay minimum a plurality of IP address, select jumping figure minimum IP address, as IP address corresponding to domain name.For example, select the 4th IP address.
In prior art, the terminal use can be the broadband user, and the first local dns server provides the dns resolution service for the broadband user, replaces the broadband user to send the recurrence request to authorization server.Authorization server sends the result of process DNS intelligently parsing, i.e. IP address corresponding to domain name to the first local dns server.But the result that authorized DNS server returns is not often best IP address.
In such scheme, testing unit simulation terminal use carries out the domain name testing on a plurality of local dns servers, and authorized DNS server is accepted the request of different local dns servers, through the DNS intelligently parsing, returns to a plurality of IP address to different local dns servers.Testing unit simulation terminal use, test arrives the network performance of the ICP server of each IP address from the testing device, thereby select the IP address of network performance the best for the terminal use, thereby, ICP internet content carrier server corresponding to IP address that terminal can accesses network performance the best.
As shown in Figure 2, implemented for another of the method for the intelligently parsing of a kind of domain name system DNS of the present invention, having comprised:
Step 21, the testing device generates resolution table; The concrete steps that generate resolution table will be explained below.
Step 22, the testing device upgrades described resolution table; The concrete steps of upgrading resolution table will be explained below.
Step 23, the first local dns server receives described terminal use's domain name mapping request; The domain name analysis request comprises domain name to be visited; For example, the terminal use need to access the SINA website; Initiate the domain name mapping request to the first local dns server, described analysis request comprises: www.sina.com.
Step 24, described the first local dns judge whether its this locality preserves IP address corresponding to described domain name to be visited; For example, if the first local dns server is preserved Ip address http corresponding to www.sina.com: // 202.108.98.132; Send http to the terminal use: // 202.108.98.132.Wherein, the domain name addresses that described the first local dns is preserved and corresponding IP address information can be obtained from described testing device transmission information before, and this obtaining step has description hereinafter.
Step 25, if preserve the IP address of described correspondence, the first local dns sends to the terminal use with the IP address of described correspondence; For example, if the first local dns server is preserved Ip address http corresponding to www.sina.com: // 202.108.98.132; Send http to the terminal use: // 202.108.98.132.Wherein, the domain name addresses that described the first local dns is preserved and corresponding IP address information can be obtained from described testing device transmission information before, and this obtaining step has description hereinafter.
Step 26, if do not have, the first local dns is initiated the recurrence request to described testing device.Described recurrence request comprises domain name to be visited;
Step 27, testing device are received as the recurrence request that the terminal use provides the first local dns server initiation of analysis service; Described recurrence request comprises domain name to be visited; Described testing device has identical network egress with described terminal use; This testing device and described terminal use access consolidated network, access same operator, and access network environment is identical, and its effect is that the pseudo-terminal user carries out testing, obtaining when the end-user access domain name, and the IP address that obtains network performance the best.
Step 28, described testing device are searched IP address corresponding to described domain name to be visited in its resolution table, described resolution table is preserved the IP address of selecting through testing in advance corresponding to domain name;
Step 29, if the testing device finds IP address corresponding to described domain name to be visited in described resolution table, the testing device sends to described the first local dns server the described IP address that finds, and sends to described terminal use by described the first local dns server.Optionally, in the time of this step, described the first local dns server can be in its local IP address of preserving described domain name to be visited and described correspondence.When the other-end user in next this access network sends the analysis request of same domain name to described the first local dns server, can by searching the first local dns server at the corresponding relation of the IP address of its local domain name described to be visited of preserving and described correspondence, accelerate processing speed.For example, in resolution table, pre-save has the corresponding Ip address 202.108.98.132 of www.sina.com, the testing device sends the message of 202.108.98.132 to described the first local dns server, and described the first local dns server sends the message of 202.108.98.132 for described terminal use.And the first local dns server is preserved the corresponding relation of www.sina.com and 202.108.98.132 in this locality.
Step 210, if the testing device does not find IP address corresponding to described domain name to be visited in described resolution table, the testing device carries out the 3rd domain name testing to described domain name to be visited on described the first local dns server and at least one second local dns server, generates at least two the 3rd domain name testing results; Described the 3rd domain name testing result comprises: the IP address that described domain name to be visited is corresponding; Not through testing in advance, need real-time testing when domain name to be visited, obtain the IP address of network performance the best corresponding to domain name to be visited.For example, the terminal use is mobile Jiangsu user, testing module is carried out the testing of domain name www.sina.com on the local dns server in mobile Jiangsu, the IP address that authorization server returns to the local dns server in mobile Jiangsu is 202.101.98.132; Simultaneously, the testing module is carried out the testing of domain name www.sina.com on the local dns server in mobile Zhejiang, and the IP address that authorization server returns to the local dns server in mobile Zhejiang is 202.102.98.132; Simultaneously, the testing module is carried out the testing of domain name www.sina.com on the local dns server in the Jiangsu of UNICOM, and the IP address of local dns server that authorization server returns to the Jiangsu of UNICOM is 202.103.98.132.Simultaneously, the testing module is carried out the testing of domain name www.sina.com on the local dns server in the Zhejiang of UNICOM, and the IP address of local dns server that authorization server returns to the Zhejiang of UNICOM is 202.104.98.132.
Step 211, testing device are selected the IP address of a network performance the best at least from the IP address of described two the 3rd domain name testing results, as IP address corresponding to described domain name to be visited; For example, four IP addresses are respectively: 202.101.98.132,202.102.98.132,202.103.98.132,202.104.98.132.Select 202.101.98.132 from above-mentioned four IP addresses.
Step 212, the testing device sends the IP address of described network performance the best to described the first local dns server, and sends to described terminal use by described the first local dns server.Optionally, in the time of step 110, described the first local dns server can be in its local IP address of preserving described domain name to be visited and described correspondence.When the other-end user in next this access network sends the analysis request of same domain name to described the first local dns server, can by searching the first local dns server at the corresponding relation of the IP address of its local domain name described to be visited of preserving and described correspondence, accelerate processing speed.For example, the testing device sends the information of 202.101.98.132 to described the first local dns server, and described the first local dns server sends the information of 202.101.98.132 for described terminal use.Simultaneously, the first local dns server can be at its local corresponding relation of preserving between www.sina.com and 202.101.98.132.
Step 213, testing device record domain name and IP address corresponding to domain name, generate resolution table.Step 213 is specially: record domain name, duration life cycle corresponding to IP address and described IP address that domain name is corresponding, generate resolution table.When time the first local dns server sent the recurrence request of same domain name to the testing device instantly, the corresponding relation of the IP address that the testing device can be by searching its local domain name described to be visited of preserving and described correspondence had been accelerated processing speed.
Wherein, step 211 can comprise:
Step 211A, the testing device carries out the first domain name testing to domain name on described the first local dns server and at least one second local dns server, generate at least two the first domain name testing results; Described the first domain name testing result comprises: the IP address that domain name is corresponding; Optionally, described the first domain name testing result also comprises: duration life cycle that the IP address is corresponding.Can carry out in advance testing for the large domain name of some visit capacities (such as Sohu, Sina etc.), generate resolution table.For example, to simulate mobile Jiangsu user, on different local dns servers, domain name " Sohu " is carried out testing.The testing of domain name for the first time that the testing module is carried out on the local dns server in Zhejiang of the local dns server in Jiangsu of the local dns server in the local dns server in mobile Jiangsu, mobile Zhejiang, UNICOM, UNICOM respectively with domain name www.sohu.com.Authorization server is analyzed through intelligent DNS, returns to IP address corresponding to domain name for different local dns servers.The testing module is carried out the testing of domain name www.sohu.com on the local dns server in mobile Jiangsu, the IP address that authorization server returns to the local dns server in mobile Jiangsu is 202.110.91.132; Simultaneously, the testing module is carried out the testing of domain name www.sohu.com on the local dns server in mobile Zhejiang, and the IP address that authorization server returns to the local dns server in mobile Zhejiang is 202.110.92.132; Simultaneously, the testing module is carried out the testing of domain name www.sohu.com on the local dns server in the Jiangsu of UNICOM, and the IP address of local dns server that authorization server returns to the Jiangsu of UNICOM is 202.110.93.132.Simultaneously, the testing module is carried out the testing of domain name www.sohu.com on the local dns server in the Zhejiang of UNICOM, and the IP address of local dns server that authorization server returns to the Zhejiang of UNICOM is 202.111.94.132.
Step 211B, testing device select the IP address of network performance the best, as IP address corresponding to domain name from the IP address of described at least two the first domain name testing results.For example, four IP addresses in four the first domain name testing results are respectively: 202.110.91.132,202.110.92.132,202.110.93.132,202.110.94.132.Select 202.101.91.132 from above-mentioned four IP addresses.
Wherein, step 212 can comprise:
Step 212A, testing device judge whether at least two IP addresses in described at least two the first domain name testing results are all identical each other, generate judged result;
Step 212B is if described judgment result is that is that the testing device extracts the IP address in described the first domain name testing result, as IP address corresponding to domain name; For example, the IP address in four the first domain name testing results is 202.110.91.132,, does not need further processing, with 202.110.91.132 as IP address corresponding to domain name www.sohu.com.
Step 212C, if describedly judgment result is that to have two IP addresses at least not identical, the testing device carries out respectively the traceroute test to the IP address in described at least two the first domain name testing results, generate at least two network performance testing results, described network performance testing result comprises: the network performance parameter that the IP address is corresponding; Described network performance parameter comprises: arrive the required time delay of the ICP server of described IP address and/or arrive the required jumping figure of ICP server of described IP address from described testing device from described testing device.
For example, the IP address in four the first domain name testing results is respectively: 202.110.91.132, and 202.110.92.132,202.110.93.132,202.110.94.132 carries out the traceroute test to four IP addresses respectively.
Suppose, the network performance testing result that an IP address 202.110.91.132 is corresponding is that jumping figure is 5, and time delay is 20S.
The network performance testing result that the 2nd IP address 202.110.92.132 is corresponding is that jumping figure is 6, and time delay is 30S.
The network performance testing result that the 3rd IP address 202.110.93.132 is corresponding is that jumping figure is 5, and time delay is 10S.
The network performance testing result that the 4th IP address 202.110.94.132 is corresponding is that jumping figure is 6, and time delay is 10S.
Step 212D, the testing device is selected the IP address according to described network performance parameter, as IP address corresponding to domain name.Step D is specially: select jumping figure minimum IP address; Or select time delay minimum IP address; Or from jumping figure minimum a plurality of IP address, select time delay minimum IP address; Or from time delay minimum a plurality of IP address, select jumping figure minimum IP address, as IP address corresponding to domain name.
Step 212D is specially:
The minimum IP address of selection jumping figure is as IP address corresponding to domain name; For example, in above-mentioned example, can select an IP address or the 3rd IP address;
Or, select time delay minimum IP address, as IP address corresponding to domain name; For example, in above-mentioned example, can select the 4th IP address.
Or, from jumping figure minimum a plurality of IP address, select time delay minimum IP address, as IP address corresponding to domain name; For example, select the 3rd IP address.
Or, from time delay minimum a plurality of IP address, select jumping figure minimum IP address, as IP address corresponding to domain name.For example, select the 4th IP address.
Step 22 specifically comprises:
Step 221, before the scheduled duration of the life cycle that arrives described IP address, the testing device carries out the second domain name testing to domain name on described the first local dns server and at least one second local dns server, generate at least two the second domain name testing results; Described the second domain name testing result comprises: the IP address that domain name is corresponding.The cycle duration for survival of the IP address that www.sohu.com is corresponding is 20S, the testing of domain name for the second time that the testing module is carried out on the local dns server in Zhejiang of the local dns server in Jiangsu of the local dns server in the local dns server in mobile Jiangsu, mobile Zhejiang, UNICOM, UNICOM respectively with domain name www.sohu.com.In order to save the processing resource of testing device, can carry out again domain name testing for the second time every the fixed cycle.
Step 222, the testing device is processed described resolution table according to described the second domain name testing result.
Wherein, step 222 comprises:
Step 222A, if described the second domain name testing result and described the first domain name testing come to the same thing, the testing device does not upgrade described resolution table; The IP address that authorization server returns to the local dns server in mobile Jiangsu is 202.110.91.132, comes to the same thing with testing for the first time; The IP address that authorization server returns to the local dns server in mobile Zhejiang is 202.110.92.132, comes to the same thing with testing for the first time; The IP address of local dns server that authorization server returns to the Jiangsu of UNICOM is 202.110.93.132, comes to the same thing with testing for the first time.The IP address of local dns server that authorization server returns to the Zhejiang of UNICOM is 202.110.94.132, comes to the same thing with testing for the first time.In such cases, in order to save the processing resource of testing device, usually do not need the second testing result is continued to process, do not upgrade resolution table yet.
Step 222B, if described the second domain name testing result is different from described the first domain name testing result, the testing device is from the IP address of described at least two the second domain name testing results, select the IP address of network performance the best, and use the described resolution table of IP address renewal of described network performance the best.Simultaneously, if preserve IP address corresponding to domain name in the first local dns server, upgrade domain name in the first local dns server and the corresponding relation between the IP address.Wherein select to select the step of the IP address of network performance the best to be similar to above-mentioned steps 191-194, do not give unnecessary details herein.
As shown in Figure 3, a kind of testing device for shown in the present comprises:
Receiver module 41 is received as the recurrence request that the terminal use provides the first local dns server initiation of analysis service; Described recurrence request comprises domain name to be visited;
Search module 42, search IP address corresponding to described domain name to be visited in its resolution table, described resolution table is preserved the IP address of selecting through testing in advance corresponding to domain name;
Sending module 43 if find IP address corresponding to described domain name to be visited in described resolution table, sends to described the first local dns server the described IP address that finds, and sends to described terminal use by described the first local dns server.
Optionally, described testing device also comprises:
Generation module 44 is used for generating resolution table.Described generation module 44 comprises:
The first domain name testing submodule 441 carries out the first domain name testing to domain name on described the first local dns server and at least one second local dns server, generate at least two the first domain name testing results; Described the first domain name testing result comprises: the IP address that domain name is corresponding;
Chooser module 442 from the IP address of described at least two the first domain name testing results, is selected the IP address of network performance the best, as IP address corresponding to domain name;
Generate submodule 443, record IP address corresponding to domain name and domain name, generate resolution table.Optionally, described the first domain name testing result also comprises: duration life cycle that the IP address is corresponding; Described generation submodule 443 is specially: record domain name, duration life cycle corresponding to IP address and described IP address that domain name is corresponding, generate resolution table;
Described testing device also comprises: update module 45 is used for upgrading described resolution table; Described generation module 45 comprises:
The second domain name testing submodule 451, before the scheduled duration of the life cycle that arrives described IP address, on described the first local dns server and at least one second local dns server, domain name is carried out the second domain name testing, generate at least two the second domain name testing results;
Process submodule 452, according to described the second domain name testing result, process described resolution table.
Optionally, described testing device also comprises:
Testing module 46, if do not find IP address corresponding to described domain name to be visited in described resolution table, on described the first local dns server and at least one second local dns server, described domain name to be visited is carried out the 3rd domain name testing, generate at least two the 3rd domain name testing results; Described the 3rd domain name testing result comprises: the IP address that described domain name to be visited is corresponding;
Select module 47, select the IP address of a network performance parameter the best at least from the IP address of described two the 3rd domain name testing results, as IP address corresponding to described domain name to be visited;
Described sending module 44 also is used for, and sends the IP address of described network performance parameter the best to described the first local dns server, and sends to described terminal use by described the first local dns server.
As shown in Figure 4, the system for the intelligently parsing of a kind of domain name system DNS shown in the present comprises: testing device 51, terminal use 52, the first local dns server 53; Described testing device 51 has identical network egress with described terminal use 52; Described the first local dns server 53 is described terminal use's local dns server;
Described testing device 51 is used for being received as the recurrence request that the terminal use provides the first local dns server 53 initiations of analysis service; Described recurrence request comprises domain name to be visited; Search IP address corresponding to described domain name to be visited in its resolution table, described resolution table is preserved the IP address of selecting through testing in advance corresponding to domain name; If find IP address corresponding to described domain name to be visited in described resolution table, send to described the first local dns server the described IP address that finds, and send to described terminal use by described the first local dns server.
Optionally, the system of the intelligently parsing of described domain name system DNS also comprises: at least one the second local dns server 54 and authorization server 55;
Described testing device 51 also is used for, if do not find IP address corresponding to described domain name to be visited in described resolution table, on described the first local dns server and described at least one second local dns server, described domain name to be visited is carried out the 3rd domain name testing, generate at least two the 3rd domain name testing results; Described the 3rd domain name testing result comprises: the IP address that described domain name to be visited is corresponding; Select the IP address of a network performance parameter the best at least from the IP address of described two the 3rd domain name testing results, as IP address corresponding to described domain name to be visited; Send the IP address of described network performance parameter the best to described the first local dns server, and send to described terminal use by described the first local dns server;
Described authorization server 55 is used for carrying out the DNS intelligently parsing, and sends the 3rd domain name testing result to described the first local dns server 53 and the second local dns server 54;
Described the second local dns server 54 is used for receiving the 3rd domain name testing result from described authorization server 55, and sends to described testing device.
The local dns server that described the second local dns server and described the first local dns server are different ownership place; Perhaps, the local dns server that described the second local dns server is corresponding with described user is the local dns server of different operators.
The application scenarios of system of the intelligently parsing of domain name system DNS is below described.The present invention carries out the domain name testing at a plurality of local dns, casts aside the method for authorizing DNS and judging user attaching based on IP address resource table, initiatively understands ICP the whole network server disposition situation.By local test server (testing device), each node server is carried out applied in network performance test, according to the comprehensive judgement of network distance and time delay, choose the excellent service node of network performance, return to the user.
Fig. 5 is based on the schematic diagram of the local dns intelligently parsing system of testing, comprising: local dns server, domain name testing module, network performance testing module, performance estimation module etc.Be described as follows:
Local dns server: be responsible for collecting local broadband user's domain name mapping request, and initiate the recurrence request, receive the preferred result from domain name testing module, preferred result is fed back to the user.
Domain name testing module: be similar to the domain name testing module in above-mentioned testing device, customization needs his province of testing/his net dns server and domain name according to demand; Reception is from the preferred result of performance estimation module, and safeguards domain name and intelligently parsing table as a result, simultaneously preferred result fed back to local dns server; Be specially: implement the domain name testing on a plurality of dns servers, compare simultaneously analysis result, if analysis result is identical, do not deal with; If analysis result is different, different analysis results is transmitted to network performance testing module.
Network performance testing module is similar to the selection module in above-mentioned testing device, and the different analysis result of same domain name is carried out tracert (traceroute test), and records time delay and the jumping figure of tracert, and result is issued performance estimation module.
Performance estimation module is similar to the selection module in above-mentioned testing device, can assess the result of tracert according to " jumping figure is more few more preferential " principle; When jumping figure is identical, again assess according to " time delay is more little more preferential " principle, form the preferred result inventory of domain name and IP address, this inventory is sent to domain name testing module.
The below is take user's request domain name analysis process as example, in conjunction with Fig. 6, illustrates in the present invention based on the method for the domain name system DNS intelligently parsing of active testing, comprising:
Step 1, the user initiates the domain name mapping request to the first local dns;
Step 2, the first local dns retrieval buffer memory retrieves and directly returns; Coupling is not initiated recurrence;
Step 3, domain name testing module is intercepted and captured the recurrence request of the first local dns, the resolution table that coupling is local; Can match, return to preferred result; Fail to mate, carry out the domain name testing on a plurality of local dns.And the TTL duration of monitoring local parsing table, before duration arrives, initiatively initiate the domain name testing.A plurality of local dns comprise the first local dns and other local dns.
Step 4, testing on a plurality of local dns, testing result such as identical sends to the first local dns with the IP address in identical testing result, sends to the terminal use by the first local dns; As inconsistent in the testing result, different solution new records is issued network performance testing module;
Step 5, network performance testing module is carried out respectively tracert to different analysis results, records simultaneously time delay and jumping figure, and two indexs are submitted to performance estimation module;
Step 6, performance estimation module is assessed.At first relatively jumping figure compares according to the principle of " jumping figure is more few more preferential ", selects the minimum analysis result of jumping figure; Secondly in the situation that jumping figure is consistent, according to the principle of " time delay is more little more preferential ", relatively time delay, select the relatively little analysis result of time delay.And the analysis result of selecting is turned back to domain name testing module;
Step 7, domain name testing module records analysis result and ttl value in resolution table, simultaneously preferred analysis result is turned back to local dns;
Step 8, the first local dns turns back to the user with result.
So far, the DNS intelligently parsing flow process based on testing finishes.
In prior art, the IP address resource is one of core resource of operator's maintenance, and operator can progressively apply for and use new IP address field according to the dilatation situation of network, and the input of this new IP address field, operator can not inform and authorize DNS.Between operator and ICP, there is out of step conditions in information, and directly causing existing intelligent dns resolution result is not optimum yet.And operator can't directly supervise ICP.Existing intelligently parsing is based on authorizes DNS to realize, authorizes DNS to be safeguarded by non-operator.For operator, in case find that the domain name mapping result is not optimum, needs to contact ICP and changes.Increase communication link, reduce treatment effeciency.
In the present invention, link between the first local dns and testing/evaluation module, by the decision-making of domain name testing module, network performance testing module and performance estimation module, for local dns provides preferred analysis result.And, safeguard resolution table by the result of domain name testing module, reduce the method for the network test amount of testing and evaluation module.Domain name testing module is initiatively initiated the domain name testing before domain name TTL duration expires, guaranteed the ageing of resolution table.The present invention obtains the optimum analysis result of domain name from operator's local dns by the mode of testing and Performance Evaluation.The method need not to contact ICP (Web content service provider) and carries out the data configuration change, and local dns can be completed by network analysis.In case the fault that server in station does not respond occurs, preferably show by mandatory modification, can realize the fault fast processing; The method need not to arrange the IP address field of each large operator, by the applied in network performance test result of existing network, judges optimum node according to " jumping figure " and " time delay ", has broken away from the intelligently parsing Problem of Failure that operator's IP address change causes.
The above is the preferred embodiment of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from principle of the present invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (16)

1. the method for the intelligently parsing of a domain name system DNS, is characterized in that, comprising:
The testing device is received as the recurrence request that the terminal use provides the first local dns server initiation of dns resolution service; Described recurrence request comprises domain name to be visited; Described testing device has identical network egress with described terminal use;
Described testing device is searched IP address corresponding to described domain name to be visited in its resolution table, described resolution table is preserved the IP address of selecting through testing in advance corresponding to domain name;
Described testing device sends to described the first local dns server the described IP address that finds, and sends to described terminal use by described the first local dns server.
2. the method for the intelligently parsing of domain name system DNS according to claim 1, it is characterized in that, before described testing device is received as the terminal use and provides the step of the recurrence request that the first local dns server of dns resolution service initiates, described method also comprises: generate resolution table, this step specifically comprises:
On described the first local dns server and at least one second local dns server, domain name is carried out the first domain name testing, generate at least two the first domain name testing results; Described the first domain name testing result comprises: the IP address that domain name is corresponding;
From the IP address of described at least two the first domain name testing results, the IP address of network performance the best when selecting from the described domain name to be visited of described testing device access is as IP address corresponding to domain name;
Record IP address corresponding to domain name and domain name, generate resolution table.
3. the method for the intelligently parsing of domain name system DNS according to claim 2, it is characterized in that, described from the IP address of described at least two the first domain name testing results, the IP address of selection network performance the best during from the described domain name to be visited of described testing device access comprises as the step of IP address corresponding to domain name:
Judge whether at least two IP addresses in described at least two the first domain name testing results are all identical each other, generate judged result;
If described judgment result is that is to extract the IP address in described the first domain name testing result, as IP address corresponding to domain name;
If describedly judgment result is that to have two IP addresses at least not identical, described testing device carries out respectively the traceroute test to the IP address in described at least two the first domain name testing results, generate at least two network performance testing results, described network performance testing result comprises: the network performance parameter that the IP address is corresponding; Select the IP address according to described network performance parameter, as IP address corresponding to domain name.
4. the method for the intelligently parsing of domain name system DNS according to claim 3, is characterized in that,
Described network performance parameter comprises: the content that arrives described IP address from described testing device provides the required time delay of operator's ICP server and/or provides operator's ICP server required jumping figure from the content that described testing device arrives described IP address;
Describedly select the IP address according to described network performance parameter, be specially as the step of IP address corresponding to domain name: select jumping figure minimum IP address; Or select time delay minimum IP address; Or from jumping figure minimum a plurality of IP address, select time delay minimum IP address; Or from time delay minimum a plurality of IP address, select jumping figure minimum IP address, as IP address corresponding to domain name.
5. the method for the intelligently parsing of domain name system DNS according to claim 2, is characterized in that,
Described the first domain name testing result also comprises: duration life cycle that the IP address is corresponding;
Described domain name and IP address corresponding to domain name of recording, the step that generates resolution table is specially: record domain name, duration life cycle corresponding to IP address and described IP address that domain name is corresponding, generate resolution table;
After the step of described generation resolution table, described method also comprises: upgrade described resolution table, this step specifically comprises:
Before the scheduled duration of the life cycle that arrives described IP address, on described the first local dns server and at least one second local dns server, domain name is carried out the second domain name testing, generate at least two the second domain name testing results;
According to described the second domain name testing result, process described resolution table.
6. the method for the intelligently parsing of domain name system DNS according to claim 5, is characterized in that, described the second domain name testing result comprises: the IP address that domain name is corresponding;
Described according to described the second domain name testing result, the step of processing described resolution table comprises:
If described the second domain name testing result and described the first domain name testing come to the same thing, do not upgrade described resolution table;
If described the second domain name testing result is different from described the first domain name testing result, from the IP address of described at least two the second domain name testing results, the IP address of selection network performance the best during from the described domain name to be visited of described testing device access, and use the IP address of described network performance the best to upgrade described resolution table.
7. the method for the intelligently parsing of domain name system DNS according to claim 1, is characterized in that, before described testing device was received as the terminal use and provides the step of the recurrence request that the first local dns server of analysis service initiates, described method also comprised;
Described the first local dns server receives described terminal use's domain name mapping request; The domain name analysis request comprises domain name to be visited;
Described the first local dns judges whether its this locality preserves IP address corresponding to described domain name to be visited;
If preserve the IP address of described correspondence, send to the terminal use; If no, initiate the recurrence request to described testing device.
8. the method for the intelligently parsing of domain name system DNS according to claim 1, is characterized in that, also comprises:
If do not find IP address corresponding to described domain name to be visited in described resolution table, on described the first local dns server and at least one second local dns server, described domain name to be visited is carried out the 3rd domain name testing, generate at least two the 3rd domain name testing results; Described the 3rd domain name testing result comprises: the IP address that described domain name to be visited is corresponding;
The IP address of network performance the best when selecting from the described domain name to be visited of described testing device access at least from the IP address of described two the 3rd domain name testing results is as IP address corresponding to described domain name to be visited;
Send the IP address of described network performance the best to described the first local dns server, and send to described terminal use by described the first local dns server.
9. the method for the intelligently parsing of according to claim 1 or 8 described domain name system DNS, is characterized in that, described method also comprises:
Described the first local dns server is in its local IP address of preserving described domain name to be visited and described correspondence.
10. a testing device, is characterized in that, comprising:
Receiver module is received as the recurrence request that the terminal use provides the first local dns server initiation of analysis service; Described recurrence request comprises domain name to be visited;
Search module, search IP address corresponding to described domain name to be visited in its resolution table, described resolution table is preserved the IP address of selecting through testing in advance corresponding to domain name;
Sending module sends to described the first local dns server the described IP address that finds, and sends to described terminal use by described the first local dns server.
11. testing device according to claim 10 is characterized in that, also comprises:
Generation module is used for generating resolution table, and described generation module comprises:
The first domain name testing submodule carries out the first domain name testing to domain name on described the first local dns server and at least one second local dns server, generate at least two the first domain name testing results; Described the first domain name testing result comprises: the IP address that domain name is corresponding;
The chooser module, from the IP address of described at least two the first domain name testing results, the IP address of network performance the best when selecting from the described domain name to be visited of described testing device access is as IP address corresponding to domain name;
Generate submodule, record IP address corresponding to domain name and domain name, generate resolution table.
12. testing device according to claim 11 is characterized in that,
Described the first domain name testing result also comprises: duration life cycle that the IP address is corresponding;
Described generation submodule is specially: record domain name, duration life cycle corresponding to IP address and described IP address that domain name is corresponding, generate resolution table;
Described testing device also comprises: update module is used for upgrading described resolution table; Described update module comprises:
The second domain name testing submodule, before the scheduled duration of the life cycle that arrives described IP address, on described the first local dns server and at least one second local dns server, domain name is carried out the second domain name testing, generate at least two the second domain name testing results;
Process submodule, according to described the second domain name testing result, process described resolution table.
13. testing device according to claim 10 is characterized in that, also comprises:
Domain name testing module, if do not find IP address corresponding to described domain name to be visited in described resolution table, on described the first local dns server and at least one second local dns server, described domain name to be visited is carried out the 3rd domain name testing, generate at least two the 3rd domain name testing results; Described the 3rd domain name testing result comprises: the IP address that described domain name to be visited is corresponding;
Select module, select the IP address of the best of network performance parameter during from the described domain name to be visited of described testing module accesses at least from the IP address of described two the 3rd domain name testing results, as IP address corresponding to described domain name to be visited;
Described sending module also is used for, and sends the IP address of described network performance parameter the best to described the first local dns server, and sends to described terminal use by described the first local dns server.
14. the system of the intelligently parsing of a domain name system DNS is characterized in that, comprising: testing device, terminal use, the first local dns server; Described testing device has identical network egress with described terminal use; Described the first local dns server is described terminal use's local dns server;
Described testing device is used for being received as the recurrence request that the terminal use provides the first local dns server initiation of analysis service; Described recurrence request comprises domain name to be visited; Search IP address corresponding to described domain name to be visited in its resolution table, described resolution table is preserved the IP address of selecting through testing in advance corresponding to domain name; Send to described the first local dns server the described IP address that finds, and send to described terminal use by described the first local dns server.
15. the system of the intelligently parsing of domain name system DNS according to claim 14 is characterized in that, also comprises: at least one the second local dns server and authorization server;
Described testing device also is used for, if do not find IP address corresponding to described domain name to be visited in described resolution table, on described the first local dns server and described at least one second local dns server, described domain name to be visited is carried out the 3rd domain name testing, generate at least two the 3rd domain name testing results; Described the 3rd domain name testing result comprises: the IP address that described domain name to be visited is corresponding; The IP address of network performance parameter the best when selecting from the described domain name to be visited of described testing device access at least from the IP address of described two the 3rd domain name testing results is as IP address corresponding to described domain name to be visited; Send the IP address of described network performance parameter the best to described the first local dns server, and send to described terminal use by described the first local dns server;
Described authorization server is used for carrying out the DNS intelligently parsing, and sends the 3rd domain name testing result to described the first local dns server and the second local dns server;
Described the second local dns server is used for receiving the 3rd domain name testing result from described authorization server, and sends to described testing device.
16. the system of the intelligently parsing of domain name system DNS according to claim 15 is characterized in that, the local dns server that described the second local dns server and described the first local dns server are different ownership place; Perhaps, the local dns server that described the second local dns server is corresponding with described user is the local dns server of different operators.
CN201110406475.7A 2011-12-08 2011-12-08 The method of the intelligently parsing of domain name system DNS, testing device and system Active CN103167044B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110406475.7A CN103167044B (en) 2011-12-08 2011-12-08 The method of the intelligently parsing of domain name system DNS, testing device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110406475.7A CN103167044B (en) 2011-12-08 2011-12-08 The method of the intelligently parsing of domain name system DNS, testing device and system

Publications (2)

Publication Number Publication Date
CN103167044A true CN103167044A (en) 2013-06-19
CN103167044B CN103167044B (en) 2016-08-03

Family

ID=48589780

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110406475.7A Active CN103167044B (en) 2011-12-08 2011-12-08 The method of the intelligently parsing of domain name system DNS, testing device and system

Country Status (1)

Country Link
CN (1) CN103167044B (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103685611A (en) * 2013-12-31 2014-03-26 山石网科通信技术有限公司 Network access processing method and device
CN104486459A (en) * 2014-12-16 2015-04-01 上海斐讯数据通信技术有限公司 Dual-IP and dual-line server and serving method
WO2016074150A1 (en) * 2014-11-11 2016-05-19 21Vianet Group, Inc. Streamlining location-dependent dns configuration
CN105610930A (en) * 2015-12-25 2016-05-25 互联网域名系统北京市工程研究中心有限公司 Data optimization method based on DNS (Domain Name Server)
CN105610993A (en) * 2014-11-20 2016-05-25 中国移动通信集团河南有限公司 Method, device and system for domain name resolution
CN106331216A (en) * 2016-09-13 2017-01-11 腾讯科技(深圳)有限公司 Domain name parsing method and domain name parsing device
CN106533762A (en) * 2016-11-17 2017-03-22 贵州白山云科技有限公司 Device switching method and device switching device
CN106657050A (en) * 2016-12-15 2017-05-10 迈普通信技术股份有限公司 Domain name resolution anomaly detection method, detection management server and gateway equipment
CN106888268A (en) * 2017-03-24 2017-06-23 杭州迪普科技股份有限公司 A kind of analysis method and device of domain name
CN107154956A (en) * 2016-03-04 2017-09-12 中国电信股份有限公司 Cache accelerated method, device and system
CN107154959A (en) * 2016-03-02 2017-09-12 阿里巴巴集团控股有限公司 A kind of method and apparatus of the access network address
CN109873878A (en) * 2019-04-01 2019-06-11 宁波奥克斯电气股份有限公司 The communication connecting method and device and electric terminal, storage medium of electric terminal
CN110830501A (en) * 2019-11-25 2020-02-21 杭州安恒信息技术股份有限公司 Website asset detection method based on DNS traffic
CN112995354A (en) * 2021-02-08 2021-06-18 中国电子信息产业集团有限公司第六研究所 Domain name resolution record reconstruction method and domain name resolution method
CN115361357A (en) * 2022-07-22 2022-11-18 中国电信股份有限公司 Network scheduling system, method, device, electronic equipment and storage medium
CN117097698A (en) * 2023-08-29 2023-11-21 江南信安(北京)科技有限公司 Network acceleration method and device based on DNS protocol, storage medium and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030055979A1 (en) * 2001-09-19 2003-03-20 Cooley William Ray Internet domain name resolver
CN101820451A (en) * 2009-02-26 2010-09-01 上海数讯信息技术有限公司 Dynamic domain name service optimizing system
CN102025793A (en) * 2010-01-22 2011-04-20 中国移动通信集团北京有限公司 Domain name resolution method and system and DNS in IP network
CN102025795A (en) * 2010-01-22 2011-04-20 中国移动通信集团北京有限公司 DNS response message processing method, DNS server and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030055979A1 (en) * 2001-09-19 2003-03-20 Cooley William Ray Internet domain name resolver
CN101820451A (en) * 2009-02-26 2010-09-01 上海数讯信息技术有限公司 Dynamic domain name service optimizing system
CN102025793A (en) * 2010-01-22 2011-04-20 中国移动通信集团北京有限公司 Domain name resolution method and system and DNS in IP network
CN102025795A (en) * 2010-01-22 2011-04-20 中国移动通信集团北京有限公司 DNS response message processing method, DNS server and system

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103685611A (en) * 2013-12-31 2014-03-26 山石网科通信技术有限公司 Network access processing method and device
WO2016074150A1 (en) * 2014-11-11 2016-05-19 21Vianet Group, Inc. Streamlining location-dependent dns configuration
CN105610993A (en) * 2014-11-20 2016-05-25 中国移动通信集团河南有限公司 Method, device and system for domain name resolution
CN105610993B (en) * 2014-11-20 2019-08-02 中国移动通信集团河南有限公司 A kind of domain name analytic method, apparatus and system
CN104486459A (en) * 2014-12-16 2015-04-01 上海斐讯数据通信技术有限公司 Dual-IP and dual-line server and serving method
CN105610930A (en) * 2015-12-25 2016-05-25 互联网域名系统北京市工程研究中心有限公司 Data optimization method based on DNS (Domain Name Server)
CN107154959A (en) * 2016-03-02 2017-09-12 阿里巴巴集团控股有限公司 A kind of method and apparatus of the access network address
CN107154956A (en) * 2016-03-04 2017-09-12 中国电信股份有限公司 Cache accelerated method, device and system
CN107154956B (en) * 2016-03-04 2019-08-06 中国电信股份有限公司 Cache accelerated method, device and system
CN106331216A (en) * 2016-09-13 2017-01-11 腾讯科技(深圳)有限公司 Domain name parsing method and domain name parsing device
CN106331216B (en) * 2016-09-13 2020-11-03 腾讯科技(深圳)有限公司 Domain name resolution method and device
CN106533762A (en) * 2016-11-17 2017-03-22 贵州白山云科技有限公司 Device switching method and device switching device
CN106657050A (en) * 2016-12-15 2017-05-10 迈普通信技术股份有限公司 Domain name resolution anomaly detection method, detection management server and gateway equipment
CN106888268A (en) * 2017-03-24 2017-06-23 杭州迪普科技股份有限公司 A kind of analysis method and device of domain name
CN109873878A (en) * 2019-04-01 2019-06-11 宁波奥克斯电气股份有限公司 The communication connecting method and device and electric terminal, storage medium of electric terminal
CN109873878B (en) * 2019-04-01 2021-08-24 宁波奥克斯电气股份有限公司 Communication connection method and device of electronic terminal, electronic terminal and storage medium
CN110830501A (en) * 2019-11-25 2020-02-21 杭州安恒信息技术股份有限公司 Website asset detection method based on DNS traffic
CN112995354A (en) * 2021-02-08 2021-06-18 中国电子信息产业集团有限公司第六研究所 Domain name resolution record reconstruction method and domain name resolution method
CN115361357A (en) * 2022-07-22 2022-11-18 中国电信股份有限公司 Network scheduling system, method, device, electronic equipment and storage medium
CN115361357B (en) * 2022-07-22 2024-05-14 中国电信股份有限公司 Network scheduling system, method and device, electronic equipment and storage medium
CN117097698A (en) * 2023-08-29 2023-11-21 江南信安(北京)科技有限公司 Network acceleration method and device based on DNS protocol, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN103167044B (en) 2016-08-03

Similar Documents

Publication Publication Date Title
CN103167044A (en) Intelligent analysis method of domain name system (DNS) and poking measurement device and system
CN107395683B (en) Method for selecting return path and server
US9578040B2 (en) Packet receiving method, deep packet inspection device and system
CN107360184B (en) Terminal equipment authentication method and device
CN105516385B (en) Domain name analytic method, server and system
CN109067930B (en) Domain name access method, domain name resolution method, server, terminal and storage medium
CN108234207B (en) Fault positioning method and device based on Content Delivery Network (CDN)
CN104052832B (en) Method and device for setting IP address of domain name resolution server and server
CN106534289B (en) Automatic testing method, device and system
EP2787742B1 (en) Method and system for transmitting network video
CN103581351B (en) The method and apparatus of network access
CN104158919A (en) Webpage access implementation method, server and client
CN108259425A (en) The determining method, apparatus and server of query-attack
CN103780714A (en) Method and apparatus for probing DNS server
CN108183975A (en) A kind of method and system of domain name mapping
CN105610993B (en) A kind of domain name analytic method, apparatus and system
CN108040085A (en) Method for network access, device and server
CN110635965B (en) IPv6 network quality monitoring method, equipment and storage medium
CN103685590A (en) Method and system for obtaining IP (internet protocol) address
CN105323121B (en) A kind of Network status detection method and device
CN102739811A (en) Method and device of domain name resolution
CN104954431A (en) Network selection method, device and system
CN112543473B (en) Test method, device and equipment based on network element simulation and computer storage medium
CN106326293A (en) Access method and device based on dynamic webpage
CN107360036B (en) Network fault positioning method, terminal and server

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