CN108600412B - Domain name resolution method and system - Google Patents

Domain name resolution method and system Download PDF

Info

Publication number
CN108600412B
CN108600412B CN201810415809.9A CN201810415809A CN108600412B CN 108600412 B CN108600412 B CN 108600412B CN 201810415809 A CN201810415809 A CN 201810415809A CN 108600412 B CN108600412 B CN 108600412B
Authority
CN
China
Prior art keywords
domain name
client
address
server
intelligent
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810415809.9A
Other languages
Chinese (zh)
Other versions
CN108600412A (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.)
Shenzhen Ipanel TV Inc
Original Assignee
Shenzhen Ipanel TV Inc
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 Shenzhen Ipanel TV Inc filed Critical Shenzhen Ipanel TV Inc
Priority to CN201810415809.9A priority Critical patent/CN108600412B/en
Publication of CN108600412A publication Critical patent/CN108600412A/en
Application granted granted Critical
Publication of CN108600412B publication Critical patent/CN108600412B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal

Abstract

The method comprises the steps of adding a local domain name service program on a client, running the local domain name service program by the client, inquiring an intelligent domain name server in an iterative inquiry mode or a recursive inquiry mode, and expanding the inquiry mode of the domain name server of the client.

Description

Domain name resolution method and system
Technical Field
The present application relates to the field of internet technologies, and in particular, to a domain name resolution method and system.
Background
In an IP (Internet Protocol) network, a Domain Name System (DNS) is one of the most critical basic services of the Internet, and provides fundamental support for many network applications, and its main function is to convert a Domain Name (Domain Name) that is easy to be memorized by people and an IP address that can be recognized by the network. The translation between the domain name and the IP address is called domain name resolution, and the network host performing the domain name resolution may be called a DNS server. Through the query service of the domain name system DNS server, the entry of the required site or resource can be found, and then the site or resource is accessed.
In the domain name resolution process, a client can only determine a DNS server for resolving a domain name by means of recursive query at present. The single query mode of the client leads to poor flexibility of the whole domain name resolution process.
Disclosure of Invention
In order to solve the above technical problems, embodiments of the present application provide a domain name resolution method and system, so as to achieve the purpose of implementing query of a domain name server in multiple ways and further improving flexibility of an overall domain name resolution process, and the technical solution is as follows:
a domain name resolution method is based on a client and an intelligent domain name server, programs run by the client at least comprise a client application program and a local domain name service program, and the method comprises the following steps:
the intelligent domain name server receives a domain name resolution request sent by the client, and the process of sending the domain name resolution request by the client comprises the following steps: the client runs the local domain name service program to execute a domain name server query process, wherein the domain name server query process comprises the following steps: receiving a domain name resolution request sent by the client application program; inquiring the intelligent domain name server in an iterative inquiry mode or a recursive inquiry mode; sending the domain name resolution request to the intelligent domain name server;
the intelligent domain name server determines a domain name to be resolved and an IP address of the client according to the domain name resolution request;
the intelligent domain name server determines geographical position information corresponding to the IP address of the client;
and the intelligent domain name server determines a target application server according to the domain name to be resolved and the geographical position information corresponding to the IP address of the client, and returns the IP address of the target application server to the client.
Preferably, the domain name server querying process further includes:
and rejecting domain name resolution requests sent by clients except the client.
Preferably, the determining, by the intelligent domain name server, geographical location information corresponding to the IP address of the client includes:
the intelligent domain name server inquires whether an IP address matched with the IP address of the client exists in an IP address and geographic position information mapping relation library;
and if so, taking the geographical location information corresponding to the IP address matched with the IP address of the client as the geographical location information corresponding to the IP address of the client.
Preferably, the determining, by the intelligent domain name server, the target application server according to the domain name to be resolved and the geographic location information corresponding to the IP address of the client includes:
the intelligent domain name server inquires whether a domain name and geographical position information matched with the domain name to be analyzed and the geographical position information corresponding to the IP address of the client exist in a strategy information base;
and if the domain name exists, taking the domain name matched with the domain name to be analyzed and the geographic position information corresponding to the IP address of the client as the target application server.
Preferably, if there are a plurality of different target application servers, returning the IP address of the target application server to the client includes:
randomly selecting a target application server from a plurality of different target application servers, and returning the IP address of the randomly selected target application server to the client;
or returning the IP addresses of different target application servers to the client.
A domain name resolution system, comprising: the intelligent domain name server comprises a client and an intelligent domain name server, wherein programs run by the client at least comprise a client application program and a local domain name server program;
the client is configured to run the local domain name service program to execute a domain name server query process, where the domain name server query process includes: receiving a domain name resolution request sent by the client application program; inquiring the intelligent domain name server in an iterative inquiry mode or a recursive inquiry mode; sending the domain name resolution request to the intelligent domain name server;
the intelligent domain name server is used for:
receiving a domain name resolution request sent by the client, wherein the process of sending the domain name resolution request by the client comprises the following steps: the client runs the local domain name service program to execute a domain name server query process, wherein the domain name server query process comprises the following steps: receiving a domain name resolution request sent by the client application program; inquiring the intelligent domain name server in an iterative inquiry mode or a recursive inquiry mode; sending the domain name resolution request to the intelligent domain name server;
determining a domain name to be analyzed and the IP address of the client according to the domain name analysis request;
determining geographical location information corresponding to the IP address of the client;
and determining a target application server according to the domain name to be analyzed and the geographical position information corresponding to the IP address of the client, and returning the IP address of the target application server to the client.
Preferably, the client is further configured to run the local domain name service program to execute a domain name server query process, where the domain name server query process further includes:
and rejecting domain name resolution requests sent by clients except the client.
Preferably, the intelligent domain name server is specifically configured to query whether an IP address matching the IP address of the client exists in an IP address and geographic location information mapping relation library; and if so, taking the geographical location information corresponding to the IP address matched with the IP address of the client as the geographical location information corresponding to the IP address of the client.
Preferably, the intelligent domain name server is specifically configured to: inquiring whether a domain name and geographical position information matched with the domain name to be analyzed and the geographical position information corresponding to the IP address of the client exist in a strategy information base; and if the domain name exists, taking the domain name matched with the domain name to be analyzed and the geographic position information corresponding to the IP address of the client as the target application server.
Preferably, if there are a plurality of different target application servers, the intelligent domain name server is specifically configured to:
randomly selecting a target application server from a plurality of different target application servers, and returning the IP address of the randomly selected target application server to the client;
or returning the IP addresses of different target application servers to the client.
Compared with the prior art, the beneficial effect of this application is:
in the method, the local domain name service program is newly added on the client, the local domain name service program is operated by the client, the intelligent domain name server is inquired in an iterative inquiry mode or a recursive inquiry mode, and the inquiry mode of the domain name server of the client is expanded, so that the inquiry of the domain name server can be realized in various modes in the domain name resolution process, and the flexibility of the whole domain name resolution process can be improved.
Furthermore, the intelligent domain name server determines a target application server according to the domain name to be resolved and the geographical location information corresponding to the IP address of the client, so that the target application server can be ensured to be the application server within the geographical location range of the client, and the reliability of domain name resolution is further improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive labor.
Fig. 1 is a flowchart of a domain name resolution method provided in the present application;
FIG. 2 is a sub-flowchart of a domain name resolution method provided herein;
FIG. 3 is another sub-flow diagram of a domain name resolution method provided herein;
FIG. 4 is a further sub-flowchart of a domain name resolution method provided herein;
fig. 5 is a schematic diagram of a logical structure of a domain name resolution system provided in the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The embodiment of the application discloses a domain name resolution method, which is based on a client and an intelligent domain name server, wherein programs operated by the client at least comprise a client application program and a local domain name service program, and the method comprises the following steps: the intelligent domain name server receives a domain name resolution request sent by the client, and the process of sending the domain name resolution request by the client comprises the following steps: the client runs the local domain name service program to execute a domain name server query process, wherein the domain name server query process comprises the following steps: receiving a domain name resolution request sent by the client application program; inquiring the intelligent domain name server in an iterative inquiry mode or a recursive inquiry mode; sending the domain name resolution request to the intelligent domain name server; the intelligent domain name server determines a domain name to be resolved and an IP address of the client according to the domain name resolution request; the intelligent domain name server determines geographical position information corresponding to the IP address of the client; and the intelligent domain name server determines a target application server according to the domain name to be resolved and the geographical position information corresponding to the IP address of the client, and returns the IP address of the target application server to the client.
It should be noted that, the program run by the client generally includes a client application program, and iterative query of the domain name server cannot be realized.
The following briefly introduces iterative and recursive queries, as follows:
recursive querying, which can be understood as: if the local domain name server inquired by the host does not know the IP address of the inquired domain name, the local domain name server continuously sends an inquiry request message to other root domain name servers according to the identity of the DNS client (namely continuously inquires for the host), but the host does not carry out the next inquiry. Therefore, the query result returned by the recursive query is either the IP address to be queried or an error, which indicates that the required IP address cannot be queried.
Iterative query, which can be understood as: when the root domain name server receives the iterative query request message sent by the local domain name server, the root domain name server either gives the IP address to be queried or tells the local server: "which domain name server you should query next". And then have the local server perform subsequent queries. The root domain name server usually informs the local domain name server of the IP address of the top-level domain name server known by itself, and the local domain name server queries the top-level domain name server. After receiving the query request of the local domain name server, the top-level domain name server either gives the IP address to be queried or tells the local server which authority domain name server should be queried next. Finally, knowing the IP address to be resolved or reporting an error, returns the result to the host that initiated the query.
Based on the foregoing description, the following describes a domain name resolution method disclosed in an embodiment of the present application, and please refer to fig. 1, which may include:
step S11, the intelligent domain name server receives the domain name resolution request sent by the client.
In this embodiment, the process of sending the domain name resolution request by the client may include: the client runs the local domain name service program to execute a domain name server query process, wherein the domain name server query process comprises the following steps:
and A11, receiving a domain name resolution request sent by the client application program.
A12, inquiring the intelligent domain name server by an iterative inquiry mode or a recursive inquiry mode.
A13, sending the domain name resolution request to the intelligent domain name server.
It should be noted that, because the local domain name service program is run on the client, the IP address corresponding to the local domain name service program when sending the domain name resolution request is the IP address of the client.
Step S12, the intelligent domain name server determines the domain name to be resolved and the IP address of the client according to the domain name resolution request.
The process of determining, by the intelligent domain name server, the domain name to be resolved and the IP address of the client according to the domain name resolution request may include: the intelligent domain name server can analyze the domain name to be analyzed and the IP address of the client from the domain name analysis request.
Step S13, the intelligent domain name server determines geographical location information corresponding to the IP address of the client.
Step S14, the intelligent domain name server determines a target application server according to the domain name to be resolved and the geographical location information corresponding to the IP address of the client, and returns the IP address of the target application server to the client.
And after the IP address of the target application server is returned to the client, the client can access the target application server through the IP address of the target application server, and the target application server provides application service for the client.
In the method, the local domain name service program is newly added on the client, the local domain name service program is operated by the client, the intelligent domain name server is inquired in an iterative inquiry mode or a recursive inquiry mode, and the inquiry mode of the domain name server of the client is expanded, so that the inquiry of the domain name server can be realized in various modes in the domain name resolution process, and the flexibility of the whole domain name resolution process can be improved.
Furthermore, the intelligent domain name server determines a target application server according to the domain name to be resolved and the geographical location information corresponding to the IP address of the client, so that the target application server can be ensured to be the application server within the geographical location range of the client, and the reliability of domain name resolution is further improved.
In another embodiment of the present application, another domain name server query process is provided, and referring to fig. 2, the process may include:
and step A21, receiving a domain name resolution request sent by the client application program.
And A22, inquiring the intelligent domain name server in an iterative inquiry mode or a recursive inquiry mode.
Step A23, sending the domain name resolution request to the intelligent domain name server.
Steps A21-A23 are the same as steps A11-A13 described in the previous examples, and the detailed procedures of steps A21-A23 are not repeated here.
Step A24, rejecting the domain name resolution request sent by the client except the client.
In order to improve the security of the client, a limit may be set on the local domain name service program, which specifically may be: and only the local domain name service program is operated to respond to the request sent by the client to which the local domain name service program belongs, and the requests sent by other clients are all rejected.
In another embodiment of the present application, the description of the intelligent domain name server determining the geographic location information corresponding to the IP address of the client, please refer to fig. 3, which may include:
step A31, the intelligent domain name server inquires whether there is an IP address matching with the IP address of the client in the mapping relation library of the IP address and the geographic location information.
If so, step A32 is performed.
It should be noted that the mapping relationship library of the IP address and the geographic location information includes a plurality of different mapping relationships, and each mapping relationship records a mapping relationship between the IP address and the geographic location information.
The mapping relationship between the IP address and the geographical location information can be expressed as: ip, location, e.g., ip-1, location-1, ip-2, location-1, ip-3, location-1, ip-4, location-2, ip-5, location-2, ip-6, location-2.
Generally, the IP addresses of different users are consecutive in the same region. Therefore, the format of the mapping relation between the IP address and the geographic position information can be improved, the geographic position information of each IP does not need to be recorded one by one, and the IP section description is carried out on each piece of geographic position information, namely, an IP starting address and an IP ending address.
The format of the improved mapping relationship between the IP address and the geographical location information may be: location, ip-begin, ip-end, e.g.
location-1,ip-begin-1,ip-end-1、location-2,ip-begin-2,ip-end-2、location-3,ip-begin-3,ip-end-3。
With such a recording, the process of mapping from an IP address to geographical location information may be different when performing domain name resolution.
IP segments of two records are not allowed to have overlapping, etc., containing, etc. relationships. I.e. the IP segments of the different records should be independent of each other. If viewed as a set, each location corresponds to an IP set. The segmented recording is used because in reality, the IPs in this IP set are generally consecutive, so that one segment can be represented by two IP addresses.
A geographic location may contain multiple segments. Because the goal of the IP repository is to have a unique geographic location for an IP, a geographic location containing multiple segments does not destroy the goal. This approach is more consistent with real-world scenarios. Typically, the IP of one cell is a contiguous segment, but is separated from the IP segment of another cell by a relatively large distance.
Meanwhile, the IP address and geographic position information mapping relation library can be applied to various use scenes, such as a public network, and provides general domain name resolution service; or, an enterprise intranet; or a network structure between the public network and the intranet.
It should be noted that the network result between the public network and the intranet is determined by the characteristics of the radio and television system. The radio and television industry, generally a province and a network, provides services across provinces, and does not exist at present. However, the number of users in a province is also quite large, so that the intelligent domain name resolution system is also needed. For example, for a system providing pictures, assuming that the domain name is image. The number and density of nodes are related to the number of users and the activity level of each city or region.
Step a32, using the geographical location information corresponding to the IP address matching with the IP address of the client as the geographical location information corresponding to the IP address of the client.
In this embodiment, the geographic location information corresponding to the IP address matched with the IP address of the client in the mapping relationship library of the IP address and the geographic location information is used as the geographic location information corresponding to the IP address of the client.
Based on the content of the foregoing embodiment, in another embodiment of the present application, introducing that the intelligent domain name server determines a target application server according to the domain name to be resolved and the geographic location information corresponding to the IP address of the client, please refer to fig. 4, which may include:
step A41, the intelligent domain name server inquires whether there is domain name and geographical location information matching with the domain name to be resolved and the geographical location information corresponding to the IP address of the client in the policy information base.
If so, step A42 is performed.
In this embodiment, the policy information base includes a plurality of different mapping relationships, and each mapping relationship records a mapping relationship between a domain name, geographical location information corresponding to an IP address of a client, and an application server.
Step A42, using the domain name matched with the domain name to be resolved and the geographical location information corresponding to the IP address of the client and the application server corresponding to the geographical location information as the target application server.
Under the condition that the domain name and the geographic position information corresponding to the IP address of the client are known, the corresponding application server can be determined.
It should be noted that, in the same domain name, there may be a situation where multiple application servers provide services, so that it is possible to prevent a certain application server from being overloaded to cause abnormal services.
When the same domain name is served by a plurality of application servers, a plurality of domain names matched with the domain name to be analyzed and the geographic position information corresponding to the IP address of the client, namely a plurality of target application servers, and the application servers corresponding to the geographic position information can be determined in the strategy information base. When a plurality of target application servers exist, the process of returning the IP address of the target application server to the client may include:
randomly selecting a target application server from a plurality of different target application servers, and returning the IP address of the randomly selected target application server to the client;
or returning the IP addresses of different target application servers to the client.
Next, a domain name resolution system provided in the present application is introduced, and the domain name resolution system described below and the domain name resolution method described above may be referred to in correspondence.
Referring to fig. 5, a schematic diagram of a logical structure of a domain name resolution system provided in the present application is shown, where the domain name resolution system includes: a client 11 and an intelligent domain name server 12.
The programs run by the client 11 include at least a client application program and a native domain name service program.
The client 11 is configured to run the local domain name service program to execute a domain name server query process, where the domain name server query process includes: receiving a domain name resolution request sent by the client application program; inquiring the intelligent domain name server 12 in an iterative inquiry mode or a recursive inquiry mode; the domain name resolution request is sent to the intelligent domain name server 12.
The intelligent domain name server 12 is configured to:
receiving a domain name resolution request sent by the client 11, where the process of sending the domain name resolution request by the client 11 includes: the client 11 runs the local domain name service program to execute a domain name server query process, where the domain name server query process includes: receiving a domain name resolution request sent by the application program of the client 11; inquiring the intelligent domain name server 12 in an iterative inquiry mode or a recursive inquiry mode; sending the domain name resolution request to the intelligent domain name server 12;
determining a domain name to be resolved and an IP address of the client 11 according to the domain name resolution request;
determining geographic position information corresponding to the IP address of the client 11;
and determining a target application server according to the domain name to be resolved and the geographical position information corresponding to the IP address of the client 11, and returning the IP address of the target application server to the client 11.
In this embodiment, the client 11 may be further configured to run the local domain name service program to execute a domain name server query process, where the domain name server query process further includes:
the domain name resolution request sent by the client 11 other than the client 11 is rejected.
In this embodiment, the intelligent domain name server 12 may be specifically configured to query whether an IP address matching the IP address of the client 11 exists in an IP address and geographic location information mapping relationship library; and if so, taking the geographical location information corresponding to the IP address matched with the IP address of the client 11 as the geographical location information corresponding to the IP address of the client 11.
In this embodiment, the intelligent domain name server 12 may be specifically configured to: inquiring whether a domain name and geographical position information matched with the domain name to be analyzed and the geographical position information corresponding to the IP address of the client 11 exist in a strategy information base; and if the domain name exists, taking the application server corresponding to the domain name to be analyzed and the geographic position information corresponding to the IP address of the client 11 as the target application server.
In this embodiment, if there are multiple different target application servers, the intelligent domain name server 12 may be specifically configured to:
randomly selecting a target application server from a plurality of different target application servers, and returning the IP address of the randomly selected target application server to the client 11;
or, all the IP addresses of different target application servers are returned to the client 11.
It should be noted that, in the present specification, the embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. For the device-like embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functionality of the units may be implemented in one or more software and/or hardware when implementing the present application.
From the above description of the embodiments, it is clear to those skilled in the art that the present application can be implemented by software plus necessary general hardware platform. Based on such understanding, the technical solutions of the present application may be essentially or partially implemented in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments or some parts of the embodiments of the present application.
The domain name resolution method and system provided by the present application are introduced in detail, and a specific example is applied in the description to explain the principle and the implementation of the present application, and the description of the above embodiment is only used to help understanding the method and the core idea of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (8)

1. A domain name resolution method is characterized in that based on a client and an intelligent domain name server, programs run by the client at least comprise a client application program and a local domain name service program, and the local domain name service program can support iterative query and recursive query, and the method comprises the following steps:
the intelligent domain name server receives a domain name resolution request sent by the client, and the process of sending the domain name resolution request by the client comprises the following steps: the client runs the local domain name service program to execute a domain name server query process, wherein the domain name server query process comprises the following steps: receiving a domain name resolution request sent by the client application program; inquiring the intelligent domain name server in an iterative inquiry mode or a recursive inquiry mode; sending the domain name resolution request to the intelligent domain name server;
the intelligent domain name server determines a domain name to be resolved and an IP address of the client according to the domain name resolution request;
the intelligent domain name server determines geographical position information corresponding to the IP address of the client;
the intelligent domain name server determines a target application server according to the domain name to be resolved and the geographical position information corresponding to the IP address of the client, and returns the IP address of the target application server to the client;
wherein, the domain name server query process further comprises:
and rejecting domain name resolution requests sent by clients except the client.
2. The method according to claim 1, wherein the determining, by the intelligent domain name server, the geographical location information corresponding to the IP address of the client comprises:
the intelligent domain name server inquires whether an IP address matched with the IP address of the client exists in an IP address and geographic position information mapping relation library;
and if so, taking the geographical location information corresponding to the IP address matched with the IP address of the client as the geographical location information corresponding to the IP address of the client.
3. The method according to claim 2, wherein the determining, by the intelligent domain name server, the target application server according to the domain name to be resolved and the geographical location information corresponding to the IP address of the client comprises:
the intelligent domain name server inquires whether a domain name and geographical position information matched with the domain name to be analyzed and the geographical position information corresponding to the IP address of the client exist in a strategy information base;
and if the domain name exists, taking the domain name matched with the domain name to be analyzed and the geographic position information corresponding to the IP address of the client as the target application server.
4. The method of claim 1, wherein returning the IP address of the target application server to the client if there are multiple different target application servers comprises:
randomly selecting a target application server from a plurality of different target application servers, and returning the IP address of the randomly selected target application server to the client;
or returning the IP addresses of different target application servers to the client.
5. A domain name resolution system, comprising: the intelligent domain name server comprises a client and an intelligent domain name server, wherein programs run by the client at least comprise a client application program and a local domain name service program, and the local domain name service program can support iterative query and recursive query;
the client is configured to run the local domain name service program to execute a domain name server query process, where the domain name server query process includes: receiving a domain name resolution request sent by the client application program; inquiring the intelligent domain name server in an iterative inquiry mode or a recursive inquiry mode; sending the domain name resolution request to the intelligent domain name server;
the intelligent domain name server is used for:
receiving a domain name resolution request sent by the client, wherein the process of sending the domain name resolution request by the client comprises the following steps: the client runs the local domain name service program to execute a domain name server query process, wherein the domain name server query process comprises the following steps: receiving a domain name resolution request sent by the client application program; inquiring the intelligent domain name server in an iterative inquiry mode or a recursive inquiry mode; sending the domain name resolution request to the intelligent domain name server;
determining a domain name to be analyzed and the IP address of the client according to the domain name analysis request;
determining geographical location information corresponding to the IP address of the client;
determining a target application server according to the domain name to be analyzed and the geographical position information corresponding to the IP address of the client, and returning the IP address of the target application server to the client;
wherein, the client is further configured to run the local domain name service program to execute a domain name server query process, and the domain name server query process further includes:
and rejecting domain name resolution requests sent by clients except the client.
6. The system according to claim 5, wherein the intelligent domain name server is specifically configured to query whether there is an IP address matching the IP address of the client in an IP address and geographic location information mapping relationship library; and if so, taking the geographical location information corresponding to the IP address matched with the IP address of the client as the geographical location information corresponding to the IP address of the client.
7. The system of claim 6, wherein the intelligent domain name server is specifically configured to: inquiring whether a domain name and geographical position information matched with the domain name to be analyzed and the geographical position information corresponding to the IP address of the client exist in a strategy information base; and if the domain name exists, taking the domain name matched with the domain name to be analyzed and the geographic position information corresponding to the IP address of the client as the target application server.
8. The system of claim 5, wherein if there are multiple different target application servers, the intelligent domain name server is specifically configured to:
randomly selecting a target application server from a plurality of different target application servers, and returning the IP address of the randomly selected target application server to the client;
or returning the IP addresses of different target application servers to the client.
CN201810415809.9A 2018-05-03 2018-05-03 Domain name resolution method and system Active CN108600412B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810415809.9A CN108600412B (en) 2018-05-03 2018-05-03 Domain name resolution method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810415809.9A CN108600412B (en) 2018-05-03 2018-05-03 Domain name resolution method and system

Publications (2)

Publication Number Publication Date
CN108600412A CN108600412A (en) 2018-09-28
CN108600412B true CN108600412B (en) 2021-09-03

Family

ID=63620701

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810415809.9A Active CN108600412B (en) 2018-05-03 2018-05-03 Domain name resolution method and system

Country Status (1)

Country Link
CN (1) CN108600412B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110769080B (en) * 2019-10-30 2021-12-14 腾讯科技(深圳)有限公司 Domain name resolution method, related product and computer readable storage medium
CN111314472B (en) * 2020-02-21 2022-03-11 聚好看科技股份有限公司 Domain name resolution method, domain name resolution server and terminal equipment
CN111953811B (en) * 2020-08-07 2024-02-06 腾讯科技(深圳)有限公司 Site access method, site registration method, device, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1579108A (en) * 2001-10-29 2005-02-09 艾利森电话股份有限公司 Method and apparatus for resolving an entity identifier
CN101110827A (en) * 2007-08-24 2008-01-23 张建中 Method, device and system for multidimensional address domain name analysis
CN105450787A (en) * 2014-08-20 2016-03-30 阿里巴巴集团控股有限公司 Network-address-mapping method, device, and system
CN107438115A (en) * 2017-09-11 2017-12-05 深圳市茁壮网络股份有限公司 A kind of domain name analytic method, apparatus and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1579108A (en) * 2001-10-29 2005-02-09 艾利森电话股份有限公司 Method and apparatus for resolving an entity identifier
CN101110827A (en) * 2007-08-24 2008-01-23 张建中 Method, device and system for multidimensional address domain name analysis
CN105450787A (en) * 2014-08-20 2016-03-30 阿里巴巴集团控股有限公司 Network-address-mapping method, device, and system
CN107438115A (en) * 2017-09-11 2017-12-05 深圳市茁壮网络股份有限公司 A kind of domain name analytic method, apparatus and system

Also Published As

Publication number Publication date
CN108600412A (en) 2018-09-28

Similar Documents

Publication Publication Date Title
US20230128061A1 (en) Unsupervised encoder-decoder neural network security event detection
US8707429B2 (en) DNS resolution, policies, and views for large volume systems
US7908379B2 (en) Automatic mobile device detection
CN108600412B (en) Domain name resolution method and system
US10171318B2 (en) System and method of identifying internet-facing assets
WO2021120969A1 (en) Domain name resolution method, domain name resolution server, and terminal device
US9300623B1 (en) Domain name system cache integrity check
US20200112571A1 (en) Network security event detection via normalized distance based clustering
US20070271393A1 (en) System and Methods for Domain Name Acquisition and Management
CN106101300B (en) Method for controlling access to self-built server through private domain name system
US20050086340A1 (en) System and methods for robust discovery of servers and services in a heterogeneous environment
WO2018113730A1 (en) Method and apparatus for detecting network security
EP3557841A1 (en) Dns attack defense method, apparatus and system
US11329878B2 (en) Systems and methods for network asset discovery and association thereof with entities
CN107786678B (en) Domain name resolution method, device and system
CN110730250B (en) Information processing method and device, service system and storage medium
JP2007124655A (en) Method for selecting functional domain name server
MX2008015235A (en) Name challenge enabled zones.
US20200382382A1 (en) Method and system for detecting service quality of cdn system
CN110708309A (en) Anti-crawler system and method
CN108650338A (en) A kind of domain name analytic method and system
CN108712515B (en) Domain name resolution method and system
CN111371914A (en) IP library generation method, domain name resolution method, electronic device and readable storage medium
US11303606B1 (en) Hashing name resolution requests according to an identified routing policy
CN111049941A (en) DNS scheduling method, domain name server and computer readable storage medium

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