CN115150358B - Domain name acquisition method, electronic device and system - Google Patents

Domain name acquisition method, electronic device and system Download PDF

Info

Publication number
CN115150358B
CN115150358B CN202110352289.3A CN202110352289A CN115150358B CN 115150358 B CN115150358 B CN 115150358B CN 202110352289 A CN202110352289 A CN 202110352289A CN 115150358 B CN115150358 B CN 115150358B
Authority
CN
China
Prior art keywords
domain name
domain
server
dns server
resolution
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
CN202110352289.3A
Other languages
Chinese (zh)
Other versions
CN115150358A (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.)
Guizhou Baishancloud Technology Co Ltd
Original Assignee
Guizhou Baishancloud 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 Guizhou Baishancloud Technology Co Ltd filed Critical Guizhou Baishancloud Technology Co Ltd
Priority to CN202110352289.3A priority Critical patent/CN115150358B/en
Priority to PCT/CN2022/082738 priority patent/WO2022206549A1/en
Publication of CN115150358A publication Critical patent/CN115150358A/en
Application granted granted Critical
Publication of CN115150358B publication Critical patent/CN115150358B/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]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application discloses a domain name acquisition method, an electronic device and a system. By applying the technical scheme, after receiving the address of the source top domain server sent by the root server, a domain name resolution request is sent to the source top domain server, wherein the domain name resolution request is used for obtaining the access address of a target domain name, and the target domain name consists of a host name, a source top domain and a source secondary domain; acquiring an authorization record sent by a source top domain server, wherein the authorization record comprises domain names corresponding to other analysis objects, and the domain names at least correspond to two different top-level domains or two different second-level domains; according to the authorization record, domain name resolution requests corresponding to other resolution objects are sent to other top domain servers where other resolution objects are located; and obtaining an access address corresponding to the domain name resolution request based on the addresses of the authoritative DNS servers of the guiding layer sent by the other top domain servers, wherein the authoritative DNS server of the guiding layer is used for providing the address of the authoritative DNS server recorded with the access address.

Description

Domain name acquisition method, electronic device and system
Technical Field
The present disclosure relates to data processing technologies, and in particular, to a method, an electronic device, and a system for acquiring a domain name.
Background
With the development of the internet, how to guarantee the stability of domain name resolution service is important. In the related art, in general, for domain name resolution service, from the start of obtaining root threads from recursive DNS, it is necessary to obtain resolution results through authorization and resolution of DNS servers of different levels, such as a root server, a top-level domain authoritative DNS server, and the like.
However, in the related art, once a certain intermediate node has usability problem in the domain name resolution process, the domain name resolution fails, so that the service processing of a network platform provider (such as a CDN network) is affected.
For example, a full DNS failure has occurred in the past, resulting in a situation where all CN domain names cannot be resolved. The CN domain name is the top-level domain name registered in the chinese country, and after the fault occurs, the network site with CN as the domain name is greatly affected. However, this is not a case, and the problem that a large area domain name cannot be resolved due to single-point failure of an authoritative server of a certain level needs to be solved.
Disclosure of Invention
The embodiment of the application provides a method, an electronic device and a system for acquiring a domain name, wherein according to one aspect of the embodiment of the application, the method for acquiring the domain name is characterized by being applied to a local DNS server and comprising the following steps:
After receiving a source top domain server address sent by a root server, sending a domain name resolution request to the source top domain server, wherein the domain name resolution request is used for obtaining an access address of a target domain name, and the target domain name consists of a host name, a source top domain and a source secondary domain;
acquiring an authorization record sent by the source top domain server, wherein the authorization record comprises domain names corresponding to other analysis objects, and the domain names at least correspond to two different top-level domains or two different second-level domains;
according to the authorization record, sending domain name resolution requests corresponding to the other resolution objects to other top domain servers where the other resolution objects are located;
and obtaining an access address corresponding to the domain name resolution request based on the addresses of the authoritative DNS servers of the guiding layer sent by the other top domain servers, wherein the authoritative DNS server of the guiding layer is used for providing the address of the authoritative DNS server recorded with the access address.
Optionally, in another embodiment of the method according to the present application, after the obtaining the authorization record sent by the source top domain server, the method further includes:
if the analysis object contained in the authorization record is determined to correspond to other top-level domains, taking the top-level domain server addresses corresponding to the other top-level domains as the other top-level domain server addresses;
And/or the number of the groups of groups,
and if the analysis object contained in the authorization record is determined to correspond to other secondary domains under the source top domain, the source top domain server address is used as the other top domain server addresses.
Optionally, in another embodiment of the method according to the present application, after the sending the domain name resolution request to the other top domain server where the other resolution object is located, the method further includes:
receiving addresses of authority DNS servers of a guide layer corresponding to the other resolution objects, wherein the addresses are sent by the other top domain servers;
sending domain name resolution requests for the other resolution objects to the boot layer authoritative DNS server address;
if an authoritative DNS server address sent by the guiding layer authoritative DNS server address is received, a domain name resolution request of the target domain name is sent to the authoritative DNS server address, wherein the authoritative DNS server is an authoritative DNS server corresponding to the NS record;
and receiving an access address corresponding to the domain name resolution request sent by the authoritative DNS server.
Optionally, in another embodiment of the method according to the present application, before the sending the domain name resolution request to the source top domain server, the method further includes:
And when the domain name resolution request sent by the client is received, sending the domain name resolution request to the root server.
The embodiment of the application provides a method, an electronic device and a system for acquiring a domain name, wherein according to an aspect of the embodiment of the application, the method for acquiring the domain name is characterized by being applied to a source top domain server and comprising the following steps:
receiving a domain name resolution request sent by a local DNS server, wherein the domain name resolution request is used for acquiring an access address of a target domain name, and the target domain name consists of a host name, a source top domain name and a source second-level domain name;
and sending the authorization records containing other resolution objects corresponding to at least two different top domain names and/or at least two different secondary domain names to the local DNS server.
Optionally, in another embodiment of the method according to the present application, after sending the authorization record including the other resolution object corresponding to the other top domain name and/or the other secondary domain name to the local DNS server, the method further includes:
if a domain name resolution request of other resolution objects corresponding to the other secondary domain names is received, determining a guide layer authority DNS server address corresponding to the other resolution objects, wherein the guide layer authority DNS server is used for providing an authority DNS server address recorded with an access address of the target domain name;
And sending the address of the authority DNS server of the guiding layer to the local DNS server.
According to still another aspect of the embodiments of the present application, a system for obtaining a domain name is provided, which includes:
the root server is configured to return a top domain server address corresponding to a domain name resolution request to the local DNS server when receiving the domain name resolution request sent by the local DNS server, wherein the domain name resolution request is used for acquiring an access address of a target domain name, and the target domain name consists of a host name, a source top domain name and a source secondary domain name;
the local DNS server is configured to send domain name resolution requests corresponding to other resolution objects to other top domain servers corresponding to the other resolution objects according to authorization records comprising domain names of the other resolution objects if the target domain name is determined to be authorized to the other resolution objects, and obtain access addresses corresponding to the domain name resolution requests based on guide layer authoritative DNS server addresses replied by the other top domain servers;
a source top domain server configured to send an authorization record containing other resolution objects corresponding to the at least two different top domain names and/or at least two different secondary domain names to the local DNS server if it is determined that the target domain name is authorized for the other resolution objects;
The other top domain servers are configured to determine the guide layer authority DNS server addresses corresponding to the other resolution objects and send the guide layer authority DNS server addresses corresponding to the other resolution objects to the local DNS server if domain name resolution requests of the other resolution objects are received;
the guiding layer authoritative DNS server is configured to send the authoritative DNS server addresses corresponding to the other resolution objects to the local DNS server if the domain name resolution requests of the other resolution objects are received;
and the authoritative DNS server is configured to send the access address of the target domain name to the local DNS server if the domain name resolution request is received.
Optionally, in another embodiment of the system according to the present application, the method includes:
the first application server is configured to acquire the communication load condition of at least one candidate DNS server after receiving the domain name resolution request sent by the client, wherein each candidate DNS server corresponds to a different network operator or domain name registrar;
the first application server is further configured to select a candidate DNS server with a communication load condition in a preset range from the at least one candidate DNS server as a local DNS server.
Optionally, in another embodiment of the system according to the present application, the method includes:
and a second application server configured to allocate at least one other resolution object to the target domain name in advance, wherein the other resolution object is an object authorized to resolve the target domain name, and the domain name included in the other resolution object corresponds to at least one of the at least two different top domains and the at least two different second-level domains.
According to an aspect of the embodiment of the present application, a method for obtaining a domain name is provided, which is characterized by comprising:
configuring a mapping relation between the target domain name information and other resolution objects in a top domain server, wherein the other resolution objects comprise domain names which are authorized by the target domain name and correspond to at least two different top domains and/or at least two different secondary domains;
configuring the mapping relation between the other analysis objects and the corresponding authoritative server addresses in the authority DNS server of the guiding layer;
and configuring the mapping relation between the other analysis objects and CDN nodes in an authoritative server, wherein the CDN nodes store the access addresses of the target domain name information.
Optionally, in another embodiment based on the above method of the present application, the method further comprises:
Acquiring target domain name information of a content operator and acquiring a CDN domain name corresponding to the target domain name information;
and storing the mapping relation between the target domain name information and the corresponding CDN domain name.
According to still another aspect of the embodiments of the present application, an electronic device for acquiring a domain name is provided, which is applied to a local DNS server, and includes:
the first sending module is configured to send a domain name resolution request to the source top domain server after receiving the source top domain server address sent by the root server, wherein the domain name resolution request is used for obtaining an access address of a target domain name, and the target domain name consists of a host name, a source top domain name and a source secondary domain name;
the determining module is configured to acquire an authorization record sent by the source top domain server, wherein the authorization record comprises domain names corresponding to other analysis objects, and the domain names at least correspond to two different top-level domains or two different second-level domains;
the first sending module is configured to send domain name resolution requests corresponding to the other resolution objects to other top domain servers corresponding to the other resolution objects according to the authorization record;
The obtaining module is configured to obtain an access address corresponding to the domain name resolution request based on addresses of authoritative DNS servers of the guiding layer sent by the other top domain servers, wherein the authoritative DNS servers of the guiding layer are used for providing addresses of authoritative DNS servers recorded with the access addresses.
According to still another aspect of the embodiments of the present application, an electronic device for obtaining a domain name is provided, which is applied to a source top domain server, and includes:
the system comprises a receiving module, a judging module and a judging module, wherein the receiving module is configured to receive a domain name resolution request sent by a local DNS server, the domain name resolution request is used for acquiring an access address of a target domain name, and the target domain name consists of a host name, a source top domain name and a source secondary domain name;
and the second sending module is configured to send the authorization record containing other resolution objects corresponding to the at least two different top domain names and/or the at least two different second-level domain names to the local DNS server.
According to an aspect of an embodiment of the present application, an electronic device for acquiring a domain name is provided, which is characterized by including:
a first configuration module configured to configure, in a top domain server, a mapping relationship between the target domain name information and other resolution objects, the other resolution objects including domain names authorized by the target domain name and corresponding to at least two different top domains and/or at least two different secondary domains;
The second configuration module is configured to configure the mapping relation between the other resolution objects and the corresponding authoritative server addresses at the guiding layer authoritative DNS server;
the third configuration module is configured to configure the mapping relation between the other analysis objects and the CDN node in the authoritative server, and the CDN node stores the access address of the target domain name information.
According to still another aspect of the embodiments of the present application, there is provided an electronic device including:
a memory for storing executable instructions; and
and the display is used for displaying with the memory to execute the executable instructions so as to finish the operation of the method for acquiring the domain name.
According to still another aspect of the embodiments of the present application, there is provided a computer-readable storage medium storing computer-readable instructions that, when executed, perform the operations of any of the above-described methods of domain name acquisition.
By applying the technical scheme of the application, the target domain name can be authorized to the domain names corresponding to other top-level domains or other secondary domains in advance, and after the local DNS server receives the resolution request of the target domain name, the corresponding top-level domain server and the guiding layer authoritative DNS server are accessed according to the authorization record, so that the access address corresponding to the domain name is obtained from the corresponding authoritative DNS server later. Thereby avoiding the risk of paralysis of the DNS system caused by multiple faults of a single top-level domain or a single registrar existing in the related art.
The technical scheme of the present application is described in further detail below through the accompanying drawings and examples.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the application and, together with the description, serve to explain the principles of the application.
The present application will be more clearly understood from the following detailed description with reference to the accompanying drawings, in which:
fig. 1 is a schematic diagram of a DNS domain name resolution system according to the present application;
FIG. 2 is a schematic diagram of a method for obtaining a domain name according to the present application;
FIG. 3 is a schematic diagram of another domain name acquisition method according to the present application;
FIG. 4 is a schematic diagram of a domain name acquisition system architecture according to the present application;
FIG. 5 is a schematic diagram of a method for obtaining a domain name according to the present application;
fig. 6 is a schematic diagram of an electronic device for acquiring a domain name according to the present application;
fig. 7 is a schematic diagram of an electronic device for acquiring another domain name according to the present application;
FIG. 8 is a schematic diagram of another electronic device for domain name acquisition according to the present application;
fig. 9 is a schematic structural diagram of an electronic device for acquiring a domain name according to the present application.
Detailed Description
Various exemplary embodiments of the present application will now be described in detail with reference to the accompanying drawings. It should be noted that: the relative arrangement of the components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present application unless it is specifically stated otherwise.
Meanwhile, it should be understood that the sizes of the respective parts shown in the drawings are not drawn in actual scale for convenience of description.
The following description of at least one exemplary embodiment is merely exemplary in nature and is in no way intended to limit the application, its application, or uses.
Techniques, methods, and apparatus known to one of ordinary skill in the relevant art may not be discussed in detail, but are intended to be part of the specification where appropriate.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further discussion thereof is necessary in subsequent figures.
In addition, the technical solutions of the embodiments of the present application may be combined with each other, but it is necessary to be based on the fact that those skilled in the art can implement the technical solutions, and when the technical solutions are contradictory or cannot be implemented, the combination of the technical solutions should be considered to be absent, and is not within the scope of protection claimed in the present application.
It should be noted that all directional indicators (such as up, down, left, right, front, and rear … …) in the embodiments of the present application are merely used to explain the relative positional relationship, movement conditions, and the like between the components in a specific posture (as shown in the drawings), and if the specific posture is changed, the directional indicator is correspondingly changed.
A method for domain name acquisition according to an exemplary embodiment of the present application is described below in conjunction with fig. 1-4. It should be noted that the following application scenario is only shown for the convenience of understanding the spirit and principles of the present application, and embodiments of the present application are not limited in any way in this respect. Rather, embodiments of the present application may be applied to any scenario where applicable.
In which fig. 1 shows a schematic diagram of an exemplary system architecture 100 to which the DNS operation principle of the embodiments of the present application may be applied.
As can be seen from fig. 1, a DNS name resolution system architecture diagram is shown, in which, for example, a www.a.com domain name is input in a browser, an operating system first checks whether a local hosts file has the address mapping relationship, and if so, first invokes the IP address mapping to complete domain name resolution. Further, if the mapping of the domain name is not found, searching a local DNS resolver cache, and if the mapping relation of the website exists, directly returning to finish domain name resolution. If not, the domain name is sent to a local DNS server, and when the server receives the query, if the domain name to be queried is contained in the local configuration area resource, the resolution result is returned to the client to finish domain name resolution.
If not, the request is sent to the root server via the local DNS server. The root server, upon receiving the request, determines who the top-level domain name (.com) of the domain name is authorized to manage and returns an authoritative server IP responsible for the top-level domain name server. After receiving the IP information, the local DNS server contacts the top domain server responsible for the com domain. Further, after the com domain server receives the request, if the request can be resolved, the access address is returned, and if the request cannot be resolved, a DNS server address of a next-level domain name of the authorized management com domain is found and sent to the local DNS server. When the local DNS server receives the address, it will find the domain name server, repeat the above actions, and make a recursive query until a www.a.com host is found.
In one embodiment, the present application further provides a method for obtaining a domain name. Fig. 2 schematically shows a flow diagram of a method for domain name acquisition according to an embodiment of the present application. As shown in fig. 2, the method is applied to a local DNS server, and includes:
s101, after receiving the address of the source top domain server sent by the root server, sending a domain name resolution request to the source top domain server, wherein the domain name resolution request is used for obtaining the access address of a target domain name, and the target domain name consists of a host name, a source top domain and a source secondary domain.
Wherein DNS (DomainNameSystem) is an english abbreviation of "domain name system", which is a naming system for computers and web services organized into a domain hierarchy. Further, in the embodiment of the present application, when the local DNS server receives a domain name resolution request sent by the client and used for obtaining the access address of the target domain name, the domain name resolution request may be sent to the root server, so that the address of the top domain server to which the domain name belongs, which is sent by the root server, is subsequently received.
S102, obtaining an authorization record sent by a source top domain server, wherein the authorization record comprises domain names corresponding to other analysis objects, and the domain names at least correspond to two different top-level domains or two different second-level domains.
The local DNS server may query the source top domain server for the authorized record of the source top domain, so that the subsequently receiving source top domain server returns an authorized NS list.
It should be noted that other resolution objects may correspond to top-level domain names governed by other top-domain servers, or may be other second-level domain names under the source top-domain server. It should be noted that other resolution objects may be other top domain names that have been authorized by the target domain name, and/or other secondary domain names.
For example, when the destination domain name is www.a.com, the source top domain name is. Com, i.e., corresponds to the. Com top domain server. While other parsed objects may be ns1.A.cn, ns2.A.net, ns3.A.org, etc. that have been authorized by. Com. That is, other resolution objects may be. Cn top domain servers,. Net top domain servers,. Org top domain servers, and so on.
Similarly, the source secondary domain name of the target domain name is a.com. Other resolution objects may also be b.com, c.com, etc. that have been authorized by a.com. The other secondary domain name authorized by the a.com may be other secondary domain names registered in the same domain name registrar, or may be other secondary domain names registered in different domain name registrars (i.e. the a.com and the b.com may be managed by the same domain name registrar or may belong to one domain name registrar differently).
The number of other analysis objects is not particularly limited, and may be one or a plurality of analysis objects, for example. Similarly, the method for configuring other analysis objects is not limited specifically, and may be configured manually by an operator or automatically according to a preset rule, for example.
Further, after determining that the target domain name is authorized to other resolution objects, the source top domain server may send the authorization record to the local DNS server, so that the local DNS server may search for the access address from the authoritative DNS server corresponding to the other resolution objects according to the authorization record.
And S103, according to the authorization record, sending domain name resolution requests corresponding to other resolution objects to other top domain servers where the other resolution objects are located.
It should be noted that, after the local DNS server receives the authorization record, the present application may determine the top domain server corresponding to the other resolution object according to the other top domain name corresponding to the domain name included in the authorization record and/or the other second-level domain name.
For example, in one manner, if it is determined that the resolution object included in the authorization record corresponds to another top domain name, a request may be sent to the root server to obtain a top domain server address corresponding to the other top domain name, and the top domain server address corresponding to the other top domain name sent by the root server is subsequently received. For example, also for a target domain name www.a.com, if the domain name is included in the authorization record as authorized to ns1.A.cn, it may be determined that the address of the other authorized object needs to be found to the. Cn top domain server. A request for a get-cn top domain server address may be sent to the root server.
In another mode, if it is determined that the resolution object included in the authorization record corresponds to another secondary domain name under the source top domain name, the source top domain server address is used as another top domain server address, and the top domain server addresses corresponding to the other top domain names sent by the root server are received subsequently. For example, if the domain name is included in the authorization record as authorized to ns1.B.com, it may be determined that the other authorized object still corresponds to the com top domain server. The com top-domain server address can be determined as the other top-domain server address.
And S104, obtaining the access address of the domain name resolution request based on the addresses of the authoritative DNS servers of the guiding layer sent by other top domain servers, wherein the authoritative DNS server of the guiding layer is used for providing the address of the authoritative DNS server recorded with the access address.
After receiving the address of the authoritative DNS server of the guiding layer corresponding to the resolution object, the local DNS server may send a domain name resolution request of other resolution objects to the authoritative DNS server of the guiding layer, so that after returning the resolution results of the other resolution objects, the authoritative DNS server of the guiding layer may send a resolution request of the target domain name to the authoritative DNS server corresponding to the resolution results, and then the authoritative DNS server may obtain the access address of the target domain name.
Wherein the authoritative DNS server is a DNS server set up at a domain name registrar for the specific domain name itself for management (addition, deletion, modification, etc.). Therefore, the authoritative DNS server can carry out domain name resolution on the domain name owned by the authoritative DNS server, and further obtain the corresponding access address.
By applying the technical scheme of the application, the target domain name can be authorized to the domain names corresponding to other top-level domains or other secondary domains in advance, and after the local DNS server receives the resolution request of the target domain name, the corresponding top-level domain server and the guiding layer authoritative DNS server are accessed according to the authorization record, so that the access address corresponding to the domain name is obtained from the corresponding authoritative DNS server later. Thereby avoiding the risk of paralysis of the DNS system caused by multiple faults of a single top-level domain or a single registrar existing in the related art.
Optionally, in another embodiment based on the above method of the present application, after obtaining the authorization record sent by the source top domain server, the method further includes:
if the analysis object contained in the authorization record is determined to correspond to other top-level domains, taking the top-level domain server addresses corresponding to the other top-level domains as other top-level domain server addresses;
And/or the number of the groups of groups,
and if the analysis object contained in the authorization record is determined to correspond to other secondary domains under the source top domain, the source top domain server address is used as other top domain server addresses.
Optionally, in another embodiment of the method according to the present application, after sending the domain name resolution request to other top domain servers corresponding to other resolution objects, the method further includes:
receiving addresses of authority DNS servers of a guiding layer corresponding to other analysis objects sent by other top domain servers;
sending domain name resolution requests for other resolution objects to the address of the authority DNS server of the guiding layer;
if an authoritative DNS server address sent by a guiding layer authoritative DNS server address is received, a domain name resolution request of a target domain name is sent to the authoritative DNS server address, wherein the authoritative DNS server is an authoritative DNS server corresponding to the NS record;
and receiving an access address corresponding to the domain name resolution request sent by the authoritative DNS server.
The guiding layer authority DNS server in the embodiments of the present application may be a server managed by a domain name registrar, or may be a server managed by a platform operator. After the local DNS server receives the addresses of the authoritative DNS servers of the boot layer corresponding to the NS record sent by each other top domain server, a domain name resolution request may be sent to the corresponding authoritative DNS server of the boot layer, so that the corresponding authoritative DNS server of the boot layer responds to the local DNS server after giving out a resolution result (i.e. the address of the authoritative DNS server storing the target domain name response address).
Further, the local DNS server sends a domain name resolution request to the corresponding authoritative DNS server until the final access address is obtained.
Optionally, in another embodiment based on the above method of the present application, before sending the domain name resolution request to the source top domain server, the method further includes:
and when receiving a domain name resolution request sent by the client, sending a domain name resolution request to a root server, wherein the domain name resolution request is used for acquiring an access address of a target domain name.
In still another embodiment, the present application further provides a method for obtaining a domain name. Fig. 3 schematically shows a flow diagram of a method for domain name acquisition according to an embodiment of the present application. As shown in fig. 3, the method is applied to a source top domain server, and comprises the following steps:
s201, receiving a domain name resolution request sent by a local DNS server, wherein the domain name resolution request is used for obtaining an access address of a target domain name, and the target domain name consists of a host name, a source top domain name and a source secondary domain name.
The local DNS server may first receive a domain name resolution request (for example, www.a.com) sent by the client, and then first query a local cache table stored in a storage area of the local DNS server, so as to determine whether an access address of the domain name exists in the cache table. Further, if it is detected that there is no cache of the parsing result, the root thread may be queried to obtain the I P address of the root server, and a record of www.a.com is requested from the root server.
Still further, the root server, upon receiving the domain name resolution request, may confirm that www.a.com has been authorized for the com top domain server. And may in turn return to the local DNS server the address of the com top domain server. So that the local DNS server sends an a record of the request www.a.com to the com top domain server.
In one approach, the source top domain server may be queried by the local DNS server for an authoritative record for the source top domain, such that the subsequently receiving source top domain server returns an authoritative NS list.
It should be noted that, when the number of top domain names corresponding to other resolution objects authorized by the target domain name is multiple, the source top domain server may extract all the number of other top domain names, and/or other secondary domain names, or extract some of the number of other top domain names, and/or other secondary domain names according to a preset rule.
For example, other top domain names may be preferentially extracted, and other secondary domain names may be preferentially extracted. And further or alternatively, other top domain names corresponding to a certain domain name registrar and/or other secondary domain names can be preferentially extracted according to the information of each domain name registrar. Some other top domain name, and/or other secondary domain name, may also or alternatively be preferentially extracted based on the history extraction information.
And S203, transmitting the authorization record containing other resolution objects corresponding to at least two different top domain names and/or at least two different second-level domain names to a local DNS server.
For example, when the target domain name is www.a.com, for example, the source top domain name is. Com, i.e., corresponds to. Com top domain server. While other parsed objects may be ns1.A.cn, ns2.A.net, ns3.A.org, etc. that have been authorized by. Com. That is, other resolution objects may be. Cn top domain servers,. Net top domain servers,. Org top domain servers, and so on.
Similarly, the source secondary domain name of the target domain name is a.com. Other resolution objects may also be ns1.B.com, ns2.C.com, etc. that have been authorized by a.com. The other secondary domain name authorized by the a.com may be other secondary domain names under the same network operator, or may be other secondary domain names under different domain name registrars (i.e. the a.com and the b.com may belong to the same domain name registrar or may belong to different domain name registrars).
Further, after determining the authorization record containing other resolution objects corresponding to other top domain names and/or other secondary domain names, the embodiments of the present application may send the authorization record containing both information to the local DNS server. And obtaining the query address corresponding to the domain name resolution request based on the guide layer authoritative DNS server address sent by the other top domain servers.
Optionally, after sending the authorization record including the other resolution objects corresponding to the at least two different top domain names and/or the at least two different second-level domain names to the local DNS server, the method further includes:
if domain name resolution requests of other resolution objects corresponding to other secondary domain names are received, determining addresses of authority DNS servers of a guiding layer corresponding to the other resolution objects, wherein the authority DNS servers of the guiding layer are used for providing addresses of authority DNS servers recorded with access addresses of target domain names;
the bootstrapping authority DNS server address is sent to the local DNS server.
By applying the technical scheme of the application, the target domain name can be authorized to other top-level domains or other secondary domains in advance, and after the local DNS server receives the resolution request of the domain name, the corresponding top-level domain server and the guiding layer authoritative DNS server are accessed according to the authorization record, so that the access address corresponding to the domain name is obtained from the corresponding authoritative DNS server later. Thereby avoiding the risk of paralysis of the DNS system caused by multiple faults of a single top-level domain or a single registrar existing in the related art.
In another embodiment, the present application further provides a domain name obtaining system. Fig. 4 schematically illustrates a system architecture diagram of domain name acquisition according to an embodiment of the present application. As shown in fig. 4, the system includes:
The root server is configured to return a top domain server address corresponding to a domain name resolution request to the local DNS server when receiving the domain name resolution request sent by the local DNS server, wherein the domain name resolution request is used for acquiring an access address of a target domain name, and the target domain name consists of a host name, a source top domain name and a source secondary domain name;
the local DNS server is configured to send domain name resolution requests corresponding to other resolution objects to other top domain servers corresponding to other resolution objects according to authorization records comprising domain names of other resolution objects if the target domain name is authorized to the other resolution objects, and obtain access addresses corresponding to the domain name resolution requests based on guide layer authoritative DNS server addresses replied by the other top domain servers;
the source top domain server is configured to send the authorization record containing other resolution objects corresponding to at least two different top domain names and/or at least two different secondary domain names to the local DNS server if the target domain name is determined to be authorized to the other resolution objects;
the other top domain servers are configured to determine the guide layer authority DNS server addresses corresponding to other resolution objects if domain name resolution requests of the other resolution objects are received, and send the guide layer authority DNS server addresses corresponding to the other resolution objects to the local DNS server;
The guiding layer authoritative DNS server is configured to send the authoritative DNS server addresses corresponding to other resolution objects to the local DNS server if domain name resolution requests of the other resolution objects are received;
and the authoritative DNS server is configured to send the access address of the target domain name to the local DNS server if the domain name resolution request is received.
Further, in the embodiment of the present application, the domain name obtaining system may obtain the access address corresponding to the domain name through the following steps:
step one, a local DNS server may first receive a domain name resolution request (for example, www.a.com) sent by the client, and then the local DNS server may first query a local cache table stored in a storage area of the local DNS server, so as to determine whether an access address of the domain name exists in the cache table. Further, if no resolution cache is detected, the root thread can be queried to obtain the IP address of the root server, and a www.a.com record is requested from the root server.
And step two, after receiving the domain name resolution request, the root server can confirm that www.a.com is authorized to the com source top domain server. And thus may return to the local DNS server the address of the com source top domain server. So that the local DNS server sends an a record of the request www.a.com to the com source top domain server.
Step three,. Com source top domain server may obtain authorization records for other resolution objects corresponding to other top domain names (e.g.,. Cn other top domain servers,. Net other top domain servers) and/or other secondary domain names (e.g., b.com other secondary domain names, c.com other secondary domain names) that have been authorized by the target domain name. And sending authoritative records containing other resolution objects corresponding to other top domain names and/or other secondary domain names to the local DNS server. The number of other analysis objects is not specifically limited in this application, and may be one or a plurality of analysis objects, for example.
And step four, after receiving the authorization record, the local DNS server can firstly inquire a local cache table. Further, if there is no resolution cache, the root thread may be queried as well, the root server IP may be obtained, and other resolution objects in the authorization record may be requested from the root server, where the other resolution objects correspond to at least two different top domain names and/or at least two different second-level domain names.
And fifthly, after the root server receives the query request, other top domain names can be confirmed, and/or other secondary domain names are authorized to the corresponding 1 or more top domain servers, so that the IP addresses of the corresponding other top domain servers of the local DNS server are returned.
And step six, after receiving other top domain names and/or the top domain server IP addresses corresponding to other second-level domain names, the local DNS server can send domain name resolution requests of other resolution objects to other top domain servers.
And step seven, after resolving the corresponding other top domain name and/or the corresponding other second domain name, each other top domain server can return to the guide layer authority DNS server address corresponding to the local DNS server.
And step eight, the local DNS server sends domain name resolution requests for inquiring other resolution objects corresponding to other top domain names and/or other secondary domain names to the local DNS server according to the address of the authority DNS server of the guiding layer.
And step nine, after receiving the domain name resolution request, the authoritative DNS servers of each guiding layer can resolve the domain name, thereby returning the corresponding authoritative DNS server address to the local DNS server.
And step ten, the local DNS server sends a domain name resolution request for requesting the target domain name to the local DNS server according to the address of the authoritative DNS server. And subsequently receiving the access address of the target domain name returned by the authoritative DNS server address.
Further optionally, the domain name acquisition system in the embodiment of the present application may further include:
The first application server is configured to acquire the communication load condition of at least one candidate DNS server after receiving the domain name resolution request sent by the client, wherein each candidate DNS server corresponds to a different network operator or domain name registrar;
the first application server is further configured to select a candidate DNS server with a communication load condition in a preset range from at least one candidate DNS server as a local DNS server.
Further, in order to avoid the risk of paralysis of the DNS system caused by failure of a single operator, after receiving a domain name resolution request sent by a client, the present application may select, according to communication load conditions of candidate DNS servers corresponding to different network operators or domain name registrars, a candidate DNS server with a better communication state as a local DNS server to perform domain name resolution. Therefore, even if a certain operator or domain name registrar fails, smooth proceeding of domain name resolution service can be realized.
Further optionally, the domain name acquisition system in the embodiment of the present application may further include:
and the second application server is configured to allocate at least one other resolution object for the target domain name in advance, wherein the other resolution object is an object for authorizing resolution of the target domain name, and the domain name included in the other resolution object corresponds to at least one of at least two different top domains and at least two different secondary domains.
Further, the second application server may pre-allocate one or more other resolution objects for the target domain name. And the mapping relation between the target domain name and other corresponding analysis objects can be stored in a preset area. So that the subsequent query can be extracted at any time.
It should be noted that the first application server and the second application server are not specifically limited, for example, the first application server and the second application server may be the same application server or different application servers. And, the first application server and the second application server may be any one server in the domain name acquisition system, for example, may be a root server, a local DNS server, a source top domain server, other top domain servers, a guiding layer authoritative DNS server, an authoritative DNS server, and so on. But may be an additionally configured server.
In one embodiment, the present application further provides a method for obtaining a domain name. Fig. 5 schematically shows a flow diagram of a method for domain name acquisition according to an embodiment of the present application. As shown in fig. 5, the method includes:
s301, configuring a mapping relation between target domain name information and other analysis objects in a top domain server, wherein the other analysis objects comprise domain names which are authorized by the target domain name and correspond to at least two different top domains and/or at least two different secondary domains.
Firstly, it should be noted that, in the application, the mapping relationship between the target domain name information and other analysis objects may be configured in the top domain server by using a graphical user interface, a console program, and an API, or the mapping relationship between the target domain name information and other analysis objects may be configured in the top domain server by using a device such as a terminal or a certain application server.
In one manner, configuration information may be sent to a domain registrar to which the top domain server belongs, where the configuration information is used to record each target domain name in the top domain server and authoritative servers that are authorized by the target domain name and correspond to other top domain names, and/or other secondary domain names. The number of the target domain name information is not specifically limited, and may be, for example, one of the domain name information of each network operator, or may be all the domain name information.
The number of the top domain servers can be one or a plurality of the top domain servers. For example, can include a cn top domain server, a net top domain server, an org top domain server, a com top domain server, and the like.
In addition, in the embodiment of the present application, the configured target domain name information may be a domain name of the content operator (for example, www.***.com), or may be a CDN domain name of a CDN vendor (for example, may be a CDN domain name www.cdn1.com of a CDN vendor corresponding to www.***.com). The present application is not limited in this regard.
In one manner, in the embodiment of the present application, a mapping relationship between target domain name information and other resolution objects may be configured in advance in a top domain server, so that a domain name resolution request may be sent to an authoritative server corresponding to the other resolution objects.
S302, sending second configuration information to the guiding layer authority DNS server, wherein the second configuration information is used for configuring mapping relations between other analysis objects and corresponding authority server addresses in the guiding layer authority DNS server.
Likewise, the number of the boot layer authoritative DNS servers is not specifically limited, and may be, for example, one or more boot layer authoritative DNS servers under one or more top domain servers. In one mode, in the embodiment of the present application, mapping relationships between other resolution objects and corresponding authoritative server addresses may be configured in advance in the authoritative DNS server of the guiding layer, so that after receiving an NS request sent by the local DNS server, the addresses of the authoritative DNS server recorded with the access addresses corresponding to the target domain name may be provided.
S303, sending third configuration information to the authoritative server, wherein the third configuration information is used for configuring the mapping relation between the target domain name and a web server or CDN node in the authoritative server, and the web server or CDN node is used for providing access service for the target domain name.
In this embodiment of the present application, the authoritative server is configured to store an actual DNS record of the target domain name, that is, it may be fed back to the access address of the CDN node or the web server in which the local DNS server stores the target domain name information. So that the access content of the target domain name can be obtained according to the access address of the web server or CDN node.
Optionally, in one manner, the present application may further obtain target domain name information of the content operator, and obtain a CDN domain name corresponding to the target domain name information;
and storing the mapping relation between the target domain name information and the corresponding CDN domain name.
Further, in the present application, a corresponding CDN domain name may be configured for the domain name information of each content operator in advance, and a mapping relationship between each target domain name information and the corresponding CDN domain name may be stored. So that the request domain name in the domain name access request can be converted into the corresponding CDN domain name when the domain name access request sent by the client is received later.
In another embodiment of the present application, as shown in fig. 6, the present application further provides a system for obtaining a domain name. Including an acquisition module 401, a determination module 402, a calculation module 403, applied to a local DNS server, wherein,
A first sending module 401, configured to send a domain name resolution request to a source top domain server after receiving a source top domain server address sent by a root server, where the domain name resolution request is used to obtain an access address of a target domain name, and the target domain name is composed of a host name, a source top domain name and a source secondary domain name;
a determining module 402, configured to obtain an authorization record sent by the source top domain server, where the authorization record includes domain names corresponding to other resolution objects, where the domain names at least correspond to two different top-level domains or two different second-level domains;
the first sending module 401 is configured to send domain name resolution requests corresponding to the other resolution objects to other top domain servers corresponding to the other resolution objects according to the authorization record;
and the obtaining module 403 is configured to obtain an access address corresponding to the domain name resolution request based on addresses of authoritative DNS servers of a guiding layer sent by the other top domain servers, where the guiding layer authoritative DNS server is used for providing an address of an authoritative DNS server recorded with the access address.
In another embodiment of the present application, the determining module 402 further includes:
A determining module 402, configured to, if it is determined that the resolution object included in the authorization record corresponds to another top-level domain, take a top-domain server address corresponding to the other top-level domain as the other top-domain server address;
and/or the number of the groups of groups,
the determining module 402 is configured to take the source top domain server address as the other top domain server address if it is determined that the resolution object included in the authorization record corresponds to the other secondary domain under the source top domain.
In another embodiment of the present application, the first sending module 401 further includes:
a first sending module 401, configured to receive a boot layer authoritative DNS server address corresponding to the other resolution object, where the boot layer authoritative DNS server address is sent by the other top domain server;
a first sending module 401 configured to send a domain name resolution request for the authoritative record to the bootstrapping layer authoritative DNS server address;
a first sending module 401, configured to send, if an authoritative DNS server address sent by the guiding layer authoritative DNS server address is received, a domain name resolution request of the target domain name to the authoritative DNS server address, where the authoritative DNS server is an authoritative DNS server corresponding to the other resolution objects;
The first sending module 401 is configured to receive an access address corresponding to the domain name resolution request sent by the authoritative DNS server.
In another embodiment of the present application, the first sending module 401 further includes:
the first sending module 401 is configured to send, when receiving the domain name resolution request sent by the client, the domain name resolution request to the root server, where the domain name resolution request is used to obtain an access address of a target domain name.
In another embodiment of the present application, as shown in fig. 7, the present application further provides a system for obtaining a domain name. Wherein a receiving module 404, a second sending module 405, is applied to a source top domain server, wherein,
a receiving module 404, configured to receive a domain name resolution request sent by a local DNS server, where the domain name resolution request is used to obtain an access address of a target domain name, where the target domain name is composed of a host name, a source top domain name, and a source secondary domain name;
a second sending module 405 configured to send an authoritative record containing other resolution objects corresponding to at least two different top domain names and/or at least two different secondary domain names to the local DNS server.
In another embodiment of the present application, the second sending module 405 further includes:
a second sending module 405, configured to determine, if a domain name resolution request of another resolution object corresponding to the other secondary domain name is received, a boot layer authoritative DNS server address corresponding to the other resolution object, where the boot layer authoritative DNS server is configured to provide an address of an authoritative DNS server recorded with an access address of the target domain name;
a second sending module 405 configured to send the bootstrapping authority DNS server address to the local DNS server.
In another embodiment of the present application, as shown in fig. 8, the present application further provides a system for obtaining a domain name. Wherein a first configuration module 406, a second configuration module 407, a third configuration module 408 are included, wherein,
a first configuration module 406 configured to configure, in a top domain server, a mapping relationship of the target domain name information with other resolution objects, the other resolution objects including domain names corresponding to at least two different top domains and/or at least two different secondary domains authorized by the target domain name;
a second configuration module 407, configured to configure, at the boot layer authoritative DNS server, a mapping relationship between the other resolution objects and the corresponding authoritative server addresses;
And a third configuration module 408, configured to configure, at an authoritative server, a mapping relationship between the other resolution objects and CDN nodes, where the CDN nodes store access addresses of the target domain name information.
In another embodiment of the present application, further comprising, a storage module 409, wherein:
a storage module 409 configured to obtain target domain name information of a content operator, and obtain a CDN domain name corresponding to the target domain name information;
and a storage module 409 configured to store a mapping relationship between the target domain name information and the corresponding CDN domain name.
By applying the technical scheme of the application, the target domain name can be authorized to the authoritative servers corresponding to other top-level domains or other secondary domains in advance, and after the local DNS server receives the resolution request of the domain name, the corresponding top-level domain server and the authoritative DNS server of the guiding layer are accessed according to the authorization record, so that the access address corresponding to the domain name is obtained from the corresponding authoritative DNS server later. Thereby avoiding the risk of paralysis of the DNS system caused by multiple faults of a single top-level domain or a single registrar existing in the related art.
Fig. 9 is a block diagram of a logic structure of an electronic device, according to an example embodiment. For example, electronic device 500 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, exercise device, personal digital assistant, or the like.
In an exemplary embodiment, there is also provided a non-transitory computer readable storage medium including instructions, such as a memory including instructions, executable by an electronic device processor to perform a method of network monitoring as described above, the method comprising: configuring a mapping relation between the target domain name information and other resolution objects in a top domain server, wherein the other resolution objects comprise domain names which are authorized by the target domain name and correspond to at least two different top domains and/or at least two different secondary domains; configuring the mapping relation between the other analysis objects and the corresponding authoritative server addresses in the authority DNS server of the guiding layer; and configuring the mapping relation between the other analysis objects and CDN nodes in an authoritative server, wherein the CDN nodes store the access addresses of the target domain name information. Optionally, the above instructions may also be executed by a processor of the electronic device to perform the other steps involved in the above-described exemplary embodiments. For example, the non-transitory computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
In an exemplary embodiment, there is also provided an application/computer program product comprising one or more instructions executable by a processor of an electronic device to perform a method of network monitoring as described above, the method comprising: configuring a mapping relation between the target domain name information and other resolution objects in a top domain server, wherein the other resolution objects comprise domain names which are authorized by the target domain name and correspond to at least two different top domains and/or at least two different secondary domains; configuring the mapping relation between the other analysis objects and the corresponding authoritative server addresses in the authority DNS server of the guiding layer; and configuring the mapping relation between the other analysis objects and CDN nodes in an authoritative server, wherein the CDN nodes store the access addresses of the target domain name information. Optionally, the above instructions may also be executed by a processor of the electronic device to perform the other steps involved in the above-described exemplary embodiments.
Fig. 9 is an exemplary diagram of a computer device 50. It will be appreciated by those skilled in the art that the schematic diagram 9 is merely an example of the computer device 50 and is not limiting of the computer device 50, and may include more or fewer components than shown, or may combine certain components, or different components, e.g., the computer device 50 may also include input and output devices, network access devices, buses, etc.
The processor 502 may be a central processing unit (Central Processing Unit, CPU), other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field-programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor 502 may be any conventional processor or the like, the processor 502 being a control center of the computer device 50, with various interfaces and lines connecting the various parts of the entire computer device 50.
The memory 501 may be used to store computer readable instructions 503 and the processor 502 implements the various functions of the computer device 50 by executing or executing the computer readable instructions or modules stored in the memory 501 and invoking data stored in the memory 501. The memory 501 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like; the storage data area may store data created according to the use of the computer device 50, or the like. In addition, the Memory 501 may include a hard disk, a Memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash Card (Flash Card), at least one magnetic disk storage device, a Flash Memory device, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), or other nonvolatile/volatile storage device.
The modules integrated by the computer device 50, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the present invention may implement all or part of the flow of the method of the above-described embodiments, or may be implemented by means of computer readable instructions to instruct related hardware, where the computer readable instructions may be stored in a computer readable storage medium, where the computer readable instructions, when executed by a processor, implement the steps of the method embodiments described above.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the application following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the application pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It is to be understood that the present application is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (16)

1. The method for acquiring the domain name is characterized by being applied to a local DNS server, wherein the local DNS server is a DNS server with a communication load condition in a preset range, and comprises the following steps:
after receiving a source top domain server address sent by a root server, sending a domain name resolution request to the source top domain server, wherein the domain name resolution request is used for obtaining an access address of a target domain name, and the target domain name consists of a host name, a source top domain and a source secondary domain;
acquiring an authorization record sent by the source top domain server, wherein the authorization record comprises domain names corresponding to other analysis objects, the domain names at least correspond to two different top-level domains or two different second-level domains, and the second-level domains are second-level domain names under different domain name registrars;
according to the authorization record, sending domain name resolution requests corresponding to the other resolution objects to other top domain servers where the other resolution objects are located;
and obtaining an access address corresponding to the domain name resolution request based on the addresses of the authoritative DNS servers of the guiding layer sent by the other top domain servers, wherein the authoritative DNS server of the guiding layer is used for providing the address of the authoritative DNS server recorded with the access address.
2. The method of claim 1, further comprising, after the obtaining the authorization record sent by the source top domain server:
if the analysis object contained in the authorization record is determined to correspond to other top-level domains, taking the top-level domain server addresses corresponding to the other top-level domains as the other top-level domain server addresses;
and/or the number of the groups of groups,
and if the analysis object contained in the authorization record is determined to correspond to other secondary domains under the source top domain, the source top domain server address is used as the other top domain server addresses.
3. The method of claim 2, wherein after sending the domain name resolution request to the other top domain server corresponding to the other resolution object, further comprises:
receiving addresses of authority DNS servers of a guide layer corresponding to the other resolution objects, wherein the addresses are sent by the other top domain servers;
sending domain name resolution requests for the other resolution objects to the boot layer authoritative DNS server address;
if an authoritative DNS server address sent by the guiding layer authoritative DNS server address is received, a domain name resolution request of the target domain name is sent to the authoritative DNS server address, wherein the authoritative DNS server is an authoritative DNS server corresponding to the other resolution objects;
And receiving an access address corresponding to the domain name resolution request sent by the authoritative DNS server.
4. The method of claim 2, wherein prior to sending the domain name resolution request to the source top domain server, further comprising:
and when the domain name resolution request sent by the client is received, sending the domain name resolution request to the root server.
5. A method for domain name acquisition, applied to a source top domain server, comprising:
receiving a domain name resolution request sent by a local DNS server, wherein the domain name resolution request is used for acquiring an access address of a target domain name, the target domain name consists of a host name, a source top domain name and a source second-level domain name, and the local DNS server is a DNS server with a communication load condition in a preset range;
and sending the authorization records containing other resolution objects corresponding to at least two different top domain names and/or at least two different secondary domain names to the local DNS server, wherein the secondary domain is a secondary domain name under different domain name registrars.
6. The method of claim 5, wherein after sending the authoritative record containing other resolution objects corresponding to at least two different top domain names and/or at least two different secondary domain names to the local DNS server, further comprising:
If a domain name resolution request of other resolution objects corresponding to other secondary domain names is received, determining a guide layer authority DNS server address corresponding to the other resolution objects, wherein the guide layer authority DNS server is used for providing an authority DNS server address recorded with an access address of the target domain name;
and sending the address of the authority DNS server of the guiding layer to the local DNS server.
7. A system for domain name acquisition, comprising:
the root server is configured to return a top domain server address corresponding to a domain name resolution request to a local DNS server when the domain name resolution request sent by the local DNS server is received, wherein the domain name resolution request is used for acquiring an access address of a target domain name, the target domain name consists of a host name, a source top domain name and a source secondary domain name, and the local DNS server is a DNS server with a communication load condition in a preset range;
the local DNS server is configured to send domain name resolution requests corresponding to other resolution objects to other top domain servers corresponding to the other resolution objects according to authorization records comprising domain names of the other resolution objects if the target domain name is determined to be authorized to the other resolution objects, and obtain access addresses corresponding to the domain name resolution requests based on guide layer authoritative DNS server addresses replied by the other top domain servers;
A source top domain server configured to send an authorization record containing other resolution objects corresponding to at least two different top domain names and/or at least two different secondary domain names to the local DNS server if it is determined that the target domain name is authorized to the other resolution objects, where the secondary domain is a secondary domain name under a different domain name registrar;
the other top domain servers are configured to determine the guide layer authority DNS server addresses corresponding to the other resolution objects and send the guide layer authority DNS server addresses corresponding to the other resolution objects to the local DNS server if domain name resolution requests of the other resolution objects are received;
the guiding layer authoritative DNS server is configured to send the authoritative DNS server addresses corresponding to the other resolution objects to the local DNS server if the domain name resolution requests of the other resolution objects are received;
and the authoritative DNS server is configured to send the access address of the target domain name to the local DNS server if the domain name resolution request is received.
8. The system as recited in claim 7, comprising:
the first application server is configured to acquire the communication load condition of at least one candidate DNS server after receiving the domain name resolution request sent by the client, wherein each candidate DNS server corresponds to a different network operator or domain name registrar;
The first application server is further configured to select a candidate DNS server with a communication load condition in a preset range from the at least one candidate DNS server as a local DNS server.
9. The system as recited in claim 7, comprising:
and a second application server configured to allocate at least one other resolution object to the target domain name in advance, wherein the other resolution object is an object authorized to resolve the target domain name, and the domain name included in the other resolution object corresponds to at least one of the at least two different top domains and the at least two different second-level domains.
10. A method for domain name acquisition, comprising:
configuring a mapping relation between target domain name information and other resolution objects in a top domain server, wherein the other resolution objects comprise domain names authorized by the target domain name and corresponding to at least two different top domains and/or at least two different secondary domains, and the secondary domains are secondary domain names under different domain name registrars;
configuring the mapping relation between the other analysis objects and the corresponding authoritative server addresses in the authority DNS server of the guiding layer;
and configuring the mapping relation between the other analysis objects and CDN nodes in an authoritative server, wherein the CDN nodes store the access addresses of the target domain name information.
11. The method of claim 10, wherein the method further comprises:
acquiring target domain name information of a content operator and acquiring a CDN domain name corresponding to the target domain name information;
and storing the mapping relation between the target domain name information and the corresponding CDN domain name.
12. The electronic device for acquiring the domain name is characterized by being applied to a local DNS server, wherein the local DNS server is a DNS server with a communication load condition in a preset range, and the electronic device comprises:
the first sending module is configured to send a domain name resolution request to the source top domain server after receiving the source top domain server address sent by the root server, wherein the domain name resolution request is used for obtaining an access address of a target domain name, and the target domain name consists of a host name, a source top domain name and a source secondary domain name;
the determining module is configured to acquire an authorization record sent by the source top domain server, wherein the authorization record comprises domain names corresponding to other analysis objects, the domain names at least correspond to two different top-level domains or two different second-level domains, and the second-level domains are second-level domain names under different domain name registrars;
the first sending module is configured to send domain name resolution requests corresponding to the other resolution objects to other top domain servers corresponding to the other resolution objects according to the authorization record;
The obtaining module is configured to obtain an access address corresponding to the domain name resolution request based on addresses of authoritative DNS servers of the guiding layer sent by the other top domain servers, wherein the authoritative DNS servers of the guiding layer are used for providing addresses of authoritative DNS servers recorded with the access addresses.
13. An electronic device for acquiring a domain name, which is applied to a source top domain server, and comprises:
the system comprises a receiving module, a judging module and a judging module, wherein the receiving module is configured to receive a domain name resolution request sent by a local DNS server, the domain name resolution request is used for obtaining an access address of a target domain name, the target domain name consists of a host name, a source top domain name and a source secondary domain name, and the local DNS server is a DNS server with a communication load condition in a preset range;
and the second sending module is configured to send the authorization record containing other resolution objects corresponding to at least two different top domain names and/or at least two different secondary domain names to the local DNS server, wherein the secondary domain is a secondary domain name under different domain name registrars.
14. An electronic device for acquiring a domain name, comprising:
a first configuration module configured to configure, in a top domain server, a mapping relationship between target domain name information and other resolution objects, the other resolution objects including domain names corresponding to at least two different top domains and/or at least two different secondary domains authorized by the target domain name, the secondary domains being secondary domain names under different domain name registrars;
The second configuration module is configured to configure the mapping relation between the other resolution objects and the corresponding authoritative server addresses at the guiding layer authoritative DNS server;
the third configuration module is configured to configure the mapping relation between the other analysis objects and the CDN node in the authoritative server, and the CDN node stores the access address of the target domain name information.
15. An electronic device, comprising:
a memory for storing executable instructions; the method comprises the steps of,
a processor for executing the executable instructions with the memory to perform the operations of the method of domain name acquisition of any of claims 1-6 and claims 10-11.
16. A computer readable storage medium storing computer readable instructions which, when executed, perform the operations of the method of domain name acquisition of any one of claims 1-6 and claims 10-11.
CN202110352289.3A 2021-03-31 2021-03-31 Domain name acquisition method, electronic device and system Active CN115150358B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110352289.3A CN115150358B (en) 2021-03-31 2021-03-31 Domain name acquisition method, electronic device and system
PCT/CN2022/082738 WO2022206549A1 (en) 2021-03-31 2022-03-24 Domain name acquisition method and system, electronic device, equipment, and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110352289.3A CN115150358B (en) 2021-03-31 2021-03-31 Domain name acquisition method, electronic device and system

Publications (2)

Publication Number Publication Date
CN115150358A CN115150358A (en) 2022-10-04
CN115150358B true CN115150358B (en) 2024-02-13

Family

ID=83404997

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110352289.3A Active CN115150358B (en) 2021-03-31 2021-03-31 Domain name acquisition method, electronic device and system

Country Status (2)

Country Link
CN (1) CN115150358B (en)
WO (1) WO2022206549A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115665263A (en) * 2022-10-19 2023-01-31 上海浦东发展银行股份有限公司 Flow allocation method, device, server and storage medium
CN117692253B (en) * 2024-02-01 2024-05-07 鹏城实验室 Domain name security method, system and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103957285A (en) * 2014-04-18 2014-07-30 上海聚流软件科技有限公司 Method and system for providing root domain name analysis services
WO2017067443A1 (en) * 2015-10-19 2017-04-27 北京奇虎科技有限公司 Security domain name system and fault processing method therefor
WO2017173766A1 (en) * 2016-04-08 2017-10-12 网宿科技股份有限公司 Domain name parsing acceleration method, system and apparatus
CN107623751A (en) * 2016-07-14 2018-01-23 网宿科技股份有限公司 DNS network systems, domain name analytic method and system
CN108471458A (en) * 2018-07-10 2018-08-31 北京云枢网络科技有限公司 authoritative DNS service providing method and system
WO2019237288A1 (en) * 2018-06-13 2019-12-19 深圳前海达闼云端智能科技有限公司 Domain name resolution method and apparatus, and computer-readable storage medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040162916A1 (en) * 1999-06-22 2004-08-19 Ryan William Kenneth Multiple use of identical names to identify different IP numerical addresses
US7805379B1 (en) * 2007-12-18 2010-09-28 Amazon Technologies, Inc. Method and system for leasing or purchasing domain names
US8214524B2 (en) * 2007-12-21 2012-07-03 Hostway Corporation System and method for selecting an optimal authoritative name server
CN101262474B (en) * 2008-04-22 2012-02-01 武汉理工大学 A cross-domain access control system for realizing role and group mapping based on cross-domain authorization
US10015134B2 (en) * 2011-12-29 2018-07-03 Verisign, Inc. Methods and systems for creating new domains
CN104144222B (en) * 2014-08-20 2015-08-19 北京阅联信息技术有限公司 Based on the load-balancing method of canonical name and system in DNS authoring system
CN106899423A (en) * 2015-12-21 2017-06-27 北京奇虎科技有限公司 The processing method of domain name system, device and domain name system
CN107222492A (en) * 2017-06-23 2017-09-29 网宿科技股份有限公司 A kind of DNS anti-attack methods, equipment and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103957285A (en) * 2014-04-18 2014-07-30 上海聚流软件科技有限公司 Method and system for providing root domain name analysis services
WO2017067443A1 (en) * 2015-10-19 2017-04-27 北京奇虎科技有限公司 Security domain name system and fault processing method therefor
WO2017173766A1 (en) * 2016-04-08 2017-10-12 网宿科技股份有限公司 Domain name parsing acceleration method, system and apparatus
CN107623751A (en) * 2016-07-14 2018-01-23 网宿科技股份有限公司 DNS network systems, domain name analytic method and system
WO2019237288A1 (en) * 2018-06-13 2019-12-19 深圳前海达闼云端智能科技有限公司 Domain name resolution method and apparatus, and computer-readable storage medium
CN108471458A (en) * 2018-07-10 2018-08-31 北京云枢网络科技有限公司 authoritative DNS service providing method and system

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
mircosoft 著.《网络基本架构的实现和管理》.高等教育出版社,2005,第3.3.3节. *
Survey on Domain Name System Security;F. Zou, S. Zhang, B. Pei, L. Pan, L. Li and J. Li;《2016 IEEE First International Conference on Data Science in Cyberspace (DSC) 》;20170302;全文 *
中国域名服务器配置错误的测量与分析;韩殿飞;袁睿翕;管晓宏;;计算机工程;20070120(02);全文 *
基于P2P的物联网信息发现服务的研究;***;《中国优秀硕士学位论文全文数据库》;20120415;全文 *

Also Published As

Publication number Publication date
CN115150358A (en) 2022-10-04
WO2022206549A1 (en) 2022-10-06

Similar Documents

Publication Publication Date Title
CN115150358B (en) Domain name acquisition method, electronic device and system
WO2019165665A1 (en) Domain name resolution method, server and system
US11044262B2 (en) Method, apparatus and system for anti-attacking in domain name system (DNS)
CN102859942B (en) Using DNS reflection to measure network performance
CN104519146A (en) Method and system for domain name service based on user position
AU2013206327B2 (en) Systems and methods for automatically providing whois service to top level domains
GB2582477A (en) Accessing gateway management console
EP3895401A1 (en) Systems and methods for processing requests for content of a content distribution network
US20130173825A1 (en) Providing privacy enhanced resolution system in the domain name system
CN113992626A (en) Method, device and storage medium for realizing DNS
CN115297085A (en) Domain name resolution updating method and device, electronic equipment and storage medium
CN111464521A (en) Method, device, computer equipment and storage medium for preventing domain name from being hijacked
CN114500456A (en) DNS scheduling optimization method and device based on full-network sniffing and computing equipment
US20140280335A1 (en) System and method to allow a domain name server to process a natural language query and determine context
CN113382093B (en) Domain name resolution method, electronic device and system
US20200112537A1 (en) Domain-name-based network-connection attestation
CN109889626A (en) Method, device and system for acquiring corresponding relation between IP address and DNS address
CN110635958B (en) Network fault diagnosis method, device and storage medium
CN114338630A (en) Domain name access method, device, electronic equipment, storage medium and program product
CN105245626A (en) Method for realizing website addressing by using shortcut domain name in private network
CN104869182A (en) Domain name resolution method and device
CN116938877B (en) Domain name resolution data configuration method, domain name resolution method and related device
CN114422476B (en) Method and device for preventing CNAME (CNAME) cache pollution
CN111064822B (en) User tracking method and device and electronic equipment
CN109302505B (en) Data transmission method, system, device and 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