CN110113442A - A kind of location determining method and device of DNS mirror image server - Google Patents

A kind of location determining method and device of DNS mirror image server Download PDF

Info

Publication number
CN110113442A
CN110113442A CN201910319085.2A CN201910319085A CN110113442A CN 110113442 A CN110113442 A CN 110113442A CN 201910319085 A CN201910319085 A CN 201910319085A CN 110113442 A CN110113442 A CN 110113442A
Authority
CN
China
Prior art keywords
dns
data
mirror image
image server
server
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
CN201910319085.2A
Other languages
Chinese (zh)
Other versions
CN110113442B (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.)
Datang Software Technologies Co Ltd
Original Assignee
Datang Software Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Datang Software Technologies Co Ltd filed Critical Datang Software Technologies Co Ltd
Priority to CN201910319085.2A priority Critical patent/CN110113442B/en
Publication of CN110113442A publication Critical patent/CN110113442A/en
Application granted granted Critical
Publication of CN110113442B publication Critical patent/CN110113442B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0852Delays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/69Types of network addresses using geographic information, e.g. room number

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Environmental & Geological Engineering (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The location determining method and device of a kind of DNS mirror image server provided in an embodiment of the present invention, which comprises control probe server executes DIG order to multiple dns resolution servers in DNS acquisition list to obtain the first data;Judge whether first data meet the first preset format;When the first preset format described in first data fit, the DNS mirror image server location information in first data is extracted.The embodiment of the present invention, to obtain DNS mirror image server location information, realizes the accurate technical effect for obtaining DNS mirror image server location information by the record information of control probe server analog subscriber online acquisition access dns resolution server.

Description

A kind of location determining method and device of DNS mirror image server
Technical field
The present invention relates to network safety filed, relate more specifically to a kind of DNS mirror image server location determining method and Device.
Background technique
Root server is the domain name clothes of highest level in DNS (Domain Name System internet domain name resolution system) Business device, the whole world are equipped with 13 altogether, the management for Global Internet domain root server, domain name system and IP address etc..Root clothes Business device is to promote whole performance, is also largely deployed with mirror image server in the world by any casting, these mirror images Server is as the service content of corresponding root server, and difference is that storage place is different, for sharing the load of host.
Since China's Internet technology is started late, many internet core device network links are all disposed within foreign countries, more Several server settings are only equipped with a root server in Japan in US and European, Asia.Root server is that whole world online is used Family website parses the starting point of IP address, is the link having to pass through, if the website information source IP parsing of Chinese user online is answered Root server used in the U.S., it is inevitable because caused by remote network delay it is long, the problems such as packet loss is high, these problems will cause Chinese user online experience is very poor.China refers to F, I, J, L root mirror image server, the root mirror that China mainland area introduces at present Picture server is in Beijing, if domestic each operator Internet user uses external mirror image server obviously unreasonable more, this is just Relevant departments are needed to adjust mirror image server deployment strategy, avoiding seeking something far and wide when it is within reach the case where causing network resource utilization to waste goes out It is existing.
At present inquiry mirror image server, such as DNS mirror image root server, the top server of DNS mirror image distribution mainly according to By the mode of query site, but the information provided in this kind of query web can only passively receive, and can not ensure the real-time of information Property and accuracy, more importantly severe jamming is brought to the division in China area inaccuracy, to data analysis in this kind of website.
Summary of the invention
The present invention provides the location determining method and device of a kind of DNS mirror image server, with solve in the prior art without Method obtains the problem of accurate DNS mirror image server location information and utilization rate.
In a first aspect, providing a kind of location determining method of DNS mirror image server, which comprises
It controls probe server and DIG order is executed to obtain first to multiple dns resolution servers in DNS acquisition list Data;
Judge whether first data meet the first preset format;
When the first preset format described in first data fit, the DNS mirroring service in first data is extracted Device location information.
Optionally, it is described judge the step of whether first data meet the first preset format after, further includes:
When first data do not meet first preset format, controls the probe server and the DNS is solved It analyses server and executes TRACEROUTE order to obtain the second data;
Judge whether second data meet the second preset format;
When the second preset format described in second data fit, the DNS mirror image in second data is extracted Server location information.
Optionally, it is described judge the step of whether second data meet the second preset format after, further includes:
When second data do not meet second preset format, controls the probe server and the DNS is solved It analyses server and executes PING order to obtain third data;
Judge whether the third data meet third preset format;
When the third preset format described in the third data fit, the DNS mirror image in the third data is extracted Server location information;
Optionally, it is described judge the step of whether the third data meet third preset format after, further includes:
When the third data do not meet the third preset format, the probe server is controlled according to predetermined period PING instruction is executed to the corresponding dns resolution server of the third data and obtains multiple delay datas;
Obtain the average value of the multiple delay data;
The DNS mirror image server location information is generated according to the average value.
Optionally, the method also includes:
The DNS mirror image server location information is handled according to preset rules to obtain DNS mirror image server position Information table.
Optionally, the method, further includes:
DNS mirror image server distribution map is generated according to the DNS mirror image server location information table;
Data are carried out to the DNS mirror image server distribution map to analyze to obtain analysis result;
Show the DNS mirror image server distribution map and/or the analysis result.
It is optionally, described to judge whether first data meet the first preset format, comprising:
Judge first data whether include the DNS mirror image server three character codes;
When first data include three character code of the DNS mirror image server, the first data fit institute is determined The first preset format is stated, and DNS mirror image server location information is generated according to three character code;
When first data do not include three character code of the DNS mirror image server, determine that first data are not inconsistent Close first preset format.
It is optionally, described to judge whether second data meet the second preset format, comprising:
Judge second data the last two jump whether include the DNS mirror image server three character codes and/or IP Address;
When the last two jump of second data includes three character codes and/or IP address of the DNS mirror image server, Determine the second preset format described in second data fit, and according to three character code and/or IP address generation DNS mirror image server location information;
When the last two jump of second data does not include three character code and/or the IP address, described in determination Second data do not meet second preset format.
It is optionally, described to judge whether the third data meet third preset format, comprising:
Judge in the third data whether include the DNS mirror image server IP address;
When in the third data including the IP address of the DNS mirror image server, the third data fit is determined The third preset format;
When not including the IP address of the DNS mirror image server in the third data, the third data are determined not Meet the third preset format.
Second aspect, provides a kind of position determining means of DNS mirror image server, and described device includes:
First acquisition module executes multiple dns resolution servers in DNS acquisition list for controlling probe server DIG order is to obtain the first data;
First judgment module, for judging whether first data meet the first preset format;
First generation module extracts first data when for the first preset format described in first data fit In DNS mirror image server location information.
Optionally, after the judgment module, further includes:
Second acquisition module controls the probe service when first data do not meet first preset format Device executes TRACEROUTE order to the dns resolution server to obtain the second data;
Second judgment module, for judging whether second data meet the second preset format;
Second generation module when the second preset format described in second data fit, extracts in second data The DNS mirror image server location information.
Optionally, after the first judgment module, further includes:
Third acquisition module, for controlling the probe when second data do not meet second preset format Server executes PING order to the dns resolution server to obtain third data;
Third judgment module, for judging whether the third data meet third preset format;
Third generation module extracts the third number when for the third preset format described in the third data fit The DNS mirror image server location information in;
Optionally, after the third judgment module, further includes:
First processing module, for controlling the probe when the third data do not meet the third preset format Server executes PING instruction to the corresponding dns resolution server of the third data according to predetermined period and obtains multiple time delay numbers According to;
Second processing module, for obtaining the average value of the multiple delay data;
4th generation module, for generating the DNS mirror image server location information according to the average value.
Optionally, described device, further includes:
Processing module, for being handled to obtain DNS mirror to the DNS mirror image server location information according to preset rules As Server location information table.
Optionally, the method, further includes:
Graphics module, for generating DNS mirror image server distribution map according to the DNS mirror image server location information table;
Analysis module is analyzed to obtain analysis result for carrying out data to the DNS mirror image server distribution map;
Display module, for showing the DNS mirror image server distribution map and/or the analysis result.
Optionally, the first judgment module, comprising:
Judging submodule, for judge first data whether include the DNS mirror image server three character codes;
Submodule is generated, described in determining when first data include three character code of the DNS mirror image server First preset format described in first data fit, and DNS mirror image server location information is generated according to three character code;
Confirming submodule, when for not including three character code of the DNS mirror image server when first data, determining institute It states the first data and does not meet first preset format.
Optionally, second judgment module, comprising:
First judging submodule, for judging whether the last two jump of second data includes the DNS mirror image clothes Three character codes and/or IP address of business device;
First generates submodule, includes the DNS mirror image server for the last two jump when second data When three character codes and/or IP address, determine the second preset format described in second data fit, and according to three character code and/ Or the IP address generates the DNS mirror image server location information;
First confirmation submodule does not include three character code and/or institute for the last two jump when second data When stating IP address, determine that second data do not meet second preset format.
Optionally, the third judgment module, comprising:
Second judgment submodule, for judge in the third data whether IP comprising the DNS mirror image server Location;
Second confirmation submodule, for when in the third data include the DNS mirror image server IP address when, really Third preset format described in the fixed third data fit;
Third confirm submodule, for when in the third data do not include the DNS mirror image server IP address when, Determine that the third data do not meet the third preset format.
Compared with the relevant technologies, the invention has the following advantages that
The location determining method and device of a kind of DNS mirror image server provided in an embodiment of the present invention, which comprises It controls probe server and DIG order is executed to obtain the first data to multiple dns resolution servers in DNS acquisition list;Sentence Whether first data of breaking meet the first preset format;When the first preset format described in first data fit, extract DNS mirror image server location information in first data.The embodiment of the present invention passes through control probe server analog subscriber The record information of online acquisition access dns resolution server realizes accurate acquisition to obtain DNS mirror image server location information The technical effect of DNS mirror image server location information.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention, And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
The step of Fig. 1 is a kind of location determining method for DNS mirror image server that an illustrative examples of the invention provide Flow chart;
Fig. 2 is the step of the location determining method for another DNS mirror image server that an illustrative examples of the invention provide Rapid flow chart;
Fig. 3 is a kind of step flow chart for DIG command method that an illustrative examples of the invention provide;
Fig. 4 is a kind of step flow chart for TRACEROUTE command method that an illustrative examples of the invention provide;
Fig. 5 is a kind of step flow chart for PING command method that an illustrative examples of the invention provide;
Fig. 6 is the step flow chart for another PING command method that an illustrative examples of the invention provide;
Fig. 7 is a kind of position determining means block diagram for DNS mirror image server that an illustrative examples of the invention provide.
Fig. 8 is the result figure for executing DIG order and returning that an illustrative examples of the invention provide;
Fig. 9 is the result figure for executing DIG order and returning that an illustrative examples of the invention provide;
Figure 10 is the result figure for executing DIG order and returning that an illustrative examples of the invention provide;
Figure 11 is the result figure for executing DIG order and returning that an illustrative examples of the invention provide;
Figure 12 is the result figure for executing TRACEROUTE order and returning that an illustrative examples of the invention provide;
Figure 13 is the result figure for executing TRACEROUTE order and returning that an illustrative examples of the invention provide;
Figure 14 is the result figure for executing TRACEROUTE order and returning that an illustrative examples of the invention provide;
Figure 15 is the result figure for executing TRACEROUTE order and returning that an illustrative examples of the invention provide;
Figure 16 is the result figure for executing PING order and returning that an illustrative examples of the invention provide;
Figure 17 is the result figure for executing TRACEROUTE order and returning that an illustrative examples of the invention provide;
Figure 18 is the result figure for executing PING order and returning that an illustrative examples of the invention provide;
Figure 19 is the result figure for executing PING order and returning that an illustrative examples of the invention provide;
Figure 20 is the result figure for executing TRACEROUTE order and returning that an illustrative examples of the invention provide.
Specific embodiment
Root server (root-servers.org) is the name server of highest level in internet domain name resolution system, Totally 13, the whole world.Wherein 1, U.S. primary server (A), is arranged in the Du Lesi of Virginia;Auxiliary root server (B to M) beauty 9, state, Sweden, Holland, each one of Japan.In addition by any casting, part root name server is equipped with multiple mirrors in the whole world Picture point, therefore the distributed denial of service attack carried out for it can be resisted.13 root servers are awarded by U.S. government The internet domain name and number assignment mechanism ICANN of power are managed collectively, and are responsible for Global Internet domain root server, domain name system With the management of IP address etc., root server can command Web browser as Firefox or Internet Explorer and E-mail program controls internet communication, due to there is 260 or so the internets ratified through U.S. government in root server The indicator (such as .no of French .fr, Norway) of suffix (such as .com .xyz .net .top) and some countries, the U.S. Government, which manages it, possesses very big right to speak.Root name server is infrastructure necessary to framework internet, at abroad, being permitted Root name server is referred to as " truth " by multicomputer scientist, reflects its importance.In other words, entire internet is attacked most Effectively, most direct and most fatal method I'm afraid to be exactly to attack root name server.Root server is to promote whole property Can, largely deployment DNS mirror image server (i.e. 1 IP address, different geographical locations) in the world.In mesh within Chinese territory Preceding official introduces 4 root DNS mirror image servers, respectively F, I, J, L root.
Description acquisition and analytic process, 13 root servers correspond to title and reality by taking root dns resolution server as an example below Border IP address is listed below, and China mainland introduces the mirror image of F root, I root, J root, L root:
A root a.root-servers.net (198.41.0.4)
B root b.root-servers.net (192.228.79.201)
C root c.root-servers.net (192.33.4.12)
D root d.root-servers.net (199.7.91.13)
E root e.root-servers.net (192.203.230.10)
F root f.root-servers.net (192.5.5.241)
G root g.root-servers.net (192.112.36.4)
H root h.root-servers.net (198.97.190.53)
I root i.root-servers.net (192.36.148.17)
J root j.root-servers.net (192.58.128.30)
K root k.root-servers.net (193.0.14.129)
L root l.root-servers.net (199.7.83.42)
M root m.root-servers.net (202.12.27.33)
The primary root server of internet is arranged in 13 root servers in the whole world in the U.S., numbers from A to M, In: 10, the U.S. (1 main root and 9 auxiliary), 2, Europe are located at Britain and Sweden, and 1, Asia is located at Japan).Based on 1 Root server is placed on the Du Lesi of Virginia, USA, is responsible for operation maintenance by VeriSign company, the U.S., and remaining 12 Root server supplemented by.Daily domain name primary root server list can be copied on other 12 servers being located at all over the world. Past, the parsing of the world such as " .com .org .net " top level domain are required by name server offer overseas is arranged in Service is very big to the dependence of external internet at that time.So-called dependence is embodied from the working mechanism of Internet , in that the problem of " root server ".In theory, any type of standardized domain name is to be implemented parsing, according to skill Art process, it is necessary to which the work by global " hierarchical " domain name mapping system could be completed." hierarchical " domain name mapping system First layer is exactly root server, is responsible for the domain-name information of Management World various countries, is top level domain server below root server, That is the database of concerned countries domain name authority, such as CNNIC of China, followed by the dns database and ISP of next stage Cache server.After one domain name must first pass around the parsing of root database, the progress of top level domain server can be just gone to Parsing.
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure It is fully disclosed to those skilled in the art.
Embodiment one
Fig. 1 shows a kind of step flow chart of the location determining method of DNS mirror image server provided in an embodiment of the present invention, The method may include:
Step 101, control probe server in DNS acquisition list multiple dns resolution servers execute DIG order with Obtain the first data.
In embodiments of the present invention, the deployment of the probe server covers all provincial capitals, China, Jiangsu, river South, Shaanxi, Sichuan, Guizhou, Chongqing, Zhejiang, Fujian, Hubei Province's probe cover all districts and cities and operator, in addition, black dragon The province important city such as river, Guangdong, Shandong also deploys probe server, and the probe server up to 800 or more, distribution Operator includes connection, telecommunications, movement, Tie Tong, roc doctor, Gehua Cable, Great Wall Broadband Network Service Company Limited, the general network of love etc. size operation Quotient.The probe server periodically accesses 13 DNS for simulating the most Internet users in the covering whole nation, capture program Root server records the DNS mirror image server host name and IP of each server access, due to the probe server The area of covering and operator's range are wide, ensure that the full and complete of collecting data information.These described probe servers are adopted Collection come mirror image data have very strong analysis significance, such as it can be found that the whole nation root DNS mirror image server, also can be derived that Each operator, city in all parts of the country accesses the nearest DNS mirror image server of 13 DNS root servers, is tested by time delay and packet loss The performance data of each operator's access DNS mirror image server of prefectures and cities can be calculated.This alanysis result is operator and leads to Letter management board adjustment root mirror image access strategy provides strong foundation, and the effect of adjustment also can be by subsequent acquisition and test number According to being verified, these Optimization Works have great importance to the promotion of China user entirety online experience.The DNS acquisition column Table is that the DNS mirror image server type for needing to acquire is arranged in operator according to actual needs, may include: root DNS mirror image clothes Business device, top DNS mirror image server, authority's DNS mirror image server etc..
In embodiments of the present invention, DNS mirror image server position used in the available Internet user of DIG order is executed Confidence breath, by taking F root f.root-servers.net (192.5.5.241) as an example, order has following two:
(1)dig+norec@F.ROOT-SERVERS.NET HOSTNAME.BIND CHAOS TXT
(2)dig hostname.bind@F.ROOT-SERVERS.NET chaos txt short
First command execution results content is more, ANSWER SECTION: middle to return to first data.Second life Order directly returns to first data.For consideration easy to maintain, the embodiment of the present invention can choose first order and carry out Acquisition, if it find that problem can carry out positioning problems by the message of record.
Step 102, judge whether first data meet the first preset format.
In embodiments of the present invention, first data may include: the name information of the DNS mirror image server.When When in first data comprising the information relevant with the DNS mirror image server title, then first data are judged Meet first preset format.In practical applications, the DIG order is it sometimes appear that first data returned In do not include the DNS mirror image server name information, can not judge the position of the DNS mirror image server.
Step 103, when the first preset format described in first data fit, the DNS in first data is extracted Mirror image server location information.
In embodiments of the present invention, now can be used for inquiring DNS there are global three code list of Hanzi and global operator title table The location of mirror image server and operator name.Generally there are three character codes in DNS mirror image server title, according to three character code energy Enough judge mirror position, for example pek is three character code of Pekinese, the mirror image server pek1b.f.root-servers.org of F root In include pek, explanation is this mirror image server in Beijing of China.There are also iad and NRT for three similar character codes, are respectively Washington, DC and Tokyo.There are also very much, will not enumerate.F root is directed to the probe server of Beijing Telecom below Two orders are executed respectively, observe implementation effect.
For (1) dig+norec@F.ROOT-SERVERS.NET HOSTNAME.BIND CHAOS TXT
Returning the result after execution is as shown in figure 8, what is returned in rectangle frame is the F root mirrored host computer name of Beijing Telecom's access Claim, the beginning of pek2b.f.root-servers.org Hostname is pek, and pek is three character codes in BeiJing, China capital, illustrates north Telecommunications this access in capital is F root in Pekinese's mirror image.
Acquisition periodically carries out, and the DNS mirror image server location information that each period obtains is not necessarily identical, Above-mentioned identical DIG order, the F root DNS mirroring service that another time point obtains are executed on Beijing Telecom's probe server Device may be exactly another, as shown in figure 9, the DNS mirror image server location information of this access F root of display is in rectangle frame LHR.cf.f.root-servers.org, title beginning is LHR, and LHR is three character codes of London Heathrow Airport, therefore Determine the DNS mirror image server of Beijing Telecom this access F in London.
For (2) dig hostname.bind@F.ROOT-SERVERS.NET chaos txt+short
Second order is still executed on Beijing Telecom's probe server, which directly gives DNS mirror image after executing Server location information, as shown in Figure 10 rectangle frame, DNS mirror image server location information is pek2b.f.root- Servers.org, the pek for including in the DNS mirror image server location information are three character codes of Beijing Capital International Airport, because The mirrored host computer of this access F root of this Beijing Telecom is in Beijing.
Next cycle executes identical order on Beijing Telecom's probe server, and the possibility of return is exactly its of F root Its DNS mirror image server, as shown in figure 11, the entitled LHR.cf.f.root- of DNS mirrored host computer shown in rectangle frame Servers.org, the LHR in information are three character codes of London Heathrow Airport, therefore judge Beijing Telecom this access F The mirror image server of root is in London.
Acquisition is periodically executed on national more than 800 probe servers, data are put in storage in real time.The above acquisition is to obtain The main process of DNS mirror image data, complementary acquisition of other processes as the collection process.
In conclusion a kind of location determining method of DNS mirror image server provided in an embodiment of the present invention, the method packet Include: control probe server executes DIG order to multiple dns resolution servers in DNS acquisition list to obtain the first data; Judge whether first data meet the first preset format;When the first preset format described in first data fit, mention Take the DNS mirror image server location information in first data.The embodiment of the present invention is used by control probe server simulation The record information of family online acquisition access dns resolution server is realized and is accurately obtained to obtain DNS mirror image server location information Take the technical effect of DNS mirror image server location information.
Fig. 2 shows the step processes of the location determining method of another kind DNS mirror image server provided in an embodiment of the present invention Figure, the method may include:
Step 201, control probe server in DNS acquisition list multiple dns resolution servers execute DIG order with Obtain the first data.
Step 201 is no longer repeated herein referring to step 101.
Step 202, judge whether first data meet the first preset format
Step 202 is no longer repeated herein referring to step 102.
Step 203, when the first preset format described in first data fit, the DNS in first data is extracted Mirror image server location information.
Step 203 is no longer repeated herein referring to step 103.
Optionally, referring to shown in Fig. 3, the step 203, comprising:
Step 2031, judge first data whether include the DNS mirror image server three character codes.
In embodiments of the present invention, referring to the step 103, three character code is the title of the DNS mirror image server A part, three character code can be passed through and confirm the DNS mirror image server location information.
Step 2032, when first data include three character code of the DNS mirror image server, first number is determined According to meeting first preset format, and DNS mirror image server location information is generated according to three character code.
In embodiments of the present invention, when containing three character codes of the DNS mirror image server in first data, then really Recognize preset format described in first data fit, according to three character codes can confirm the DNS mirror image server title and Address location, as the DNS mirror image server location information.
Step 2033, when first data do not include three character code of the DNS mirror image server, described first is determined Data do not meet first preset format.
In embodiments of the present invention, it is not wrapped when in the character string for executing DIG order return for the dns resolution server When three character code of the mirror image server containing DNS, then confirm that first data do not meet first preset format.
Optionally, after step 203, further includes:
Step 204, when first data do not meet first preset format, the probe server is controlled to institute It states dns resolution server and executes TRACEROUTE order to obtain the second data.
In embodiments of the present invention, when in first data obtained using the DIG order do not include be able to confirm that When three character code of position, determines that first data do not meet first preset format, then control the probe server pair The corresponding dns resolution server of first data executes TRACEROUTE order, and to re-start acquisition several to obtain described second According to.
Step 205, judge whether second data meet the second preset format.
In embodiments of the present invention, second data obtained by TRACEROUTE order are verified, is judged It whether include the content that can extract the DNS mirror image server location information in second data, such as DNS mirror image takes Three character codes of business device, IP address.
Optionally, referring to shown in Fig. 4, the step 205, comprising:
Sub-step 2051 judges whether the last two jump of second data includes the three of the DNS mirror image server Character code and/or IP address.
In embodiments of the present invention, in second data by TRACEROUTE order acquisition, inverted second is jumped Position of the IP address position as the DNS mirror image server.Because not having in the Hostname that the DIG order returns sometimes Have comprising specific three character codes information, can not judge the position of root mirror image.Second data inverted second jump IP, can recognize It is the last two jump IP and the DNS mirror image server in the same area, this may be not fully accurate certainly, but most feelings The server of the last two jump of second data and the DNS mirror image server can determine in the same computer room under condition Mirror image server position.
Because supplement and verifying of the TRACEROUTE order as DIG order, enter in present case there are problem above Data markers are done when library.It is found in real process, if hop IP address second from the bottom can be returned by second data, and And the IP has location, it is obtaining the result is that accurate.Sometimes the last two jump can also return to host in addition to returning to IP address Title, can judge position according to feature string in the last two jump Hostname, for example it is U.S.'s knob that pek, which is BeiJing, China, JFK, About etc..
Sub-step 2052, when second data the last two jump include the DNS mirror image server three character codes and/ Or when IP address, the second preset format described in second data fit is determined, and according to three character code and/or the IP Location generates DNS mirror image server location information.
In embodiments of the present invention, the method that TRACEROUTE order discovery mirrored host computer is detailed below, in the side DIG Method cannot judge to be judged in the case where DNS mirror image server position with TRACEROUTE command method.TRACEROUTE life Enabling method find the DNS mirror image server, there are many situations: the first is that the last two jump can return to IP and IP has clearly Geographical location, at this time using hop IP address position second from the bottom as DNS mirror image server position;Second situation is reciprocal the Two hop IP address, which belong to local area network or backbone network, cannot explicitly judge geographical location, at this time if there is IP in the last two jump Description information can speculate mirror image geographical location according to description information;The third situation is that two above method can not all judge, For example, hop IP address second from the bottom, which belongs to local area network or backbone network, cannot clearly judge mirror image geographic location, do not have yet IP description information auxiliary judgment;It is exactly that TRACEROUTE order DNS mirror image server title can not reach there are also kind of an extreme case Or the second jump IP cannot be returned, it is usually that TRACEROUTE command result returns to " * * * " in specific manifestation.
The process of DNS mirror image server position is found by TRACEROUTE order below by way of example description.
(1) hop IP address second from the bottom of second data has specific location information
TRACEROUTE life is initiated to L root l.root-servers.net (199.7.83.42) on the interchange server of Shanghai Enable traceroute l.root-servers.net.It returns the result as shown in figure 12, accesses L root in rectangle frame for Shanghai connection Hop IP address second from the bottom.By the library IP in case it is found that hop IP address 61.135.112.66 second from the bottom belongs to Beijing Connection, it may thus be appreciated that Shanghai connection accesses the mirror image server of L root in Beijing, by telecom operators' connection trustship.
(2) hop IP address second from the bottom of second data does not have location information, but returned packet has IP description information
I root i.root-servers.net (192.36.148.17) is executed on the traveling probe server of Xi'an TRACEROUTE order traceroute i.root-servers.net is returned the result as shown in figure 13, is inverse in rectangle frame The second IP description information netnod1-10g.hkix.net jumped, includes hkix.net in description information, and hkix is Hong Kong interconnection It nets switching centre (The Hong Kong Internet Exchange), is the Internet Exchange Centre an of neutrality and profession, Positioned at Hong Kong Chinese University, school district, Shatian.It may determine that Xi'an movement detects I root DNS mirror image server position in perfume (or spice) with this Port, by Internet Exchange Centre trustship.
But many times, the IP description information of the last two jump of second data is not very clear, according to description Feature string in information can not determine more specific location information, at this moment generally require multi-faceted comprehensive descision and obtain final conclusion, It is illustrated below.
F root f.root-servers.net (192.5.5.241) is initiated on the connection probe server of Shanghai TRACEROUTE order traceroute f.root-servers.net is returned the result as shown in figure 14, is respectively in rectangle frame The IP description information and IP address of the last two jump.By the IP library inquiry in case, which belongs to backbone network IP, and IP is retouched State middle gw can also auxiliary judgment IP belongs to backbone network thus, not can determine that F root mirror image address location.Pass through the last two jump IP again Description information cloudflare-gw.cr1-fra6.ip4.gtt.net judges that having fra, fra in description information string is German method Three character codes on the airport Lan Kefumeiyin and the International airport Rhein-Mei Yin can be existed with the mirror image that initial guess Shanghai connection accesses f root Frankfurt, Germany.
To above-mentioned only preliminary judgement, root mirror image server will not generally be placed on backbone network, it is therefore desirable to artificially again Verifying.DIG order dig+norec@F.ROOT-SERVERS.NET is executed on the connection probe server of Shanghai HOSTNAME.BIND CHAOS TXT, the mirror image server Hostname for returning to F root is KIX.cf.f.root- Servers.org, as shown in Figure 15 rectangle frame.It include feature string KIX in Hostname, KIX is Osaka, Japan Northwest airport Three character codes, so verifying after conclusion be Shanghai connection access F root mirror image server in Osaka City, Janpan.In conjunction with above-mentioned It is backbone network IP that TRACEROUTE method, which show that connection access F radical second in Shanghai jumps IP, in Frankfurt, Germany city, can be pushed away Break and finally hit after being routed across the backbone network IP of Frankfurt, Germany in Osaka City, Janpan, Osaka City, Janpan is only this Shanghai Connection accesses the position of F root mirror image, rather than the last two jump IP description information judgment method of second data is determined Frankfurt, Germany city.
Illustrate to need if the last two jump IP of second data, which is unable to entirely accurate, determines position by example above Multi-direction synthetic judgement is wanted to be derived from conclusion.Therefore, all not can determine that by DIG method needs TRACEROUTE method The data of auxiliary judgment special will mark, so as to the judgement of artificial test analysis.
Sub-step 2053, when the last two jump of second data does not include three character codes of the DNS mirror image server And/or when IP address, determine that second data do not meet second preset format.
In embodiments of the present invention, the TRACEROUTE order in terms of determining root mirror position there are some drawbacks, Such as some host restricted T RACEROUTE orders, mirror image server can not be reached, also can not just judge mirror position;Sometimes it falls What several second backs were returned is No. *, also has no way of judging.In addition, the IP address of the last two jump sometimes is internal address either bone Dry network address, has no way of judging the location IP.Whether the IP address position is that mirror position needs artificial judgement to determine, this The presence that case is only used as possibility, which is given, to be recorded.In this case, it is pre- to determine that second data do not meet described second If format, and second data are marked.
Step 206, it when the second preset format described in second data fit, extracts described in second data DNS mirror image server location information.
In embodiments of the present invention, when in second data that the TRACEROUTE order obtains comprising can extract When the content of the DNS mirror image server location information, such as three character codes of the DNS mirror image server, IP address etc., then may be used The DNS mirror image server location information is extracted according to second data.
Optionally, after the step 206, further includes:
Step 207, when second data do not meet second preset format, the probe server is controlled to institute It states dns resolution server and executes PING order to obtain third data.
In embodiments of the present invention, if the DIG order and the TRACEROUTE order can not determine the DNS Mirror image server position can be tested using the method for PING order.According to mirror image server IP address and reality for reason Server ip address should be consistent, but the IP for finding that PING order obtains in actual test is different from real server IP, And this different IP is exactly the IP address of mirror image server.The method of PING command method ratio TRACEROUTE order is more It is weak, belong to the compensation process of the DIG order and the TRACEROUTE command method, artificial various dimensions are needed when more Judgement.
By taking Beijing Telecom's probe server as an example, F root mirrored host computer title pek2b.f.root- is obtained by DIG method Servers.org executes PING order ping to F root mirrored host computer title as shown in Figure 16 rectangle frame The IP address that pek2b.f.root-servers.org, ping are obtained is 123.255.91.198, as shown in Figure 16 rectangle frame.It is logical IP library inquiry address is crossed in Beijing, therefore judges the mirror image server of Beijing Telecom's access F root in Beijing.This certain example is logical The three character code pek crossed in mirrored host computer title can also show that Beijing Telecom accesses F root mirror image server in Pekinese's conclusion, here It is feasible for mainly introducing the method that PING method obtains DNS mirror image server position, and judging result is correct.
Step 208, judge whether the third data meet third preset format.
In embodiments of the present invention, the third data obtained by the PING order are verified, judges institute Whether state in third data includes that can extract the content of the DNS mirror image server location information, such as the DNS mirror image takes The IP address etc. of business device.If obtaining failure, do not wrapped in the data returned for the dns resolution server instruction PING order The IP address of the mirror image server containing DNS.
Optionally, referring to Figure 5, the step 208, comprising:
Sub-step 2081, judge in the third data whether include the dns resolution server IP address.
In embodiments of the present invention, when containing the IP address of the DNS mirror image server in the third data, lead to It crosses and extracts the IP address progress next step verifying.
Sub-step 2082 determines described the when in the third data including the IP address of the dns resolution server Third preset format described in three data fits.
In embodiments of the present invention, the IP address that following example application PING command method returns cannot directly judge, need Very important person is many-sided judgement.It is described as follows:
E root e.root-servers.net (192.203.230.10) is initiated on the traveling probe server of Urumchi TRACEROUTE order traceroute 192.203.230.10 returns the result the last two jump in rectangle frame as shown in figure 17 IP address is not returned to, but three asterisks " * * * ", no IP address also just can not pass through IP data by the last two jump IP Library determines the ownership place of E root DNS mirrored host computer.
Above-mentioned the last two jump can not return to IP address, be attempted using PING command method.The target of PING order It can be the DNS mirror image server title " c01.HKG.eroot " that DIG comes out, method is shown in the explanation above for DIG, herein It repeats no more, the target of PING order is also possible to the IP description information of the final jump below above-mentioned rectangle the last two jump " ptr.xj.chinamobile.com ", the DNS mirroring service in the third data on the traveling probe server of Urumchi The result of device title and IP description information is as shown in figure 18, and the IP in rectangle frame is exactly the DNS mirror image server IP address of E root.
By IP database lookup, 112.4.20.188 belongs to the mobile IP address in Nanjing, illustrates that Urumchi is moved The mirror position of dynamic discovery E root is in Nanjing.In fact, China's Mainland does not introduce E root, the DNS mirror image that DIG order obtains Having feature string HKG, HKG in server name " c01.HKG.eroot " is three character codes in Hong Kong, illustrates the mobile discovery in Urumchi The mirror position of E root is in Hong-Kong.
In order to further confirm the mobile DNS mirror image server for finding E root in Urumchi in Hong Kong, next cycle is same With TRACEROUTE command method to E root e.root-servers.net on the traveling probe server of Urumchi (192.203.230.10) initiates test, is the hop IP address second from the bottom of this test as shown in figure 20, in rectangle frame 223.119.6.105, by IP data base querying, which belongs to Hong-Kong movement, illustrates Urumchi mobile access E The DNS mirror image server position of root is really in Hong-Kong.
From the foregoing, it will be observed that PING command method can only be as the supplement of discovery mirror image, the DNS mirror that PING order is found in case As Server location information marking in the table of library, further to verify verification.
In embodiments of the present invention, if the corresponding DNS mirroring service of the IP address in the third data Device location information is consistent with practical DNS mirror image server location information, it is determined that third described in the third data fit Preset format, using the Name & Location of three character code and/or the corresponding DNS mirror image server of the IP address as described in DNS mirror image server location information, and cross the DNS mirror image server location information got by PING order and be marked, For it is subsequent be confirmed whether using.
Step 2084, when not including the IP address of the dns resolution server in the third data, described the is determined Three data do not meet the third preset format.
In embodiments of the present invention, the corresponding DNS mirror image server location information of the IP address is inconsistent or described The corresponding DNS mirror image server title of IP address is consistent with the title of practical DNS mirror image server, it is determined that the third data The third preset format is not met.
Step 209, it when the third preset format described in the third data fit, extracts described in the third data DNS mirror image server location information.
In embodiments of the present invention, if containing IP address in the third format, and the IP address respectively corresponds DNS mirror image server location information it is consistent with the location information of practical DNS mirror image server, then generate DNS mirror image clothes Business device location information.
Optionally, after the step 208 referring to shown in Fig. 6, further includes:
Step 210, when the third data do not meet the third preset format, control the probe server according to Predetermined period executes PING instruction to the corresponding dns resolution server of the third data and obtains multiple delay datas.
In embodiments of the present invention, due to the TRACEROUTE order and the PING order exist it is unstable because Element, for example, acquisition the DNS mirror image server location information may not be root DNS mirror image server information, be other DNS The information of gateway server, therefore can only believe the DNS mirror image server position obtained by the DIG order herein Breath generates the DNS mirror image server location information table.In another achievable embodiment of the invention, it can will pass through TRACEROUTE or PING order obtain the DNS mirror image server location information and can not by DIG, TRACEROUTE, There is the geographical associated DNS mirror image server location information with the third data in what PING was obtained, carry out secondary verifying, To exclude unstable factor.Subsequent step 2113 will be explained in.
Step 211, the average value of the multiple delay data is obtained.
It in embodiments of the present invention, is as described in Figure 19 respectively Germany point of destination IP (185.72.247.76), Japanese purpose Point IP (203.178.141.138), F root PING command execution results, each point of destination on the connection probe server of Shanghai are held Row PING order each 10 times, the interior average value for 10 PING order time delays of each point of destination of rectangle frame.The PING life known to lower Good character state point of destination IP (185.72.247.76) time delay is 314.127 milliseconds, Japanese point of destination IP (203.178.141.138) Time delay is 108.663 milliseconds, and the PING order time delay of F root is 176.666 milliseconds.Japanese point of destination IP time delay and F root time delay phase Approximation, therefore further determine that connection access F root DNS mirror position in Shanghai in Osaka, Japan.Here Japanese point of destination time delay and F Root time delay also have the reason of larger gap be for test Japanese point of destination IP be Tokyo IP address, not in Osaka, Japan, If tested with the point of destination of Osaka, Japan, Shi Yanhui is more nearly.In addition, PING order is in verifying internal mirror timeliness Fruit becomes apparent from, and for domestic DNS mirror image server time delay generally all within 50 milliseconds, foreign countries are general all at 100 milliseconds or more.
Step 212, the DNS mirror image server location information is generated according to the average value.
In embodiments of the present invention, it is generated finally according to the corresponding DNS mirror image server location information of the average value The DNS mirror image server location information.
The embodiment of the present invention is the supplement to overall technical architecture, in DIG order, TRACEROUTE order, PING order When can not obtain, DNS mirroring service location information is obtained in such a way that time delay is averaged, and be ensure that and is ordered by above-mentioned three kinds In the case that order can not obtain DNS mirror image server location information, DNS mirror image server location information can also be obtained.
Optionally, the method, further includes:
Step 213, the DNS mirror image server location information is handled according to preset rules to obtain DNS mirror image clothes Business device location information table.
In embodiments of the present invention, by being handled according to preset rules the DNS mirror image server location information, To generate the DNS mirror image server location information table, the DNS mirror image server location information table is user's follow-up data point The final result of analysis eliminates relatively unstable factor therein compared to the DNS mirror image server location information.
The embodiment of the present invention is handled by the DNS mirroring service location information, available intuitive accurate DNS mirror image server location information table can intuitively obtain DNS mirror image by the DNS mirror image server location information table The utilization rate of server facilitates the service condition that technical staff observes internal mirror server, to improve domestic network basis The optimization of facility layout provides data reference.
Optionally, the method, further includes:
Step 214, DNS mirror image server distribution map is generated according to the DNS mirror image server location information table.
In embodiments of the present invention, the two dimension based on international map is produced by DNS mirror image server location information table Distribution map or three-dimensional distribution map can mark the location information of the DNS mirror image server in figure.
Step 215, data are carried out to the DNS mirror image server distribution map to analyze to obtain analysis result.
In embodiments of the present invention, according to the DNS mirror image server location information table in the DNS mirror image distribution map DNS mirror image server utilization rate analyzed, display the country to each DNS mirror image server different time and geographic region Between frequency of use, it will be understood by those skilled in the art that can by the DNS mirror image server location information table carry out it is various The analysis and processing of data plane, by obtain with itself actual needs match as a result, make a concrete analysis of in the form of do not limit herein It is fixed.
Step 216, the DNS mirror image server distribution map and/or the analysis result are shown.
In embodiments of the present invention, the PC of operator, laptop, mobile terminal device or other have exhibition Show and pushes the DNS mirror image server distribution map and/or the analysis result in the terminal device of function.
In conclusion a kind of location determining method of DNS mirror image server provided in an embodiment of the present invention, the method packet Include: control probe server executes DIG order to multiple dns resolution servers in DNS acquisition list to obtain the first data; Judge whether first data meet the first preset format;When the first preset format described in first data fit, mention Take the DNS mirror image server location information in first data.The embodiment of the present invention is used by control probe server simulation The record information of family online acquisition access dns resolution server is realized and is accurately obtained to obtain DNS mirror image server location information Take the technical effect of DNS mirror image server location information.
Fig. 7 is a kind of position determining means 30 of DNS mirror image server provided in an embodiment of the present invention, which can be with Include:
First acquisition module 301, for controlling probe server to multiple dns resolution servers in DNS acquisition list DIG order is executed to obtain the first data.
First judgment module 302, for judging whether first data meet the first preset format.
First generation module 303 when for the first preset format described in first data fit, extracts first number DNS mirror image server location information in.
Optionally, after the judgment module 302, further includes:
Second acquisition module 304, for controlling the spy when first data do not meet first preset format Needle server executes TRACEROUTE order to the dns resolution server to obtain the second data;
Second judgment module 305, for judging whether second data meet the second preset format;
Second generation module 306 extracts described second when for the second preset format described in second data fit The DNS mirror image server location information in data.
Optionally, after second judgment module 306, further includes:
Third acquisition module 307, for controlling the spy when second data do not meet second preset format Needle server executes PING order to the dns resolution server to obtain third data;
Third judgment module 308, for judging whether the third data meet third preset format;
Third generation module 309 extracts the third when for the third preset format described in the third data fit The DNS mirror image server location information in data;
Optionally, after the third judgment module 308, further includes:
First processing module 310, for controlling the spy when the third data do not meet the third preset format Needle server executes PING instruction to the corresponding dns resolution server of the third data according to predetermined period and obtains multiple time delays Data.
Second processing module 311, for obtaining the average value of the multiple delay data.
4th generation module 312, for generating the DNS mirror image server location information according to the average value.
Optionally, described device, further includes:
Processing module 313, for being handled to obtain to the DNS mirror image server location information according to preset rules DNS mirror image server location information table.
Optionally, the method, further includes:
Graphics module 314, for generating the distribution of DNS mirror image server according to the DNS mirror image server location information table Figure;
Analysis module 315 is analyzed to obtain analysis result for carrying out data to the DNS mirror image server distribution map;
Display module 316, for showing the DNS mirror image server distribution map and/or the analysis result.
Optionally, the first judgment module 302, comprising:
Judging submodule 3021, for judge first data whether include the DNS mirror image server three character codes;
Submodule 3022 is generated, for determining when first data include three character code of the DNS mirror image server First preset format described in first data fit, and DNS mirror image server location information is generated according to three character code;
Confirm submodule 3023, when for not including three character code of the DNS mirror image server when first data, really Fixed first data do not meet first preset format.
Optionally, described first judges 305, comprising:
First judging submodule 3051, for judging whether the last two jump of second data includes the DNS mirror As three character codes and/or IP address of server;
First generates submodule 3052, includes the DNS mirroring service for the last two jump when second data When three character codes and/or IP address of device, the second preset format described in second data fit is determined, and according to three character code And/or the IP address generates DNS mirror image server location information;
First confirmation submodule 3053 takes for the last two jump when second data not comprising the DNS mirror image When three character codes and/or IP address of business device, determine that second data do not meet second preset format.
Optionally, second judgment module 308, comprising:
Second judgment submodule 3081, judge in the third data whether IP comprising the dns resolution server Location;
Second confirmation submodule 3082, for when the IP address in the third data including the dns resolution server When, determine third preset format described in the third data fit.
Third confirms submodule 3083, for as the IP for not including the dns resolution server in the third data When location, determine that the third data do not meet the third preset format.
In conclusion a kind of position determining means of DNS mirror image server provided in an embodiment of the present invention, acquisition module, DIG order is executed to multiple dns resolution servers in DNS acquisition list to obtain the first number for controlling probe server According to;Judgment module, for judging whether first data meet the first preset format;Extraction module, for first number When according to meeting first preset format, the DNS mirror image server location information in first data is extracted.The present invention is implemented Example is by the record information of control probe server analog subscriber online acquisition access dns resolution server to obtain DNS mirror image Server location information realizes the accurate technical effect for obtaining DNS mirror image server location information.
It is apparent to those skilled in the art that for convenience and simplicity of description, the device of foregoing description It with the specific work process of module, can refer to corresponding processes in the foregoing method embodiment, details are not described herein.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to of the invention its Its embodiment.This application is intended to cover any variations, uses, or adaptations of the invention, these modifications, purposes or Person's adaptive change follows general principle of the invention and including the undocumented common knowledge in the art of the present invention Or conventional techniques.The description and examples are only to be considered as illustrative, and true scope and spirit of the invention are wanted by right It asks and points out.
It should be understood that the present invention is not limited to the precise structure already described above and shown in the accompanying drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present invention is limited only by the attached claims.

Claims (10)

1. a kind of location determining method of DNS mirror image server characterized by comprising
Control probe server executes DIG order to multiple dns resolution servers in DNS acquisition list to obtain the first number According to;
Judge whether first data meet the first preset format;
When the first preset format described in first data fit, the DNS mirror image server position in first data is extracted Confidence breath.
2. judging whether first data meet first and preset the method according to claim 1, wherein described After the step of format, further includes:
When first data do not meet first preset format, controls the probe server and the dns resolution is taken Device execution TRACEROUTE order be engaged in obtain the second data;
Judge whether second data meet the second preset format;
When the second preset format described in second data fit, the DNS mirroring service in second data is extracted Device location information.
3. according to the method described in claim 2, it is characterized in that, described judge whether second data meet second and preset After the step of format, further includes:
When second data do not meet second preset format, controls the probe server and the dns resolution is taken Device execution PING order be engaged in obtain third data;
Judge whether the third data meet third preset format;
When the third preset format described in the third data fit, the DNS mirroring service in the third data is extracted Device location information.
4. according to the method described in claim 3, it is characterized in that, described judge whether the third data meet third and preset After the step of format, further includes:
When the third data do not meet the third preset format, the probe server is controlled according to predetermined period to institute It states the corresponding dns resolution server of third data and executes the multiple delay datas of PING instruction acquisition;
Obtain the average value of the multiple delay data;
The DNS mirror image server location information is generated according to the average value.
5. according to the method described in claim 4, it is characterized by further comprising:
The DNS mirror image server location information is handled according to preset rules to obtain DNS mirror image server location information Table.
6. according to the method described in claim 5, it is characterized by further comprising:
DNS mirror image server distribution map is generated according to the DNS mirror image server location information table;
Data are carried out to the DNS mirror image server distribution map to analyze to obtain analysis result;
Show the DNS mirror image server distribution map and/or the analysis result.
7. according to the method described in claim 6, it is characterized in that, described judge whether first data meet first and preset Format, comprising:
Judge first data whether include the DNS mirror image server three character codes;
When first data include three character code of the DNS mirror image server, the is determined described in first data fit One preset format, and DNS mirror image server location information is generated according to three character code;
When first data do not include three character code of the DNS mirror image server, determine that first data do not meet institute State the first preset format.
8. judging whether second data meet second and preset the method according to the description of claim 7 is characterized in that described Format, comprising:
Judge second data the last two jump whether include the DNS mirror image server three character codes and/or IP address;
When the last two jump of second data includes three character codes and/or IP address of the DNS mirror image server, determine Second preset format described in second data fit, and the DNS mirror is generated according to three character code and/or the IP address As Server location information;
When the last two jump of second data does not include three character code and/or the IP address, described second is determined Data do not meet second preset format.
9. according to the method described in claim 8, it is characterized in that, described judge whether the third data meet third and preset Format, comprising:
Judge in the third data whether include the DNS mirror image server IP address;
When in the third data including the IP address of the DNS mirror image server, determine described in the third data fit Third preset format;
When not including the IP address of the DNS mirror image server in the third data, determine that the third data are not met The third preset format.
10. a kind of position determining means of DNS mirror image server characterized by comprising
First acquisition module executes DIG to multiple dns resolution servers in DNS acquisition list for controlling probe server Order is to obtain the first data;
First judgment module, for judging whether first data meet the first preset format;
First generation module extracts in first data when for the first preset format described in first data fit DNS mirror image server location information.
CN201910319085.2A 2019-04-19 2019-04-19 Position determination method and device of DNS mirror server Active CN110113442B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910319085.2A CN110113442B (en) 2019-04-19 2019-04-19 Position determination method and device of DNS mirror server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910319085.2A CN110113442B (en) 2019-04-19 2019-04-19 Position determination method and device of DNS mirror server

Publications (2)

Publication Number Publication Date
CN110113442A true CN110113442A (en) 2019-08-09
CN110113442B CN110113442B (en) 2022-03-29

Family

ID=67486060

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910319085.2A Active CN110113442B (en) 2019-04-19 2019-04-19 Position determination method and device of DNS mirror server

Country Status (1)

Country Link
CN (1) CN110113442B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110784559A (en) * 2019-09-17 2020-02-11 大唐软件技术股份有限公司 DNS analysis delay acquisition method and device
CN113590909A (en) * 2021-07-28 2021-11-02 哈尔滨工业大学(威海) Method for positioning geographic position of domain name root mirror image node based on multi-source information

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060224752A1 (en) * 1999-05-03 2006-10-05 Parekh Sanjay M Determining geographic locations of private network Internet users
US7251826B1 (en) * 1999-06-07 2007-07-31 Register.Com, Inc. Domain manager for plural domains and method of use
CN106302862A (en) * 2016-09-28 2017-01-04 大唐软件技术股份有限公司 The collection method of a kind of DNS recursion server and system
CN109347998A (en) * 2018-12-27 2019-02-15 网宿科技股份有限公司 A kind of detection method and system of the address DNS output port server ip

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060224752A1 (en) * 1999-05-03 2006-10-05 Parekh Sanjay M Determining geographic locations of private network Internet users
US7251826B1 (en) * 1999-06-07 2007-07-31 Register.Com, Inc. Domain manager for plural domains and method of use
CN106302862A (en) * 2016-09-28 2017-01-04 大唐软件技术股份有限公司 The collection method of a kind of DNS recursion server and system
CN109347998A (en) * 2018-12-27 2019-02-15 网宿科技股份有限公司 A kind of detection method and system of the address DNS output port server ip

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
JIA ZHANG,HAIXIN DUAN,JIAN JIANG,JINJIN LIANG,JIANPING WU: ""Finding the best answer:measuring the optimization of public and authoritative DNS"", 《SCIENCE CHINA》 *
郑海山: ""基于开源软件的DNS查询日志分析系统"", 《厦门大学学报(自然科学版)》 *
零: ""DNS信息收集工具dig使用"", 《HTTPS://WWW.CNBLOGS.COM/-WENLI/P/9567432.HTML》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110784559A (en) * 2019-09-17 2020-02-11 大唐软件技术股份有限公司 DNS analysis delay acquisition method and device
CN113590909A (en) * 2021-07-28 2021-11-02 哈尔滨工业大学(威海) Method for positioning geographic position of domain name root mirror image node based on multi-source information
CN113590909B (en) * 2021-07-28 2023-09-19 哈尔滨工业大学(威海) Method for positioning geographical position of domain name root mirror image node based on multi-source information

Also Published As

Publication number Publication date
CN110113442B (en) 2022-03-29

Similar Documents

Publication Publication Date Title
CN110196953B (en) Application point burying method and device, computing equipment and system
CN106021396B (en) A method of the graphical representation SCD configuration file based on B/S framework
CN103685583B (en) A kind of method and system of domain name mapping
CN109714449A (en) Service Dynamic Configuration, device, equipment and the storage medium of domain name
CN105912655A (en) WebGL-based three-dimensional model display method and corresponding Web-BIM engineering information integration management system
CN110113442A (en) A kind of location determining method and device of DNS mirror image server
CN101291259B (en) System and method for monitoring geographic position of website visitor and visiting status
CN102202134B (en) Display method of weather forecast and mobile terminal
CN103744995A (en) Thematic map building method and mobile terminal applying same
JP5465651B2 (en) List generation method, list generation apparatus, and list generation program
CN109167850A (en) A kind of method, apparatus and storage medium of determining CDN service operator
CN101751477A (en) SVG-based Web GIS building room query system and query method
CN102957681A (en) Embedded browser, intelligent household appliance and intelligent system of internet of things
CN109818821A (en) A kind of detection method and device of website CDN framework
KR20200018966A (en) Method and apparatus for processing cyber threat information
CN110784559B (en) DNS analysis delay acquisition method and device
CN1152310C (en) Intelligent addressing method and device for locating Chinese resource in computer network resource
CN104519137B (en) Management method, the device and system of Host file
CN106506268B (en) Server access method and system
CN113132219A (en) Network quick access method for Internet of things terminal and Internet of things network device
CN105897927A (en) Method for analyzing Google longitude and latitude
Bauer et al. Geographic service discovery for the Internet of Things
Rapp et al. Controls middleware for FAIR
WO2018083787A1 (en) Travel route creation assistance program, travel route creation assistance method, and travel route creation assistance device
CN105491104A (en) Remote measurement and control method based on Web Service

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant