CN107786678A - Domain name analytic method, apparatus and system - Google Patents

Domain name analytic method, apparatus and system Download PDF

Info

Publication number
CN107786678A
CN107786678A CN201610720068.6A CN201610720068A CN107786678A CN 107786678 A CN107786678 A CN 107786678A CN 201610720068 A CN201610720068 A CN 201610720068A CN 107786678 A CN107786678 A CN 107786678A
Authority
CN
China
Prior art keywords
target
geographical position
dns
address
client
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
CN201610720068.6A
Other languages
Chinese (zh)
Other versions
CN107786678B (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.)
Beijing Kingsoft Cloud Network Technology Co Ltd
Beijing Kingsoft Cloud Technology Co Ltd
Original Assignee
Beijing Kingsoft Cloud Network Technology Co Ltd
Beijing Kingsoft Cloud Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Kingsoft Cloud Network Technology Co Ltd, Beijing Kingsoft Cloud Technology Co Ltd filed Critical Beijing Kingsoft Cloud Network Technology Co Ltd
Priority to CN201610720068.6A priority Critical patent/CN107786678B/en
Publication of CN107786678A publication Critical patent/CN107786678A/en
Application granted granted Critical
Publication of CN107786678B publication Critical patent/CN107786678B/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
    • 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)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention discloses domain name analytic method, apparatus and system.This method includes:Receive the target DNS request of target DNS recursion servers forwarding;Obtain the first geographical position of all first servers corresponding to target domain name;Based on target source IP address and target mapping library, the second geographical position of destination client is determined;Selection and the closest geographical position in the second geographical position from the first geographical position, obtain the target ip address of first server corresponding to selected geographical position;Target ip address is defined as to parse the IP address obtained by target domain name.Using this programme, when may insure that DNS authority server carries out domain name mapping, source IP address based on its DNS recursion server detected, reference object mapping library, the geographical position of client is determined, and then parses the IP address of the content server closest with the geographical position of client or CDN server.

Description

Domain name analytic method, apparatus and system
Technical field
The present invention relates to field of computer technology, more particularly to domain name analytic method, apparatus and system.
Background technology
Domain name mapping, refer to IP (Internet Protocol, the association interconnected between network for domain name being pointed to web space View) address.IP address is that the numeric address of website is identified on network, to access the server on an internet, final necessary Realized by IP address, remembered for convenience, using domain name come instead of IP address mark site address.Domain name mapping is domain name To the transfer process of IP address, and the parsing work of domain name is complete by DNS (Domain Name System, domain name system) server Into dns server includes DNS authority server and DNS recursion servers.DNS authority server provides the IP pointed by domain name Address, DNS recursion servers obtain the IP address from DNS authority server and are transmitted to the client of transmission DNS request.
If more set services are being disposed in website more, it would be desirable that DNS authority server can return nearest from client The IP address of content server or CDN (Content Delivery Network, content distributing network) server.Prior art In, client sends DNS request to DNS recursion servers, and DNS recursion servers can ask the DNS after receiving the DNS request Ask and be transmitted to DNS authority server;After DNS authority server receives the DNS request, the source IP address of DNS request can be detected, The IP address of DNS recursion servers is detected, the source IP address for being then based on detecting is with inquiring about IP of the prior art Location --- geolocation mapping storehouse, obtains geographical position corresponding to the source IP address, finally compares ground corresponding to the source IP address Position and content server or the geographical position of CDN server are managed, and then is returned and the source IP address pair to DNS recursion servers The IP address of the closest content server in the geographical position answered or CDN server, then DNS recursion servers will can receive To IP address be transmitted to client.
But IP address of the prior art --- geolocation mapping storehouse, wherein the geographical location information stored is each The geographical location information of terminal where individual IP address corresponds to client, that is, each IP address correspond to the geographical position of client Information, when carrying out domain name mapping due to DNS authority server, the IP address of its DNS recursion server detected is based on, The IP address of client is not represented, causes to be based on IP address --- the geographical location information that geolocation mapping library inquiry goes out is The geographical location information of DNS recursion servers, the true geographical position of client can not be reflected, therefore, in many cases, The IP address that DNS authority server parses, it is not the IP address of the content server nearest from client or CDN server.
The content of the invention
The embodiment of the invention discloses domain name analytic method, apparatus and system, to ensure that DNS authority server carries out domain name During parsing, based on the source IP address of its DNS recursion server detected, reference object mapping library, the geography of client is determined Position, and then parse the IP address of the content server closest with the geographical position of client or CDN server.Technology Scheme is as follows:
In a first aspect, the embodiments of the invention provide a kind of domain name analytic method, it is described applied to DNS authority server Method includes:
The target DNS request of target DNS recursion servers forwarding is received, wherein, the target DNS request is by target visitor The DNS request that family end is sent to the target DNS recursion servers, the target DNS request are carried and passed for the target DNS Return the target source IP address and target domain name of server;
Obtain the first geographical position of all first servers corresponding to the target domain name;
Based on the target source IP address and target mapping library, the second geographical position of the destination client is determined, its In, the target mapping library is stored with the geography of IP address DNS recursion servers institute service client corresponding with the IP address Mapping relations between position;
Selection and the closest geographical position in second geographical position from first geographical position, selected by acquisition The target ip address of first server corresponding to the geographical position selected;
The target ip address is defined as to parse the IP address obtained by the target domain name.
Second aspect, the embodiments of the invention provide another domain name analytic method, applied to destination client, the side Method includes:
Target DNS request is sent to DNS authority server by target DNS recursion servers, to cause the DNS authority Server obtains the first geographical position of all first servers corresponding to the target domain name that the target DNS request carries, Based on the target source IP for the target DNS recursion servers carried in target mapping library and the target DNS request Location, the second geographical position of the destination client is determined, selection and the described second geographical position from first geographical position Closest geographical position is put, obtains the target ip address of first server corresponding to selected geographical position, by described in Target ip address is defined as parsing the IP address obtained by the target domain name;Wherein, the target mapping library is stored with IP address Mapping relations between the geographical position of DNS recursion servers institute service client corresponding with the IP address;
The target ip address of the DNS authority server feedback is received by the target DNS recursion servers.
The third aspect, it is described applied to DNS authority server the embodiments of the invention provide a kind of domain name mapping device Device includes:
First receiving module, for receiving the target DNS request of target DNS recursion servers forwarding, wherein, the target DNS request is the DNS request sent from destination client to the target DNS recursion servers, and the target DNS request carries For the target source IP address and target domain name of the target DNS recursion servers;
First obtains module, for obtaining the first geographical position of all first servers corresponding to the target domain name Put;
First determining module, for based on the target source IP address and target mapping library, determining the destination client The second geographical position, wherein, the target mapping library is stored with IP address DNS recursion servers institute corresponding with the IP address Mapping relations between the geographical position of service client;
Second obtains module, closest for the selection from first geographical position and second geographical position Geographical position, obtain the target ip address of first server corresponding to selected geographical position;
Second determining module, for being defined as the target ip address to parse the IP address obtained by the target domain name.
Fourth aspect, the embodiments of the invention provide another domain name mapping device, applied to destination client, the dress Put including:
First sending module, for sending target DNS request to DNS authority server by target DNS recursion servers; To cause the DNS authority server to receive the target DNS request of target DNS recursion servers forwarding, the target DNS is obtained The first geographical position of all first servers corresponding to the target domain name of carrying is asked, based on target mapping library and the mesh The target source IP address for the target DNS recursion servers carried in mark DNS request, determines the destination client Second geographical position, selection and the closest geographical position in second geographical position, are obtained from first geographical position The target ip address of first server corresponding to selected geographical position is obtained, by the target ip address through the target DNS Recursion server is sent to the destination client;
Wherein, the target mapping library is stored with IP address DNS recursion servers corresponding with the IP address and services visitor Mapping relations between the geographical position at family end;
3rd receiving module, for receiving the DNS authority server feedback by the target DNS recursion servers The target ip address.
5th aspect, the embodiments of the invention provide a kind of domain name analysis system, the system includes:DNS authority service Device, DNS recursion servers, client,
The client, for sending target DNS request to the DNS recursion servers, wherein, the target DNS please Seek the target source IP address and target domain name carried for the DNS recursion servers;
The DNS recursion servers, the target DNS request sent for receiving the client, and by the mesh Mark DNS request is forwarded to the DNS authority server;
The DNS authority server, for receiving the target DNS request of the DNS recursion servers forwarding;Obtain Corresponding to the first geographical position of all first servers of the target domain name;Reflected based on the target source IP address and target Storehouse is penetrated, determines the second geographical position of the client, wherein, the target mapping library is stored with IP address and the IP address pair Mapping relations between the geographical position for the DNS recursion servers institute service client answered;Selected from first geographical position The geographical position closest with second geographical position is selected, obtains first server corresponding to selected geographical position Target ip address;The target ip address is defined as to parse the IP address obtained by the target domain name.
As seen from the above, in scheme provided in an embodiment of the present invention, first, DNS authority server receives target DNS recurrence The target DNS request of server forwarding;Obtain the first geographical position of all first servers corresponding to target domain name;It is based on Target source IP address and target mapping library, determine the second geographical position of destination client;From the first geographical position selection with The closest geographical position in second geographical position, with obtaining the Target IP of first server corresponding to selected geographical position Location;Target ip address is defined as to parse the IP address obtained by target domain name.Compared with prior art, the embodiment of the present invention provides Scheme in, IP address DNS recursion servers corresponding with the IP address are stored with the target mapping library of institute's foundation and are serviced Mapping relations between the geographical position of client, therefore, DNS authority server are referred to mesh when carrying out domain name mapping Mapping library is marked, determines the geographical position of the destination client, and then parse closest with the geographical position of destination client Content server or CDN server IP address, ensure that the accuracy of analysis result.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of the first schematic flow sheet of domain name analytic method provided in an embodiment of the present invention;
Fig. 2 is a kind of second of schematic flow sheet of domain name analytic method provided in an embodiment of the present invention;
Fig. 3 is the schematic flow sheet of the first update method of the target mapping library in the embodiment of the present invention;
Fig. 4 is the schematic flow sheet of second of update method of the target mapping library in the embodiment of the present invention;
Fig. 5 is the schematic flow sheet of the third update method of the target mapping library in the embodiment of the present invention;
Fig. 6 is the first schematic flow sheet of another domain name analytic method provided in an embodiment of the present invention;
Fig. 7 is second of schematic flow sheet of another domain name analytic method provided in an embodiment of the present invention;
Fig. 8 is the third schematic flow sheet of another domain name analytic method provided in an embodiment of the present invention;
Fig. 9 is a kind of the first structural representation of domain name mapping device provided in an embodiment of the present invention;
Figure 10 is a kind of second of structural representation of domain name mapping device provided in an embodiment of the present invention;
Figure 11 is the first structural representation of another domain name mapping device provided in an embodiment of the present invention;
Figure 12 is second of structural representation of another domain name mapping device provided in an embodiment of the present invention;
Figure 13 is the third structural representation of another domain name mapping device provided in an embodiment of the present invention;
Figure 14 is a kind of the first structural representation of domain name analysis system provided in an embodiment of the present invention;
Figure 15 is a kind of second of structural representation of domain name analysis system provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made Embodiment, belong to the scope of protection of the invention.
First below to this specification relates to technical term simply introduced.
Domain name system (DNS) is a kernel service of internet, and it, which is used as, mutually to map domain name and IP address A distributed data base, user can be made more easily to access internet, remember directly to be read by machine without spending The IP number strings taken.
Although the node on internet can use IP address unique identification, and can be accessed by IP address, Even the binary IP address of 32 to be write as to the tens form of 4 0~255, user's memory, therefore domain name are also not easy to (Domian Name) is arisen at the historic moment, and an IP address can be associated with one group of significant character up by domain name.User accesses one When individual website, the IP address of the website can be both inputted, its domain name, for data access, Liang Zheshi can also be inputted Of equal value.
Domain name analysis system in present specification by DNS authority server, DNS recursion servers and groups of clients into, By network connection between DNS authority server and DNS recursion servers, pass through net between DNS recursion servers and client Network connects.
In the course of the work, sending a DNS to DNS recursion servers from client first please for above-mentioned domain name analysis system Ask, it will be understood that the DNS request shows as message form, the heading for the DNS request that client is sent during transmission In source IP address be client IP address;, can be by the message of DNS request after DNS recursion servers receive the DNS request After source IP address in head is replaced, then DNS request is transmitted to DNS authority server.
Specifically, the source IP address in the heading of DNS request can be replaced with DNS recursion services by DNS recursion servers The IP address of device itself, or, if DNS recursion servers there are multiple outlets, and each export with being configured with different IP Location, then from which outlet forwarding, DNS recursion servers will replace the source IP address in the heading of DNS request DNS request It is changed to the IP address of the outlet.
Further, since the presence of NAT (Network Address Translation, network address translation) technology, DNS The source IP address included in the heading for the DNS request that authoritative server receives is probably the IP address after NAT is changed.
As seen from the above, the source IP address 1 included in the heading for the DNS request that DNS authority server receives is not It must be the real IP address of DNS recursion servers, less be the IP address of client, but DNS authority server receives DNS request heading in the source IP address 1 that includes have certain corresponding relation with DNS recursion servers.
DNS authority server can be inquired about on domain after the DNS request is received based on the domain name carried in DNS request The mapping library of name and IP address, IP address corresponding to the domain name is then obtained, and the IP address is returned through DNS recursion servers To client.
But it is above-mentioned on the mapping library of domain name and IP address in, when the domain name in the DNS request is corresponding with multiple IP Address, and when content server corresponding to these IP address or CDN server are in different geographical position, DNS authority clothes Business device can be based on source IP address 1, inquire about existing IP address geolocation mapping database, obtain to should source IP address 1 Geographical position 1, and obtain simultaneously multiple IP address corresponding to the domain name in the DNS request distinguish corresponding to multiple geographical positions Put, then in multiple geographical position from there, it is determined that with geographical position 1 at a distance of nearest geographical position 2, finally by geographical position Put result of the IP address corresponding to 2 as domain name mapping.
It should be noted that in the IP address geolocation mapping database of prior art, corresponding to each IP address Geographical position characterize be:The geographical position being configured with where the equipment of the IP address, for example, the IP address geolocation mapping In database, IP address 36.7.72.139 and geographical position Hefei City, Anhui Province corresponding relation are stored with, it will be understood that match somebody with somebody The main frame for being equipped with the IP address is located at Hefei City, Anhui Province;And IP address geolocation mapping database of the prior art, Update cycle is very long.
Below, the present invention is described in detail by specific embodiment.
Fig. 1 be a kind of domain name analytic method provided in an embodiment of the present invention the first schematic flow sheet, this method application In DNS authority server, such as Fig. 1, this method includes:
S101:Receive the target DNS request of target DNS recursion servers forwarding.Wherein, the target DNS request is by mesh The DNS request that mark client is sent to target DNS recursion servers, the target DNS request carry and are directed to target DNS recursion services The target source IP address and target domain name of device.
It is appreciated that the target DNS request can be sent to target DNS recursion servers by destination client first, so Afterwards, the target DNS request is transmitted to DNS authority server by target DNS recursion servers.
S102:Obtain the first geographical position of all first servers corresponding to target domain name.
It is well known by those skilled in the art that the first server can be content server or CDN server.In addition, The target domain name is corresponding with multiple first servers, shows:In the distributed data base that above-mentioned domain name and IP address mutually map In, the target domain name is corresponding with multiple different IP address IPX.Furthermore, it is possible to pass through existing IP address geolocation mapping Database determines above-mentioned each IP address IPXGeographical position corresponding to distinguishing, i.e., the first ground where each first server Manage position.
For example, include the domain name of Kingsoft software company website in the target DNS request, and the domain name is corresponding with 4 IP Address:IP1、IP2、IP3And IP4, show that the domain name is corresponding with 4 first servers, DNS authority server passes through existing IP Address geo location mapping database, determine geographical position corresponding to above-mentioned 4 IP address be respectively Beijing, Guangzhou, Hefei and Xi'an.
S103:Based on target source IP address and target mapping library, the second geographical position of destination client is determined.Wherein, Target mapping library is stored between the geographical position of IP address DNS recursion servers institute service client corresponding with the IP address Mapping relations.
The target source IP address be the target DNS request that DNS authority server is received heading in it is entrained Source IP address, by the target mapping library is stored with IP address DNS recursion servers institute services client corresponding with the IP address Mapping relations between the geographical position at end, so DNS authority server can obtain the target based on the target source IP address The geographical position of client.
It is well known by those skilled in the art that in the prior art, DNS authority server can be based on the target source IP address, Geographical position corresponding to the target source IP address is inquired about from existing IP address geolocation mapping database, is finally determined The geographical position come only is to show the geographical position corresponding to the target source IP address residing for physical equipment, not can be shown that the source The geographical position of DNS recursion servers institute service client corresponding to IP address.
It should be noted that the target mapping library can be generated by existing IP address geolocation mapping database, When DNS authority server is just started working, it can be replaced with the existing IP address geolocation mapping database, then Geographical position corresponding to IP address in the target mapping library is gradually updated again.
A kind of second of schematic flow sheet of domain name analytic method provided in an embodiment of the present invention as shown in Figure 2, the party Method also includes:
S106:Receive the target acquisition DNS request of target DNS recursion servers forwarding.Wherein, target acquisition DNS request For the detection DNS request sent from destination client to target DNS recursion servers, detection DNS request carries following information:
First mark of client or the geographical position of client determine information;
For the source IP address of DNS recursion servers.
It should be noted that step S106 is not to be limited to after above-mentioned steps S101~S105 is performed just to start to perform, Step S106 can be performed at any time.In addition, above-mentioned detection DNS request is sent from client to DNS recursion servers, And it is forwarded to the DNS request of DNS authority server by DNS recursion servers., should unlike above-mentioned target DNS request It is to be exclusively used in detect DNS request:Detect the geographical position of IP address DNS recursion servers institute service client corresponding with IP address The DNS request of mapping relations between putting.
It is appreciated that the detection DNS request is by DNS authority server when being received, the heading of the detection DNS request In include the above-mentioned source IP address for DNS recursion servers.In addition, in embodiments of the present invention, can be in client Plug-in so that client actively sends detection DNS request, and includes the first of client in DNS request is detected The geographical position of mark or client determines any one in information.
Above-mentioned first mark is the unique identification information of each client, such as can be that client place is whole MAC (Medium/Media Access Control, the media access control) address at end.In addition, the geographical position determines information It is a kind of information in the geographical position that can determine client, such as IP address.
In addition, in embodiments of the present invention, the first mark of above-mentioned client and the geographical position of client determine letter Breath, it may be embodied in the field of the domain name entrained by detection DNS request.Such as:The first of client is identified as:44-45- 53-54-00-00, then the domain name detected entrained by DNS request can be www.44-45-53-54-00-00.com;If client The geographical position at end determines that information is IP address:36.7.72.139 then domain name corresponding to the detection DNS request can be www.36.7.72.139.com。
It is corresponding that first mark of above-mentioned client or the geographical position of client are determined that information is arranged on detection DNS request Domain name field in, the construction for changing existing DNS request, strong applicability can not had to.
Fig. 3 is the schematic flow sheet of the first update method of the target mapping library in the embodiment of the present invention, this first Update method can apply to DNS authority server.In the case where detection DNS request carries the first mark, DNS authority service Device more fresh target mapping library in the following manner:
S201:In the case where meeting collection condition, detection DNS request is collected.
DNS authority server can set the specific collection cycle, and when collecting end cycle every time, from DNS authority In the daily record of work of server, the detection DNS request in collection in a cycle received by it, such as set and collect the cycle and be 10 days.
Further, since DNS authority server had both received real DNS request, such as above-mentioned target DNS request, also simultaneously Reception has a detection DNS request, and in the embodiment of the present invention, can be added in real DNS request please to distinguish real DNS The identification information of summation detection DNS request, for example, adding the identification information in the domain name entrained by detection DNS request Field, such as:The identification information is:JINSHAN, above-mentioned first is identified as 42-35-53-59-40-08, then the domain name can be with For:www.42-35-53-59-40-08\JINSHAN.com.
S202:Obtain the first client corresponding to the first mark that the detection DNS request being collected into carries the 3rd is geographical Position.
It should be noted that DNS authority server also needs to determine what is received while receiving and detecting DNS request Detect the 3rd geographical position of the first client corresponding to the first mark that DNS request carries.
In the first implementation of the embodiment of the present invention, detection DNS request that above-mentioned acquisition is collected into carry the The 3rd geographical position (S202) of the first client, can include corresponding to one mark:
The first object information that client is sent is obtained, wherein, first object information includes:The geographical position of client is true Determine the second mark of information and client;
Based on the second mark, from first object information, the first mark institute that the detection DNS request being collected into carries is obtained The geographical position of corresponding first client determines information;
Geographical position according to being obtained determines information, obtains the 3rd geographical position of the first client.
It is appreciated that in the first implementation, client except by DNS recursion servers to DNS authority service Device is sent outside detection DNS request, can also send a first object information to DNS authority server.It is it should be noted that same The first mark and the second mark corresponding to individual client are identicals, and therefore, DNS authority server can utilize each detection The first entrained mark in DNS request, find corresponding and the first mark identical second and identify corresponding first object Information, the geographical position for recycling first object information to carry determine information, determine the first client corresponding to first mark The 3rd geographical position.
For example, in the first object information that client is sent to DNS authority server, the geographical position of client determines letter Cease and be identified as 42-35-53-59-40-08 for IP address 36.7.72.139, second;It is collected into DNS authority server all Detect in DNS request, the detection DNS request that a correspondence first is identified as 42-35-53-59-40-08 be present, now can be true Fixed IP address 36.7.72.139 is that the geographical position of the first client corresponding to first that detection DNS request carries identifies is true Determine information, be then based on this IP address 36.7.72.139, inquire about existing IP address geolocation mapping database, it is determined that 3rd geographical position of first client is Hefei ,Anhui.
In second of implementation of the embodiment of the present invention, detection DNS request that above-mentioned acquisition is collected into carry the The 3rd geographical position (S202) of the first client, can include corresponding to one mark:
The second target information that client is sent is obtained, wherein, the second target information includes:The geographical position of client with And the second mark of client;
Based on the second mark, from the second target information, the first mark institute that the detection DNS request being collected into carries is obtained 3rd geographical position of corresponding first client.
In contrast to the first implementation, it will be understood that in second of implementation, client determines itself first Geographical position, such as itself is determined by existing IP address geolocation mapping database based on the IP address of itself Geographical position.
In the second target information that client is sent to DNS authority server, the geographical position for showing client is Beijing City Haidian District, second is identified as 44-45-53-54-00-00;In all detection DNS requests that DNS authority server is collected into In, the detection DNS request that a correspondence first is identified as 44-45-53-54-00-00 be present, now can directly determine this 3rd geographical position of the first corresponding client of one mark is Haidian District, Beijing City.
S203:Based on the first mark, the source IP address that the 3rd geographical position carries with the detection DNS request being collected into is established Mapping relations.
It is appreciated that in above-mentioned detection DNS request, the source IP address for DNS recursion servers and visitor are carried First mark at family end, and the 3rd geographical position of more corresponding first clients of each first mark is determined by step S202 Put, therefore the mapping relations for the source IP address that the 3rd geographical position carries with the detection DNS request being collected into can be established.Example Such as, a certain IP address carried in DNS request that detects is:47.154.201.159 the first mark that the detection DNS request carries 3rd geographical position of the first corresponding client is:Haidian District, Beijing City, then now establish the IP address 47.154.201.159 the mapping relations with the 3rd geographical position Haidian District, Beijing City.
S204:The geographical position corresponding to IP address stored in mapping relations based on foundation, more fresh target mapping library.
In embodiments of the present invention, can be it is every establish a corresponding relation after, be carried out once above-mentioned more fresh target The operation in the geographical position corresponding to IP address stored in mapping library, still, can in order to reduce the execution number of renewal operation To perform above-mentioned renewal operation again after multiple corresponding relations are established.
Optimal, can be that all detection DNS requests being collected into have been performed with above-mentioned the 3rd geographical position of establishing with receiving After the mapping relations for the source IP address that the detection DNS request collected carries, with all mapping relations of foundation, the mapping of more fresh target The geographical position corresponding to IP address stored in storehouse.Now, in the above-mentioned mapping relations based on foundation, more fresh target mapping library Geographical position (S204) corresponding to the IP address of storage, can include:
For each source IP address in the mapping relations established, more fresh target mapping library in such a way:
Judge source IP address IPMWhether different threeth geographical position is corresponding with, wherein, IPMIt is established mapping relations In any source IP address;
If it is, in the mapping relations established, IP is determined respectivelyMBetween each the 3rd different geographical position The occurrence number of mapping relations;From IPMIn corresponding all the 3rd different geographical position, the 3rd of occurrence number maximum is determined Geographical position is the geographical position of target the 3rd;
If not, determine IPMCorresponding 3rd geographical position is the geographical position of target the 3rd;
In target mapping library, IP is judgedMWhether corresponding geographical position and the geographical position of target the 3rd are identical;If It is no, IP in more fresh target mapping libraryMCorresponding geographical position is the geographical position of target the 3rd.
For example, in all mapping relations of foundation, IP address x is corresponding with different geographical position:Shanghai and Nanjing and wide State, IP address y only correspond to a geographical position:Shenzhen.Assuming that IP address x and Shanghai and Nanjing and Guangzhou three is to mapping relations, Occur respectively in all mapping relations established 10 times, 2 times and 100 times, then now determine that Guangzhou is target corresponding to IP address x 3rd geographical position, meanwhile, it is the geographical position of target the 3rd corresponding to IP address y to determine Shenzhen.
Then, in target mapping library, inquiry IP address x and IP address y distinguish corresponding to geographical position, it is assumed that IP Geographical position corresponding to location x and IP address y is respectively Kunming and Sanya, then the more new IP address x and IP in target mapping library Geographical position corresponding to the y of location is respectively Guangzhou and Shenzhen.
Fig. 4 is the schematic flow sheet of second of update method of the target mapping library in the embodiment of the present invention, and this is second Update method can apply to DNS authority server.In the case of determining information in detection DNS request carrying geographical position, lead to Cross in the following manner more fresh target mapping library:
S301:In the case where meeting collection condition, detection DNS request is collected.
It is appreciated that step S301 is identical with step S201 concrete operations, step S201 specific execution is referred to Mode realizes step S301.
S302:It is based respectively on the geographical position that each detection DNS request being collected into carries and determines information, determines each spy Survey the 4th geographical position of client corresponding to DNS request.
The geographical position of client carried in detection DNS request determine information can be client IP address or Directly it is expressed as the geographical position of client.For example, it is a certain detection DNS request in domain name for www.125.34.213.1 JINSHAN.com, wherein, 125.34.213.1 represent client IP address, JINSHAN represent difference detection DNS request with The mark of true DNS request, at this point it is possible to be based on IP address 125.34.213.1, determines the 4th geographical position of client For Chaoyang District Beijing.
For another example:Domain name in a certain detection DNS request for www.anhuihefei JINSHAN.com, wherein, " anhuihefei " represents Hefei ,Anhui, i.e. the 4th geographical position of client is Hefei ,Anhui.
S303:The mapping relations established between the source IP address of the 4th geographical position and each detection DNS request carrying.
It is appreciated that the geographical position that each detection DNS request carries client determines information, thus can be true 4th geographical position of client corresponding to the fixed detection DNS request, it is active due to being included in the heading of the detection DNS request IP address, so, each probe requests thereby, the mapping relations established between the 4th geographical position and source IP address can be directed to.
For example, it is assumed that a certain detection DNS request carrying source IP address IPz that DNS authority server receives, and the spy The geographical position of client corresponding to surveying DNS request is Chaoyang District Beijing, then can establish IP address IPz and Chaoyang District Beijing Mapping relations.
S304:The geographical position corresponding to IP address stored in mapping relations based on foundation, more fresh target mapping library.
Specifically, the ground corresponding to the IP address stored in the above-mentioned mapping relations based on foundation, more fresh target mapping library Manage position (S304), can include:
For each source IP address in the mapping relations established, more fresh target mapping library in such a way:
Judge source IP address IPSWhether different fourth geographical position is corresponding with, wherein, IPSIt is established mapping relations In any source IP address;
If it is, in the mapping relations established, IP is determined respectivelySBetween each the 4th different geographical position The occurrence number of mapping relations;From IPSIn corresponding all the 4th different geographical position, the 4th of occurrence number maximum is determined Geographical position is the geographical position of target the 4th;
If not, determine IPSCorresponding 4th geographical position is the geographical position of target the 4th;
In target mapping library, IP is judgedSWhether corresponding geographical position and the geographical position of target the 4th are identical;If It is no, IP in more fresh target mapping librarySCorresponding geographical position is the geographical position of target the 4th.
Should illustrate it is that the specific executive mode of step S304 herein is referred to and abovementioned steps S204, the present invention Embodiment is not described in detail herein.
Fig. 5 is the schematic flow sheet of the third update method of the target mapping library in the embodiment of the present invention, is reflected in target Penetrate in the third update method in storehouse, target mapping library can be by being in the destination service of the same network segment with DNS authority server Device updates, as shown in figure 5, destination server more fresh target mapping library in the following manner:
S401:In the case where meeting collection condition, the 3rd target information that client is sent is collected.Wherein, the 3rd mesh Mark information includes:5th geographical position of client and to should client the first DNS recursion servers real IP address.
In embodiments of the present invention, client directly can also send the 3rd target information to the destination server, can be with Understanding, client can obtain the real IP address of corresponding DNS recursion servers, in addition, in the 3rd target information, Information can also be determined with the geographical position of client to substitute the 5th geographical position.
Destination server can periodically collect the 3rd target information that client is sent at predetermined intervals, I.e. at the end of each time interval, all 3rd target informations received by it are collected in the time interval.
S402:According to real IP address, inquiry request is sent to the first DNS recursion servers.Wherein, inquiry request is used for Obtain the first source IP address for being directed to the first DNS recursion servers.
It is appreciated that destination server obtain the first DNS recursion servers real IP address after, can to this first DNS recursion servers send inquiry request, and the purpose IP address in the heading of the inquiry request is the first DNS recurrence clothes The real IP address of business device;It should be noted that the embodiment of the present invention does not do excessive restriction to the inquiry request, it is only necessary to protects The first DNS recursion servers are demonstrate,proved to give a response to destination server when receiving the inquiry request.
S403:The first return information of the DNS recursion servers based on inquiry request is received, the return information includes:For In the first source IP address of the first DNS recursion servers.
It is understood that after destination server receives the return information sent by the first DNS recursion servers, can To obtain a source IP address from the heading of the return information.Because the destination server and DNS authority server are in The same network segment, thus from the first DNS recursion servers to destination server with to DNS authority server send information when, letter The routed path of breath is identical, so when destination server can obtain DNS recursion servers access DNS authority server, Source IP address in heading corresponding to message received by DNS authority server.
Obvious, in the embodiment of the present invention, destination server and DNS authority server receive same DNS recurrence clothes The source IP address phase carried respectively in the heading of the message 1 and message 2 that business device is sent respectively, the message 1 and message 2 Together.
S404:Establish the mapping relations in the 5th geographical position and the first source IP address.
Because the 3rd target information includes:5th geographical position of client and to should client the first DNS recurrence The real IP address of server, it is possible to establish the mapping relations in the 5th geographical position and the real IP address;In addition, should There are mapping relations in real IP address and return information, it is possible to establish reflecting for the real IP address and first source IP address Relation is penetrated, finally, the mapping relations in the 5th geographical position and the first source IP address can be established.
For example, a certain 3rd target information includes information:5th geographical position of client is Shanghai, and real IP Location is 58.192.32.66;Destination server is based on the real IP address and sends inquiry request to corresponding DNS recursion servers Afterwards, the first source IP address 46.152.32.215 is included in the return information of acquisition;It then can now establish the 5th geographical position Shanghai and the first source IP address 46.152.32.215 mapping relations.
S405:The geographical position corresponding to IP address stored in mapping relations based on foundation, more fresh target mapping library.
The geographical position corresponding to IP address stored in the mapping relations based on foundation herein, more fresh target mapping library (S405), can include:
For every one first source IP address in the mapping relations established, more fresh target mapping library in such a way:
Judge the first source IP address IPDWhether different fiveth geographical position is corresponding with, wherein, IPDIt is established mapping Any first source IP address in relation;
If it is, in the mapping relations established, IP is determined respectivelyDBetween each the 5th different geographical position The occurrence number of mapping relations;From IPDIn corresponding all the 5th different geographical position, the 5th of occurrence number maximum is determined Geographical position is the geographical position of target the 5th;
If not, determine IPDCorresponding 5th geographical position is the geographical position of target the 5th;
In target mapping library, IP is judgedDWhether corresponding geographical position and the geographical position of target the 5th are identical;If It is no, IP in more fresh target mapping libraryDCorresponding geographical position is the geographical position of target the 5th.
Should illustrate it is that the specific executive mode of step S405 herein is referred to and abovementioned steps S204, the present invention Embodiment is not described in detail herein.
In the prior art, if the IP address that DNS recursion servers are allocated is dynamic IP addressing, or DNS recurrence The operator of server changes, and may all cause the change of the real IP address of DNS recursion servers, so the present invention is real State of the target mapping library provided in example all the time in dynamic renewal is applied, to cause the real IP address of DNS recursion servers After being changed, the mapping relations in target mapping library also can be correspondingly updated, and then ensure the accuracy of domain name mapping result.
S104:Selection and the closest geographical position in the second geographical position from the first geographical position, selected by acquisition Geographical position corresponding to first server target ip address.
For example, the first geographical position of first server determined by step S102 includes:Beijing, Guangzhou, Hefei and west Peace, and the second geographical position determined by step S102 is Shijiazhuang, Beijing is nearest far from Shijiazhuang, so determining that geographical position is The IP address of Pekinese's first server.
S105:Target ip address is defined as to parse the IP address obtained by target domain name.
It is appreciated that the target ip address be to should aiming field name domain name mapping result, certainly, DNS authority clothes Business device can reply to the packet comprising the target ip address target DNS recursion servers, then be taken by target DNS recurrence Business device sends the packet to destination client.
As seen from the above, in scheme provided in an embodiment of the present invention, first, DNS authority server receives target DNS recurrence The target DNS request of server forwarding;Obtain the first geographical position of all first servers corresponding to target domain name;It is based on Target source IP address and target mapping library, determine the second geographical position of destination client;From the first geographical position selection with The closest geographical position in second geographical position, with obtaining the Target IP of first server corresponding to selected geographical position Location;Target ip address is defined as to parse the IP address obtained by target domain name.Compared with prior art, the embodiment of the present invention provides Scheme in, IP address DNS recursion servers corresponding with the IP address are stored with the target mapping library of institute's foundation and are serviced Mapping relations between the geographical position of client, therefore, DNS authority server are referred to mesh when carrying out domain name mapping Mapping library is marked, determines the geographical position of the destination client, and then parse closest with the geographical position of destination client Content server or CDN server IP address, ensure that the accuracy of analysis result.
Fig. 6 is the first schematic flow sheet of another domain name analytic method provided in an embodiment of the present invention.Shown in Fig. 1 Embodiment of the method it is corresponding, another domain name analytic method is applied to destination client, can include:
S501:Target DNS request is sent to DNS authority server by target DNS recursion servers, to cause DNS to weigh Prestige server obtains the first geographical position of all first servers corresponding to the target domain name that target DNS request carries, base The target source IP address for target DNS recursion servers carried in target mapping library and target DNS request, determines target Second geographical position of client, selection and the closest geographical position in the second geographical position, are obtained from the first geographical position The target ip address of first server corresponding to selected geographical position is obtained, target ip address is defined as to parse target domain name The IP address of gained;Wherein, target mapping library is stored with IP address DNS recursion servers corresponding with the IP address and services visitor Mapping relations between the geographical position at family end.
It is appreciated that step S501 represents that destination client sends the target DNS request to target DNS recursion servers, The target DNS request is transmitted to DNS authority server by target DNS recursion servers again.
S502:The target ip address of DNS authority server feedback is received by target DNS recursion servers.
After the result that DNS authority server determines that above-mentioned purpose IP address is domain name mapping, DNS authority server can incite somebody to action The purpose IP address is sent to target DNS recursion servers, then again by target DNS recursion servers by the purpose IP address It is transmitted to destination client
As shown in fig. 7, another domain name analytic method also includes:
S503:Target acquisition DNS request is sent to DNS authority server by target DNS recursion servers, to cause DNS authority server is based on the detection DNS request being collected into, more fresh target mapping library;
Wherein, detect DNS request and carry following information:
First mark of client or the geographical position of client determine information;
For the source IP address of DNS recursion servers.
In embodiments of the present invention, target mapping library can be taken by the target that the same network segment is in DNS authority server Business device renewal, as shown in figure 8, another domain name analytic method also includes:
S504:The 3rd target information directly is sent to destination server, to cause destination server based on the be collected into Three target informations, more fresh target mapping library;
Wherein, the 3rd target information includes:5th geographical position of client and to should client the first DNS recurrence The real IP address of server.
It should be noted that above-mentioned another domain name analytic method with aforementioned applications in the domain name mapping of DNS authority server Method is corresponding, and the embodiment of the present invention no longer describes in detail to the idiographic flow of another domain name analytic method herein.
As seen from the above, in scheme provided in an embodiment of the present invention, first, DNS authority server receives target DNS recurrence The target DNS request of server forwarding;Obtain the first geographical position of all first servers corresponding to target domain name;It is based on Target source IP address and target mapping library, determine the second geographical position of destination client;From the first geographical position selection with The closest geographical position in second geographical position, with obtaining the Target IP of first server corresponding to selected geographical position Location;Target ip address is defined as to parse the IP address obtained by target domain name.Compared with prior art, the embodiment of the present invention provides Scheme in, IP address DNS recursion servers corresponding with the IP address are stored with the target mapping library of institute's foundation and are serviced Mapping relations between the geographical position of client, therefore, DNS authority server are referred to mesh when carrying out domain name mapping Mapping library is marked, determines the geographical position of the destination client, and then parse closest with the geographical position of destination client Content server or CDN server IP address, ensure that the accuracy of analysis result.
Corresponding to embodiment of the method shown in Fig. 1, the embodiment of the present invention additionally provides a kind of domain name mapping device, is applied to DNS authority server, as shown in figure 9, described device includes:
First receiving module 110, for receiving the target DNS request of target DNS recursion servers forwarding, wherein, it is described Target DNS request is DNS request from destination client to the target DNS recursion servers that sent from, the target DNS request Carry the target source IP address and target domain name for the target DNS recursion servers;
First obtains module 120, for obtaining the first geography of all first servers corresponding to the target domain name Position;
First determining module 130, for based on the target source IP address and target mapping library, determining the target customer Second geographical position at end, wherein, the target mapping library is stored with IP address DNS recursion servers corresponding with the IP address Mapping relations between the geographical position of institute's service client;
Second obtains module 140, for the selection from first geographical position and second geographical position apart from most Near geographical position, obtain the target ip address of first server corresponding to selected geographical position;
Second determining module 150, for the IP that is defined as parsing by the target ip address obtained by the target domain name Location.
Figure 10 is a kind of second of structural representation of domain name mapping device provided in an embodiment of the present invention, such as Figure 10 institutes Show, described device also includes:
Second receiving module 160, for receiving the target acquisition DNS request of the target DNS recursion servers forwarding, its In, the target acquisition DNS request is the detection DNS sent from the destination client to the target DNS recursion servers Request, the detection DNS request carry following information:
First mark of client or the geographical position of client determine information;
For the source IP address of DNS recursion servers.
In actual applications, specifically, in the case where the detection DNS request carries first mark, the dress Put and also establish module and the first update module (not shown) including the first collection module, the 3rd acquisition module, first.
First collection module, in the case where meeting collection condition, collecting detection DNS request;
3rd obtains module, first corresponding to first mark carried for obtaining the detection DNS request being collected into 3rd geographical position of client;
First establishes module, for based on the described first mark, establishing the 3rd geographical position and the detection being collected into The mapping relations for the source IP address that DNS request carries;
First update module, for the mapping relations based on foundation, update the IP address stored in the target mapping library Corresponding geographical position.
Specifically, in the first implementation, the described 3rd obtains module, can include:First obtains submodule, the Two, which obtain submodule and the 3rd, obtains submodule (not shown);
First obtains submodule, for obtaining the first object information of client transmission, wherein, the first object information Including:The geographical position of client determines the second mark of information and client;
Second obtains submodule, for based on the described second mark, from the first object information, obtaining what is be collected into The geographical position of the first client determines information corresponding to first mark that detection DNS request carries;
3rd obtains submodule, for determining information according to the geographical position obtained, obtains first client 3rd geographical position.
Specifically, in another implementation, the described 3rd obtains module, can also include:4th obtains submodule Submodule (not shown) is obtained with the 5th,
4th obtains submodule, for obtaining the second target information of client transmission, wherein, second target information Including:The geographical position of client and the second mark of client;
5th obtains submodule, for based on the described second mark, from second target information, obtaining what is be collected into Detect the 3rd geographical position of the first client corresponding to first mark that DNS request carries.
Corresponding to Fig. 4, in the case of determining information in detection DNS request carrying geographical position, described device also includes:The Two collection modules, the 3rd determining module, second establish module and the second update module (not shown),
Second collection module, in the case where meeting collection condition, collecting detection DNS request;
3rd determining module, the geographical position for being based respectively on each detection DNS request being collected into carrying are true Determine information, determine the 4th geographical position of client corresponding to each detection DNS request;
Second establishes module, the source IP carried for establishing the 4th geographical position with each detection DNS request Mapping relations between address;
Second update module, for the mapping relations based on foundation, update the IP address stored in the target mapping library Corresponding geographical position.
As seen from the above, in scheme provided in an embodiment of the present invention, first, DNS authority server receives target DNS recurrence The target DNS request of server forwarding;Obtain the first geographical position of all first servers corresponding to target domain name;It is based on Target source IP address and target mapping library, determine the second geographical position of destination client;From the first geographical position selection with The closest geographical position in second geographical position, with obtaining the Target IP of first server corresponding to selected geographical position Location;Target ip address is defined as to parse the IP address obtained by target domain name.Compared with prior art, the embodiment of the present invention provides Scheme in, IP address DNS recursion servers corresponding with the IP address are stored with the target mapping library of institute's foundation and are serviced Mapping relations between the geographical position of client, therefore, DNS authority server are referred to mesh when carrying out domain name mapping Mapping library is marked, determines the geographical position of the destination client, and then parse closest with the geographical position of destination client Content server or CDN server IP address, ensure that the accuracy of analysis result.
Corresponding to embodiment of the method shown in Fig. 6, the embodiment of the present invention additionally provides another domain name mapping device, is applied to Destination client, the first structural representation of another domain name mapping device provided in an embodiment of the present invention as shown in figure 11 Figure, described device include:
First sending module 510, please for sending target DNS to DNS authority server by target DNS recursion servers Ask;To cause the DNS authority server to receive the target DNS request of target DNS recursion servers forwarding, the target is obtained First geographical position of all first servers corresponding to target domain name that DNS request carries, based on target mapping library and institute The target source IP address for the target DNS recursion servers carried in target DNS request is stated, determines the target customer Second geographical position at end, selection and the closest geographical position in second geographical position from first geographical position Put, the target ip address of first server corresponding to selected geographical position is obtained, by the target ip address through the mesh Mark DNS recursion servers are sent to the destination client;
Wherein, the target mapping library is stored with IP address DNS recursion servers corresponding with the IP address and services visitor Mapping relations between the geographical position at family end;
3rd receiving module 520, it is anti-for receiving the DNS authority server by the target DNS recursion servers The target ip address of feedback.
Second of structural representation of another domain name mapping device provided in an embodiment of the present invention as shown in figure 12, institute Stating device also includes:
Second sending module 530, for sending target acquisition to DNS authority server by target DNS recursion servers DNS request;To cause the DNS authority server based on the detection DNS request being collected into, to update the target mapping library;
Wherein, the detection DNS request carries following information:
First mark of client or the geographical position of client determine information;
For the source IP address of DNS recursion servers.
Figure 13 be another domain name mapping device provided in an embodiment of the present invention the third structural representation, the target Mapping library is updated by the destination server that the same network segment is in the DNS authority server, and as shown in figure 13, described device is also Including:
3rd sending module 540, for directly sending the 3rd target information to the destination server;To cause the mesh Server is marked based on the 3rd target information being collected into, updates the target mapping library;
Wherein, the 3rd target information includes:5th geographical position of client and to should client the first DNS The real IP address of recursion server.
As seen from the above, in scheme provided in an embodiment of the present invention, first, DNS authority server receives target DNS recurrence The target DNS request of server forwarding;Obtain the first geographical position of all first servers corresponding to target domain name;It is based on Target source IP address and target mapping library, determine the second geographical position of destination client;From the first geographical position selection with The closest geographical position in second geographical position, with obtaining the Target IP of first server corresponding to selected geographical position Location;Target ip address is defined as to parse the IP address obtained by target domain name.Compared with prior art, the embodiment of the present invention provides Scheme in, IP address DNS recursion servers corresponding with the IP address are stored with the target mapping library of institute's foundation and are serviced Mapping relations between the geographical position of client, therefore, DNS authority server are referred to mesh when carrying out domain name mapping Mapping library is marked, determines the geographical position of the destination client, and then parse closest with the geographical position of destination client Content server or CDN server IP address, ensure that the accuracy of analysis result.
Corresponding to embodiment of the method shown in Fig. 1, the embodiment of the present invention additionally provides a kind of domain name analysis system, such as Figure 14 institutes Show, the system includes:DNS authority server, DNS recursion servers, client,
The client, for sending target DNS request to the DNS recursion servers, wherein, the target DNS please Seek the target source IP address and target domain name carried for the DNS recursion servers;
The DNS recursion servers, the target DNS request sent for receiving the client, and by the mesh Mark DNS request is forwarded to the DNS authority server;
The DNS authority server, for receiving the target DNS request of the DNS recursion servers forwarding;Obtain Corresponding to the first geographical position of all first servers of the target domain name;Reflected based on the target source IP address and target Storehouse is penetrated, determines the second geographical position of the client, wherein, the target mapping library is stored with IP address and the IP address pair Mapping relations between the geographical position for the DNS recursion servers institute service client answered;Selected from first geographical position The geographical position closest with second geographical position is selected, obtains first server corresponding to selected geographical position Target ip address;The target ip address is defined as to parse the IP address obtained by the target domain name.
Specifically, the client, is additionally operable to send target acquisition DNS request to the DNS recursion servers, wherein, The detection DNS request carries following information:
First mark of client or the geographical position of client determine information;
For the source IP address of DNS recursion servers;
The DNS recursion servers, it is additionally operable to receive the target acquisition DNS request that the client is sent;
The DNS authority server, the target acquisition DNS for being additionally operable to receive the DNS recursion servers forwarding please Ask.
Specifically, in the case where the detection DNS request carries first mark,
The DNS authority server, is additionally operable in the case where meeting collection condition, collects detection DNS request;Received 3rd geographical position of the first client corresponding to first mark that the detection DNS request collected carries;Based on described One mark, establish the mapping relations for the source IP address that the 3rd geographical position carries with the detection DNS request being collected into;It is based on The mapping relations of foundation, update the geographical position corresponding to the IP address stored in the target mapping library.
Specifically, in the first implementation, the DNS authority server, specifically for obtaining client transmission First object information;Based on the described second mark, from the first object information, obtain the detection DNS request being collected into and take The geographical position of the first client determines information corresponding to first mark of band;Letter is determined according to the geographical position obtained Breath, obtain the 3rd geographical position of first client.Wherein, the first object information includes:The geographical position of client Put the second mark for determining information and client.
Specifically, in second of implementation, the DNS authority server, specifically for obtaining client transmission Second target information;Based on the described second mark, from second target information, obtain the detection DNS request being collected into and take 3rd geographical position of the first client corresponding to first mark of band.Wherein, second target information includes:Client The geographical position at end and the second mark of client.
Specifically, in the case of determining information in the detection DNS request carrying geographical position,
The DNS authority server, is additionally operable in the case where meeting collection condition, collects detection DNS request;Base respectively Information is determined in the geographical position that each detection DNS request being collected into carries, determines each detection DNS request pair 4th geographical position of the client answered;Establish the source IP that the 4th geographical position carries with each detection DNS request Mapping relations between address;Mapping relations based on foundation, update corresponding to the IP address stored in the target mapping library Geographical position.
A kind of second of structural representation of domain name analysis system provided in an embodiment of the present invention as shown in figure 15, it is described System also includes:The destination server of the same network segment is in the DNS authority server;
The destination server, for updating the target mapping library;
The client, it is additionally operable to directly send the 3rd target information to the destination server;Wherein, the 3rd mesh Mark information includes:5th geographical position of client and to should client the first DNS recursion servers real IP address;
The destination server, it is additionally operable in the case where meeting collection condition, collects the 3rd target that client is sent Information;According to the real IP address, inquiry request is sent to the first DNS recursion servers, wherein, the inquiry request The first source IP address of the first DNS recursion servers is directed to for obtaining;Receive the first DNS recursion servers and be based on institute The return information of inquiry request is stated, the return information includes:With being directed to the first source IP of the first DNS recursion servers Location;Establish the mapping relations in the 5th geographical position and first source IP address;Mapping relations based on foundation, update institute State the geographical position corresponding to the IP address stored in target mapping library.
In actual use, specifically, the destination server, specifically for every in the mapping relations for being established One first source IP address, judge the first source IP address IPDWhether different fiveth geographical position is corresponding with;If it is, built In vertical mapping relations, IP is determined respectivelyDThe occurrence number of mapping relations between each the 5th different geographical position;From IPDIn corresponding all the 5th different geographical position, determine the 5th maximum geographical position of the occurrence number for target the Five geographical position;If not, determine IPDCorresponding 5th geographical position is the geographical position of target the 5th;Mapped in the target In storehouse, IP is judgedDWhether corresponding geographical position and the geographical position of target the 5th are identical;If not, update the mesh Mark IP in mapping libraryDCorresponding geographical position is the geographical position of target the 5th;
Wherein, IPDIt is any first source IP address in established mapping relations.
As seen from the above, in scheme provided in an embodiment of the present invention, first, DNS authority server receives target DNS recurrence The target DNS request of server forwarding;Obtain the first geographical position of all first servers corresponding to target domain name;It is based on Target source IP address and target mapping library, determine the second geographical position of destination client;From the first geographical position selection with The closest geographical position in second geographical position, with obtaining the Target IP of first server corresponding to selected geographical position Location;Target ip address is defined as to parse the IP address obtained by target domain name.Compared with prior art, the embodiment of the present invention provides Scheme in, IP address DNS recursion servers corresponding with the IP address are stored with the target mapping library of institute's foundation and are serviced Mapping relations between the geographical position of client, therefore, DNS authority server are referred to mesh when carrying out domain name mapping Mapping library is marked, determines the geographical position of the destination client, and then parse closest with the geographical position of destination client Content server or CDN server IP address, ensure that the accuracy of analysis result.
It should be noted that herein, such as first and second or the like relational terms are used merely to a reality Body or operation make a distinction with another entity or operation, and not necessarily require or imply and deposited between these entities or operation In any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant are intended to Nonexcludability includes, so that process, method, article or equipment including a series of elements not only will including those Element, but also the other element including being not expressly set out, or it is this process, method, article or equipment also to include Intrinsic key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that Other identical element also be present in process, method, article or equipment including the key element.
Each embodiment in this specification is described by the way of related, identical similar portion between each embodiment Divide mutually referring to what each embodiment stressed is the difference with other embodiment.It is real especially for device For applying example, because it is substantially similar to embodiment of the method, so description is fairly simple, related part is referring to embodiment of the method Part explanation.
Can one of ordinary skill in the art will appreciate that realizing that all or part of step in above method embodiment is To instruct the hardware of correlation to complete by program, described program can be stored in computer read/write memory medium, The storage medium designated herein obtained, such as:ROM/RAM, magnetic disc, CD etc..
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all Any modification, equivalent substitution and improvements made within the spirit and principles in the present invention etc., are all contained in protection scope of the present invention It is interior.

Claims (26)

  1. A kind of 1. domain name analytic method, applied to DNS authority server, it is characterised in that methods described includes:
    The target DNS request of target DNS recursion servers forwarding is received, wherein, the target DNS request is by destination client The DNS request sent to the target DNS recursion servers, the target DNS request carries to be taken for the target DNS recurrence The target source IP address and target domain name of business device;
    Obtain the first geographical position of all first servers corresponding to the target domain name;
    Based on the target source IP address and target mapping library, the second geographical position of the destination client is determined, wherein, institute State target mapping library be stored with IP address DNS recursion servers institute service client corresponding with the IP address geographical position it Between mapping relations;
    Selection and the closest geographical position in second geographical position from first geographical position, obtain selected The target ip address of first server corresponding to geographical position;
    The target ip address is defined as to parse the IP address obtained by the target domain name.
  2. 2. according to the method for claim 1, it is characterised in that methods described also includes:
    The target acquisition DNS request of the target DNS recursion servers forwarding is received, wherein, the target acquisition DNS request is The detection DNS request sent from the destination client to the target DNS recursion servers, the detection DNS request carry Following information:
    First mark of client or the geographical position of client determine information;
    For the source IP address of DNS recursion servers.
  3. 3. according to the method for claim 2, it is characterised in that carry first mark in the detection DNS request In the case of, the target mapping library is updated in the following manner:
    In the case where meeting collection condition, detection DNS request is collected;
    Obtain the 3rd geographical position of the first client corresponding to first mark that the detection DNS request being collected into carries;
    Based on the described first mark, the source IP address that the 3rd geographical position carries with the detection DNS request being collected into is established Mapping relations;
    Mapping relations based on foundation, update the geographical position corresponding to the IP address stored in the target mapping library.
  4. 4. according to the method for claim 3, it is characterised in that the institute for obtaining the detection DNS request being collected into and carrying The 3rd geographical position of the first client corresponding to the first mark is stated, including:
    The first object information that client is sent is obtained, wherein, the first object information includes:The geographical position of client is true Determine the second mark of information and client;
    Based on the described second mark, from the first object information, described the of the detection DNS request carrying being collected into is obtained The geographical position of the first client determines information corresponding to one mark;
    Geographical position according to being obtained determines information, obtains the 3rd geographical position of first client.
  5. 5. according to the method for claim 3, it is characterised in that the institute for obtaining the detection DNS request being collected into and carrying The 3rd geographical position of the first client corresponding to the first mark is stated, including:
    The second target information that client is sent is obtained, wherein, second target information includes:The geographical position of client with And the second mark of client;
    Based on the described second mark, from second target information, described the of the detection DNS request carrying being collected into is obtained 3rd geographical position of the first client corresponding to one mark.
  6. 6. according to the method for claim 2, it is characterised in that it is true to carry the geographical position in the detection DNS request In the case of determining information, the target mapping library is updated in the following manner:
    In the case where meeting collection condition, detection DNS request is collected;
    It is based respectively on the geographical position that each detection DNS request being collected into carries and determines information, determines each spy Survey the 4th geographical position of client corresponding to DNS request;
    The mapping relations established between the source IP address of the 4th geographical position and each detection DNS request carrying;
    Mapping relations based on foundation, update the geographical position corresponding to the IP address stored in the target mapping library.
  7. 7. according to the method for claim 1, it is characterised in that
    The target mapping library is updated by the destination server that the same network segment is in the DNS authority server, the target Server updates the target mapping library in the following manner:
    In the case where meeting collection condition, the 3rd target information that client is sent is collected, wherein, the 3rd target information Including:5th geographical position of client and to should client the first DNS recursion servers real IP address;
    According to the real IP address, inquiry request is sent to the first DNS recursion servers, wherein, the inquiry request The first source IP address of the first DNS recursion servers is directed to for obtaining;
    The first return information of the DNS recursion servers based on the inquiry request is received, the return information includes:It is directed to institute State the first source IP address of the first DNS recursion servers;
    Establish the mapping relations in the 5th geographical position and first source IP address;
    Mapping relations based on foundation, update the geographical position corresponding to the IP address stored in the target mapping library.
  8. 8. according to the method for claim 7, it is characterised in that the mapping relations based on foundation, update the target The geographical position corresponding to IP address stored in mapping library, including:
    For every one first source IP address in the mapping relations established, the target mapping library is updated in such a way:
    Judge the first source IP address IPDWhether different fiveth geographical position is corresponding with, wherein, IPDIt is established mapping relations In any first source IP address;
    If it is, in the mapping relations established, IP is determined respectivelyDFrom the mapping between each the 5th different geographical position The occurrence number of relation;From IPDIn corresponding all the 5th different geographical position, the 5th of the occurrence number maximum is determined Geographical position is the geographical position of target the 5th;
    If not, determine IPDCorresponding 5th geographical position is the geographical position of target the 5th;
    In the target mapping library, IP is judgedDWhether corresponding geographical position and the geographical position of target the 5th are identical; If not, update IP in the target mapping libraryDCorresponding geographical position is the geographical position of target the 5th.
  9. 9. a kind of domain name analytic method, applied to destination client, it is characterised in that methods described includes:
    Target DNS request is sent to DNS authority server by target DNS recursion servers, to cause the DNS authority service Device obtains the first geographical position of all first servers corresponding to the target domain name that the target DNS request carries, and is based on The target source IP address for the target DNS recursion servers carried in target mapping library and the target DNS request, really Second geographical position of the fixed destination client, selection and second geographical position distance from first geographical position Nearest geographical position, the target ip address of first server corresponding to selected geographical position is obtained, by the Target IP Address is defined as parsing the IP address obtained by the target domain name;Wherein, the target mapping library is stored with IP address and the IP Mapping relations between the geographical position of DNS recursion servers institute service client corresponding to address;
    The target ip address of the DNS authority server feedback is received by the target DNS recursion servers.
  10. 10. according to the method for claim 9, it is characterised in that methods described also includes:
    Target acquisition DNS request is sent to DNS authority server by target DNS recursion servers, to cause the DNS authority Server updates the target mapping library based on the detection DNS request being collected into;
    Wherein, the detection DNS request carries following information:
    First mark of client or the geographical position of client determine information;
    For the source IP address of DNS recursion servers.
  11. 11. according to the method for claim 9, it is characterised in that the target mapping library by with the DNS authority server Destination server renewal in the same network segment, methods described also include:
    The 3rd target information directly is sent to the destination server, to cause the destination server based on the 3rd be collected into Target information, update the target mapping library;
    Wherein, the 3rd target information includes:5th geographical position of client and to should client the first DNS recurrence The real IP address of server.
  12. A kind of 12. domain name mapping device, applied to DNS authority server, it is characterised in that described device includes:
    First receiving module, for receiving the target DNS request of target DNS recursion servers forwarding, wherein, the target DNS The DNS request to be sent from destination client to the target DNS recursion servers is asked, the target DNS request carries pin To the target source IP address and target domain name of the target DNS recursion servers;
    First obtains module, for obtaining the first geographical position of all first servers corresponding to the target domain name;
    First determining module, for based on the target source IP address and target mapping library, determining the of the destination client Two geographical position, wherein, the target mapping library is stored with IP address DNS recursion servers corresponding with the IP address and serviced Mapping relations between the geographical position of client;
    Second obtains module, for the selection from first geographical position and the closest geography in second geographical position Position, obtain the target ip address of first server corresponding to selected geographical position;
    Second determining module, for being defined as the target ip address to parse the IP address obtained by the target domain name.
  13. 13. device according to claim 12, it is characterised in that described device also includes:
    Second receiving module, for receiving the target acquisition DNS request of the target DNS recursion servers forwarding, wherein, it is described Target acquisition DNS request is detection DNS request from the destination client to the target DNS recursion servers that sent from, institute State detection DNS request and carry following information:
    First mark of client or the geographical position of client determine information;
    For the source IP address of DNS recursion servers.
  14. 14. device according to claim 13, it is characterised in that carry first mark in the detection DNS request In the case of, described device also includes:
    First collection module, in the case where meeting collection condition, collecting detection DNS request;
    3rd obtains module, the first client corresponding to first mark carried for obtaining the detection DNS request being collected into 3rd geographical position at end;
    First establishes module, for based on the described first mark, the detection DNS for establishing the 3rd geographical position and being collected into please Seek the mapping relations of the source IP address of carrying;
    First update module, for the mapping relations based on foundation, it is right to update the IP address institute stored in the target mapping library The geographical position answered.
  15. 15. device according to claim 14, it is characterised in that the described 3rd obtains module, including:
    First obtains submodule, for obtaining the first object information of client transmission, wherein, the first object packet Include:The geographical position of client determines the second mark of information and client;
    Second obtains submodule, for based on the described second mark, from the first object information, obtaining the detection being collected into The geographical position of the first client determines information corresponding to first mark that DNS request carries;
    3rd obtains submodule, for determining information according to the geographical position obtained, obtains the 3rd of first client Geographical position.
  16. 16. device according to claim 14, it is characterised in that the described 3rd obtains module, including:
    4th obtains submodule, for obtaining the second target information of client transmission, wherein, the second target information bag Include:The geographical position of client and the second mark of client;
    5th obtains submodule, for based on the described second mark, from second target information, obtaining the detection being collected into 3rd geographical position of the first client corresponding to first mark that DNS request carries.
  17. 17. device according to claim 13, it is characterised in that carry the geographical position in the detection DNS request In the case of determining information, described device also includes:
    Second collection module, in the case where meeting collection condition, collecting detection DNS request;
    3rd determining module, letter is determined for being based respectively on the geographical position that each detection DNS request being collected into carries Breath, determine the 4th geographical position of client corresponding to each detection DNS request;
    Second establishes module, the source IP address carried for establishing the 4th geographical position with each detection DNS request Between mapping relations;
    Second update module, for the mapping relations based on foundation, it is right to update the IP address institute stored in the target mapping library The geographical position answered.
  18. A kind of 18. domain name mapping device, applied to destination client, it is characterised in that described device includes:
    First sending module, for sending target DNS request to DNS authority server by target DNS recursion servers;So that The target DNS request that the DNS authority server receives the forwarding of target DNS recursion servers is obtained, obtains the target DNS request First geographical position of all first servers corresponding to the target domain name of carrying, based on target mapping library and the target The target source IP address for the target DNS recursion servers carried in DNS request, determine the of the destination client Two geographical position, selection and the closest geographical position in second geographical position, are obtained from first geographical position The target ip address of first server corresponding to selected geographical position, the target ip address is passed through the target DNS Server is returned to be sent to the destination client;
    Wherein, the target mapping library is stored with IP address DNS recursion servers institute service client corresponding with the IP address Geographical position between mapping relations;
    3rd receiving module, for being received by the target DNS recursion servers described in the DNS authority server feedback Target ip address.
  19. 19. device according to claim 18, it is characterised in that described device also includes:
    Second sending module, for sending target acquisition DNS request to DNS authority server by target DNS recursion servers; To cause the DNS authority server based on the detection DNS request being collected into, to update the target mapping library;
    Wherein, the detection DNS request carries following information:
    First mark of client or the geographical position of client determine information;
    For the source IP address of DNS recursion servers.
  20. 20. device according to claim 18, it is characterised in that the target mapping library by with the DNS authority service Device is in the destination server renewal of the same network segment, and described device also includes:
    3rd sending module, for directly sending the 3rd target information to the destination server;To cause the destination service Device updates the target mapping library based on the 3rd target information being collected into;
    Wherein, the 3rd target information includes:5th geographical position of client and to should client the first DNS recurrence The real IP address of server.
  21. 21. a kind of domain name analysis system, it is characterised in that the system includes:DNS authority server, DNS recursion servers, Client,
    The client, for sending target DNS request to the DNS recursion servers, wherein, the target DNS request is taken Band is directed to the target source IP address and target domain name of the DNS recursion servers;
    The DNS recursion servers, the target DNS request sent for receiving the client, and by the target DNS Request is forwarded to the DNS authority server;
    The DNS authority server, for receiving the target DNS request of the DNS recursion servers forwarding;Corresponded to In the first geographical position of all first servers of the target domain name;Mapped based on the target source IP address and target Storehouse, the second geographical position of the client is determined, wherein, it is corresponding with the IP address that the target mapping library is stored with IP address DNS recursion servers institute service client geographical position between mapping relations;Selected from first geographical position The closest geographical position with second geographical position, obtain the mesh of first server corresponding to selected geographical position Mark IP address;The target ip address is defined as to parse the IP address obtained by the target domain name.
  22. 22. system according to claim 21, it is characterised in that
    The client, it is additionally operable to send target acquisition DNS request to the DNS recursion servers, wherein, the detection DNS Request carries following information:
    First mark of client or the geographical position of client determine information;
    For the source IP address of DNS recursion servers;
    The DNS recursion servers, it is additionally operable to receive the target acquisition DNS request that the client is sent;
    The DNS authority server, it is additionally operable to receive the target acquisition DNS request of the DNS recursion servers forwarding.
  23. 23. system according to claim 22, it is characterised in that carry first mark in the detection DNS request In the case of,
    The DNS authority server, is additionally operable in the case where meeting collection condition, collects detection DNS request;It is collected into Detection DNS request carry it is described first mark corresponding to the first client the 3rd geographical position;Based on the described first mark Know, establish the mapping relations for the source IP address that the 3rd geographical position carries with the detection DNS request being collected into;Based on foundation Mapping relations, update the geographical position corresponding to the IP address stored in the target mapping library.
  24. 24. system according to claim 22, it is characterised in that carry the geographical position in the detection DNS request In the case of determining information,
    The DNS authority server, is additionally operable in the case where meeting collection condition, collects detection DNS request;It is based respectively on receipts The geographical position that each detection DNS request collected carries determines information, determines corresponding to each detection DNS request 4th geographical position of client;Establish the source IP address that the 4th geographical position carries with each detection DNS request Between mapping relations;Mapping relations based on foundation, update the ground corresponding to the IP address stored in the target mapping library Manage position.
  25. 25. system according to claim 21, it is characterised in that the system also includes:With the DNS authority server Destination server in the same network segment;
    The destination server, for updating the target mapping library;
    The client, it is additionally operable to directly send the 3rd target information to the destination server;Wherein, the 3rd target letter Breath includes:5th geographical position of client and to should client the first DNS recursion servers real IP address;
    The destination server, it is additionally operable in the case where meeting collection condition, collects the 3rd target information that client is sent; According to the real IP address, inquiry request is sent to the first DNS recursion servers, wherein, the inquiry request is used for Obtain the first source IP address for being directed to the first DNS recursion servers;Receive the first DNS recursion servers and be based on described look into The return information of request is ask, the return information includes:It is directed to the first source IP address of the first DNS recursion servers; Establish the mapping relations in the 5th geographical position and first source IP address;Mapping relations based on foundation, described in renewal The geographical position corresponding to IP address stored in target mapping library.
  26. 26. system according to claim 25, it is characterised in that
    The destination server, specifically for every one first source IP address in the mapping relations for being established, judge first Source IP address IPDWhether different fiveth geographical position is corresponding with;If it is, in the mapping relations established, determine respectively IPDThe occurrence number of mapping relations between each the 5th different geographical position;From IPDCorresponding all different five In geographical position, determine that the 5th maximum geographical position of the occurrence number is the geographical position of target the 5th;If not, determine IPDCorresponding 5th geographical position is the geographical position of target the 5th;In the target mapping library, IP is judgedDCorresponding geography Whether position and the geographical position of target the 5th are identical;If not, update IP in the target mapping libraryDCorresponding geography Position is the geographical position of target the 5th;
    Wherein, IPDIt is any first source IP address in established mapping relations.
CN201610720068.6A 2016-08-24 2016-08-24 Domain name resolution method, device and system Active CN107786678B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610720068.6A CN107786678B (en) 2016-08-24 2016-08-24 Domain name resolution method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610720068.6A CN107786678B (en) 2016-08-24 2016-08-24 Domain name resolution method, device and system

Publications (2)

Publication Number Publication Date
CN107786678A true CN107786678A (en) 2018-03-09
CN107786678B CN107786678B (en) 2021-04-02

Family

ID=61388573

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610720068.6A Active CN107786678B (en) 2016-08-24 2016-08-24 Domain name resolution method, device and system

Country Status (1)

Country Link
CN (1) CN107786678B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109040343A (en) * 2018-09-11 2018-12-18 达闼科技(北京)有限公司 Domain name analytic method, device, computer readable storage medium and electronic equipment
CN109729183A (en) * 2018-05-16 2019-05-07 平安科技(深圳)有限公司 Request processing method, device, equipment and storage medium
CN110392123A (en) * 2018-04-23 2019-10-29 阿里巴巴集团控股有限公司 The methods, devices and systems of detection outlet IP address
WO2021032118A1 (en) * 2019-08-20 2021-02-25 华为技术有限公司 Domain name system query method and communication device
CN113364873A (en) * 2021-06-08 2021-09-07 中国联合网络通信集团有限公司 Traffic scheduling method and equipment
CN114157635A (en) * 2020-09-07 2022-03-08 中国移动通信集团湖南有限公司 Domain name back-source method and device for content distribution network, equipment and storage medium
CN116389404A (en) * 2023-06-06 2023-07-04 阿里云计算有限公司 Domain name resolution method, device and equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101640684A (en) * 2009-08-21 2010-02-03 中国电信股份有限公司 Content delivering method, network system, GSLB device and domain name server
CN101984624A (en) * 2010-11-03 2011-03-09 蓝汛网络科技(北京)有限公司 Method and device for distributing network flow
CN102577252A (en) * 2009-10-21 2012-07-11 瑞科网信科技有限公司 Method and system to determine an application delivery server based on geo-location information
CN103780714A (en) * 2012-10-25 2014-05-07 中国移动通信集团北京有限公司 Method and apparatus for probing DNS server
CN104168341A (en) * 2014-08-15 2014-11-26 北京百度网讯科技有限公司 IP address locating method and CDN dispatching method and device
CN104519146A (en) * 2013-09-29 2015-04-15 中国电信股份有限公司 Method and system for domain name service based on user position
US20150372972A1 (en) * 2014-06-19 2015-12-24 Instart Logic, Inc. User device to domain name resolver mapping
CN105376344A (en) * 2015-11-26 2016-03-02 中国互联网络信息中心 Method and system for analyzing recursive domain name server related to source address

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101640684A (en) * 2009-08-21 2010-02-03 中国电信股份有限公司 Content delivering method, network system, GSLB device and domain name server
CN102577252A (en) * 2009-10-21 2012-07-11 瑞科网信科技有限公司 Method and system to determine an application delivery server based on geo-location information
CN101984624A (en) * 2010-11-03 2011-03-09 蓝汛网络科技(北京)有限公司 Method and device for distributing network flow
CN103780714A (en) * 2012-10-25 2014-05-07 中国移动通信集团北京有限公司 Method and apparatus for probing DNS server
CN104519146A (en) * 2013-09-29 2015-04-15 中国电信股份有限公司 Method and system for domain name service based on user position
US20150372972A1 (en) * 2014-06-19 2015-12-24 Instart Logic, Inc. User device to domain name resolver mapping
CN104168341A (en) * 2014-08-15 2014-11-26 北京百度网讯科技有限公司 IP address locating method and CDN dispatching method and device
CN105376344A (en) * 2015-11-26 2016-03-02 中国互联网络信息中心 Method and system for analyzing recursive domain name server related to source address

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110392123A (en) * 2018-04-23 2019-10-29 阿里巴巴集团控股有限公司 The methods, devices and systems of detection outlet IP address
CN109729183A (en) * 2018-05-16 2019-05-07 平安科技(深圳)有限公司 Request processing method, device, equipment and storage medium
WO2019218441A1 (en) * 2018-05-16 2019-11-21 平安科技(深圳)有限公司 Request processing method and apparatus, device, and storage medium
CN109040343A (en) * 2018-09-11 2018-12-18 达闼科技(北京)有限公司 Domain name analytic method, device, computer readable storage medium and electronic equipment
WO2021032118A1 (en) * 2019-08-20 2021-02-25 华为技术有限公司 Domain name system query method and communication device
US11689496B2 (en) 2019-08-20 2023-06-27 Huawei Technologies Co., Ltd. Domain name system query method and communication apparatus
CN114157635A (en) * 2020-09-07 2022-03-08 中国移动通信集团湖南有限公司 Domain name back-source method and device for content distribution network, equipment and storage medium
CN114157635B (en) * 2020-09-07 2023-08-15 中国移动通信集团湖南有限公司 Domain name back-source method and device for content distribution network, equipment and storage medium
CN113364873A (en) * 2021-06-08 2021-09-07 中国联合网络通信集团有限公司 Traffic scheduling method and equipment
CN116389404A (en) * 2023-06-06 2023-07-04 阿里云计算有限公司 Domain name resolution method, device and equipment
CN116389404B (en) * 2023-06-06 2023-08-29 阿里云计算有限公司 Domain name resolution method, device and equipment

Also Published As

Publication number Publication date
CN107786678B (en) 2021-04-02

Similar Documents

Publication Publication Date Title
CN107786678A (en) Domain name analytic method, apparatus and system
AU2008343434B2 (en) DNS wildcard beaconing to determine client location and resolver load for global traffic load balancing
EP1175767B1 (en) Methods for determining, collecting, and using geographic locations of internet users
CN101431539B (en) Domain name resolution method, system and apparatus
US7752210B2 (en) Method of determining geographical location from IP address information
CN102859942B (en) Using DNS reflection to measure network performance
CN104954507B (en) The preferred domain name analytic method of data and system
CN108574744A (en) A kind of domain name analytic method, device, electronic equipment and readable storage medium storing program for executing
CN102859960A (en) Method and apparatus for correlating nameserver IPv6 and IPv4 addresses
CN106068639A (en) The Transparent Proxy certification processed by DNS
CN111447304B (en) Anycast node IP address enumeration method and system for anycast recursive domain name system
CN101841575A (en) Domain name resolution usability evaluation method, server and system
KR100342107B1 (en) Methods for deciding Internet address groups distinguished by assigned organizations or locations and for resolving the geographical information for each address group, which are intended to set up Internet address supplementary system and its applications
CN105245626A (en) Method for realizing website addressing by using shortcut domain name in private network
Khosla et al. Content retrieval using cloud-based DNS
CN106506727A (en) A kind of method and system of the local domain name system of positioning domain name mapping mistake
CN114268605B (en) Intelligent DNS realization method and device and computer storage medium
KR101550401B1 (en) Apparatus of providing internet address capable of terminal identification and method thereof
CN111314197B (en) Domain name resource management device and domain name resource management method
WO2016074150A1 (en) Streamlining location-dependent dns configuration
KR101528611B1 (en) Method of detecting a plurality of terminals using server internet address and method thereof
AU2012202910B2 (en) DNS wildcard beaconing to determine client location and resolver load for global traffic load balancing
CN104954500A (en) Message addressing method based on semi-permanent address
Caarten Dissecting the top-level domains in the domain name system
CN117319347A (en) Fast Flux domain name detection method and system based on graph

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