Domain name resolution method and device

By using the producer-consumer model of the domain name buffer queue in domain name resolution, the domain name dictionary is dynamically generated and parsed, which solves the accuracy problem of domain name resolution under memory constraints and achieves comprehensive blasting and accurate discovery of eldest child domain names.

CN116032885BActive Publication Date: 2024-09-20ZHEJIANG E COMMERCE BANK CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310002446.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-01-03
Publication Date
2024-09-20
Estimated Expiration
2043-01-03

AI Technical Summary

Technical Problem

Due to memory limitations in domain name resolution, the existing technology cannot comprehensively and accurately collect the subdomain names corresponding to the domain name, resulting in limited domain name expansion and resolution accuracy.

Method used

By constructing the initial subdomain name information and storing it in the domain name buffer queue, the producer-consumer model of the buffer queue is adopted to dynamically generate and parse the domain name dictionary, avoiding the need to directly load large-scale dictionaries in the memory, and realizing the domain name Analyze while generating.

Benefits of technology

It improves the comprehensiveness and accuracy of domain name resolution, solves the problem of excessive memory usage, and achieves comprehensive blasting and accurate discovery of eldest subdomain names.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116032885B
    Figure CN116032885B
Patent Text Reader

Abstract

The embodiments of the present specification provide a domain name resolution method and device, wherein the domain name resolution method includes: by responding to a domain name resolution instruction, constructing initial subdomain name information according to target domain name information and subdomain name length information carried in the domain name resolution instruction; generating target subdomain name information according to the initial subdomain name information, and storing the target subdomain name information in a domain name buffer queue; when it is determined that there is target subdomain name information to be processed in the domain name buffer queue, resolving the target subdomain name information to be processed in the domain name buffer queue according to a preset domain name resolution method to generate a domain name resolution result; achieving simultaneous generation and resolution of subdomain names, further achieving comprehensiveness of domain name generation, and improving the comprehensiveness and accuracy of domain name extension and domain name resolution.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present specification relate to the field of computer technology, and in particular to a domain name resolution method. Background Art

[0002] Currently, possible secondary or multi-level domain names generated by domain name extension and resolution to determine active subdomain names are often achieved by pre-generating a data dictionary for the domain name to be resolved and loading the data dictionary into memory.

[0003] However, due to the limitation of memory size, there is a certain upper limit on the size of the loaded data dictionary, which in turn limits the comprehensiveness of domain name expansion and domain name resolution, making it impossible to comprehensively and accurately collect the subdomains corresponding to the domain name.

[0004] Therefore, it is of great significance to accurately and comprehensively expand and resolve domain names while solving the problem of memory usage. Summary of the invention

[0005] In view of this, the embodiments of this specification provide a domain name resolution method. One or more embodiments of this specification also relate to a domain name resolution device, a computing device, a computer-readable storage medium and a computer program to solve the technical defects existing in the prior art.

[0006] According to a first aspect of an embodiment of this specification, a domain name resolution method is provided, including:

[0007] In response to the domain name resolution instruction, construct initial subdomain name information according to the target domain name information and subdomain name length information carried in the domain name resolution instruction;

[0008] Generate target subdomain information according to the initial subdomain information, and store the target subdomain information in a domain name buffer queue;

[0009] When it is determined that there is target subdomain information to be processed in the domain name buffer queue, the target subdomain information to be processed in the domain name buffer queue is parsed according to a preset domain name resolution method to generate a domain name resolution result.

[0010] According to a second aspect of an embodiment of this specification, a domain name resolution device is provided, including:

[0011] A construction module is configured to respond to a domain name resolution instruction and construct initial subdomain name information according to target domain name information and subdomain name length information carried in the domain name resolution instruction;

[0012] A mapping module, configured to generate target subdomain information according to the initial subdomain information, and store the target subdomain information in a domain name buffer queue;

[0013] The resolution module is configured to resolve the target subdomain information to be processed in the domain name buffer queue according to a preset domain name resolution method and generate a domain name resolution result when it is determined that there is target subdomain information to be processed in the domain name buffer queue.

[0014] According to a third aspect of an embodiment of this specification, a computing device is provided, including:

[0015] Memory and processor;

[0016] The memory is used to store computer executable instructions, and the processor is used to execute the computer executable instructions. When the computer executable instructions are executed by the processor, the steps of the above-mentioned domain name resolution method are implemented.

[0017] According to a fourth aspect of the embodiments of this specification, a computer-readable storage medium is provided, which stores computer-executable instructions, and when the instructions are executed by a processor, the steps of the above-mentioned domain name resolution method are implemented.

[0018] According to a fifth aspect of the embodiments of this specification, a computer program is provided, wherein when the computer program is executed in a computer, the computer is caused to execute the steps of the above-mentioned domain name resolution method.

[0019] A domain name resolution method provided by an embodiment of the present specification responds to a domain name resolution instruction, constructs initial subdomain name information according to target domain name information and subdomain name length information carried in the domain name resolution instruction; generates target subdomain name information according to the initial subdomain name information, and stores the target subdomain name information in a domain name buffer queue; and when it is determined that there is target subdomain name information to be processed in the domain name buffer queue, resolves the target subdomain name information to be processed in the domain name buffer queue according to a preset domain name resolution method to generate a domain name resolution result.

[0020] Specifically, the domain name is constructed as needed and the initial subdomain name information is constructed based on the target domain name information of the domain name information, and then the target subdomain name information is generated through the initial subdomain name information and stored in the domain name buffer queue, so that the constructed domain name information does not need to be loaded into the memory to realize the resolution and determination of the domain name, thereby solving the problem of memory occupation, and by storing the target subdomain name information in the buffer queue, the subdomain name is generated and resolved at the same time, further realizing the comprehensiveness of domain name generation, and improving the comprehensiveness and accuracy of domain name extension and domain name resolution. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 This is a scenario diagram of a domain name resolution method provided by an embodiment of this specification;

[0022] Figure 2 is a flow chart of a domain name resolution method provided by an embodiment of this specification;

[0023] Figure 3 is a flowchart of a domain name resolution method according to an embodiment of the present specification;

[0024] Figure 4 It is a structural diagram of a domain name resolution device provided by an embodiment of this specification;

[0025] Figure 5 It is a structural block diagram of a computing device provided by an embodiment of this specification. DETAILED DESCRIPTION

[0026] Many specific details are described in the following description to facilitate a full understanding of this specification. However, this specification can be implemented in many other ways than those described herein, and those skilled in the art can make similar generalizations without violating the connotation of this specification, so this specification is not limited to the specific implementation disclosed below.

[0027] The terms used in one or more embodiments of this specification are only for the purpose of describing specific embodiments, and are not intended to limit one or more embodiments of this specification. The singular forms of "a", "said" and "the" used in one or more embodiments of this specification and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used in one or more embodiments of this specification refers to and includes any or all possible combinations of one or more associated listed items.

[0028] It should be understood that although the terms first, second, etc. may be used to describe various information in one or more embodiments of this specification, this information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of one or more embodiments of this specification, the first may also be referred to as the second, and similarly, the second may also be referred to as the first. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".

[0029] First, the terms involved in one or more embodiments of this specification are explained.

[0030] DNS (Domain Name System): A service of the Internet. As a distributed database that maps domain names and IP addresses to each other, it enables people to access the Internet more conveniently.

[0031] Domain name: also known as network domain, is the name of a computer or computer group on the network composed of a string of names separated by dots, used to locate the computer during data transmission.

[0032] Domain name blasting: Use DNS resolution to blast possible secondary and multi-level domain names, and try to find the target's surviving subdomains. Domain name blasting is a common resource collection method that can quickly discover existing subdomain information.

[0033] At present, the method used in the industry for domain name resolution (i.e. domain name blasting) is mainly to blast by loading dictionaries into memory. Due to the limited memory size of the machine, there is an upper limit on the size of the loaded dictionary, which limits the accuracy of the blasted domain name and makes it impossible to fully blast and collect longer subdomains in the corporate domain name.

[0034] In the existing technical solution, a generated dictionary file is specified, the file is loaded into memory through a program, and the string is read line by line for blasting, and finally the blasting of the subdomain is completed.

[0035] However, the existing technical solutions have the following problems: 1. The dictionary file takes up a large space. The character set that can exist in a subdomain name is [az][0-9][-]. Generating all possible combinations of 6 bits takes up 1G of space, and generating 7 bits takes up 40G of space, which results in the generated dictionary taking up a large hard disk space; 2. The machine memory is limited and it is impossible to load files that are too large. Generally, the memory of ordinary machines is 16G or 32G. When performing domain name blasting, it is necessary to load all the dictionaries we generated into the memory, resulting in the character set exceeding 6 bits. The general machine (32G) cannot bear it; 3. The subdomain discovery rate is low. Due to the size of the dictionary, the conventional dictionary only includes commonly used domain name strings, and the unconventional domain names cannot be covered, resulting in a low subdomain discovery rate.

[0036] Therefore, in order to solve the above technical problems, this specification provides a domain name resolution method. This specification also involves a domain name resolution device, a computing device, and a computer-readable storage medium, which are described in detail one by one in the following embodiments.

[0037] See also Figure 1 , Figure 1 A flowchart of a domain name resolution method provided according to an embodiment of the present specification is shown, which specifically includes the following steps.

[0038] like Figure 1 As shown, Figure 1 The system includes a client 102 and a server 104, wherein the client 102 includes but is not limited to a desktop computer, a laptop computer, a tablet computer, a mobile phone, etc.; the server 104 can be understood as a cloud server and a physical server, etc.

[0039] For ease of understanding, in the embodiments of this specification, the client 102 is a laptop computer, the server 104 is a physical server, the target domain name information is example.com, and the subdomain name length information is a subdomain with a maximum of 3 digits. Based on the domain name resolution method, the domain name extension resolution process is described in detail.

[0040] In specific implementation, the client 102 generates a domain name resolution instruction based on the target domain name information example.com and the subdomain name length information input by any third party, and sends it to the server 104. After receiving the domain name instruction, the server 104 determines the starting number of digits of the domain name extension when the initial subdomain name information is generated according to the subdomain name length information carried in the domain name resolution instruction. That is, when the subdomain name length information is constructed to a maximum of 3 digits, the number of digits to be generated for the initial subdomain name information can be set to start from 1 digit, 2 digits, or 3 digits. For ease of understanding, the domain name extension starting number of 3 digits is used as an example for explanation here.

[0041] Then, according to the preset domain name extension method, the initial subdomain information is generated as aaa.example.com, and the character set aaa in the initial subdomain information is converted into a corresponding hexadecimal number for representation (the conversion method is to pre-set the base number corresponding to each character or character set, such as setting the character a to correspond to the base number 0, b to correspond to the base number 1, etc.), then it can be determined that the initial base number corresponding to aaa is 702.

[0042] After determining the initial base number, the initial base number 702 can be self-incremented to generate the target base number 703 according to the preset self-increment method, and then the target base number 703 can be converted into the corresponding character set aab according to the base conversion method, and then the domain name dictionary aab.example.com is generated, and the domain name dictionary is temporarily stored in the buffer queue. Through the producer-consumer mode of the buffer queue, the domain name dictionary is generated and parsed at the same time.

[0043] Before performing domain name resolution, determine whether there is a domain name dictionary to be processed in the buffer queue. If not, continue to execute the preset self-increment method, use the target base number as the initial base number, and regenerate the domain name dictionary; if it is determined that there is a domain name dictionary to be processed in the buffer queue, parse the domain name dictionary to be processed by DNS resolution to determine whether it is real and active subdomain name information, and when it is determined that the domain name dictionary to be processed is real and active subdomain name information, the subdomain name corresponding to the domain name dictionary to be processed is fed back to the client 102.

[0044] After the subdomain is fed back to the client 102, it is determined whether the domain name extension resolution satisfies a preset termination condition (such as the extension of all subdomains corresponding to the target domain name information example.com has been completed, etc.), and if it is determined that the preset termination condition is met, the extension resolution for the target domain name information is terminated; if not, the operation of determining whether there is a domain name dictionary to be processed in the buffer queue is continued.

[0045] The domain name resolution method provided in the embodiments of this specification adopts a fileless loading method to generate a domain name dictionary, maps the character set that conforms to the domain name into a corresponding base number for description, and solves the problem of excessive space occupation of the domain name dictionary; adopts the producer-consumer mode of the buffer queue, and according to the specified rules during resolution, the subdomain name dictionary generation program dynamically generates the domain name dictionary and writes data to the buffer queue, and the resolution main program reads the domain name dictionary data from the buffer queue for consumption (i.e., resolution), and continuously loops to achieve simultaneous generation and resolution of the domain name dictionary, and solves the problem of excessive memory occupation; after specifying any domain name length range, all possible domain name character sets are enumerated and resolved through DNS resolution to ensure that no unconventional string domain names are missed.

[0046] Specifically, the domain name is constructed as needed and the initial subdomain name information is constructed based on the target domain name information of the domain name information, and then the target subdomain name information is generated through the initial subdomain name information and stored in the domain name buffer queue, so that the constructed domain name information does not need to be loaded into the memory to realize the resolution and determination of the domain name, thereby solving the problem of memory occupation, and by storing the target subdomain name information in the buffer queue, the subdomain name is generated and resolved at the same time, further realizing the comprehensiveness of domain name generation, and improving the comprehensiveness and accuracy of domain name extension and domain name resolution.

[0047] See also Figure 2 , Figure 2 A flowchart of a domain name resolution method provided according to an embodiment of the present specification is shown, which specifically includes the following steps.

[0048] Step 202: In response to the domain name resolution instruction, initial subdomain name information is constructed according to the target domain name information and subdomain name length information carried in the domain name resolution instruction.

[0049] The domain name resolution instruction can be understood as an instruction initiated by any third-party user or third-party platform for the target domain name information to perform domain name resolution, such as a domain name resolution instruction triggered by any third-party user clicking a control.

[0050] The target domain name information can be understood as any domain name information that needs to be resolved (ie, domain name blasting) to determine active subdomain information. For example, the target domain name information can be information including a target domain name such as example.com.

[0051] The subdomain length information can be understood as the number of character digits of the generated subdomain. For example, when the subdomain length information is 5 digits, the generated subdomain can be "abc12" or the like.

[0052] Specifically, in response to a domain name resolution instruction, initial subdomain name information is constructed according to the target domain name information and subdomain name length information carried in the domain name resolution instruction. This can be understood as: based on the target domain name information that needs to be extended and resolved by any third-party platform or third-party user input, and the number of character bits of the subdomain name expected to generate the target domain name information (i.e., subdomain name length information), a domain name resolution instruction for the target domain name information is generated, and according to the subdomain name length information carried in the domain name resolution instruction for the target domain name information, the initial number of bits of the subdomain name for generating the initial subdomain name information is determined, and then the initial subdomain name information corresponding to the target domain name information is generated based on the initial number of bits of the subdomain name and a preset domain name extension method.

[0053] The preset domain name extension method may be to randomly combine the subdomain name character set from the minimum number of digits corresponding to the subdomain name length information to generate a random string as the initial subdomain name information corresponding to the target domain name information.

[0054] For example, taking the target domain name information as example.com and the subdomain length information as a 5-character subdomain as an example, the construction of the initial subdomain information is explained. Specifically, the 5-character subdomain corresponding to the target domain name information is determined according to the subdomain length information. According to the preset domain name extension method, the generated initial subdomain information can be aaaaa.example.com.

[0055] In practical applications, in order to facilitate the personalization of the subsequent generation of initial subdomain information, that is, to construct the initial subdomain information based on user needs, the number of initial extension digits of the subdomain length information can be pre-set based on historical experience, etc., to speed up the generation of initial subdomain information and further avoid the problem of long domain name resolution time due to random combination of character strings. The specific implementation is as follows:

[0056] The constructing the initial subdomain name information according to the target domain name information and the subdomain name length information carried in the domain name resolution instruction includes:

[0057] Determine the starting number of digits of the domain name extension of the subdomain name according to the subdomain name length information carried in the domain name resolution instruction;

[0058] The target domain name information is extended according to the number of starting digits of the domain name to generate the initial subdomain name information corresponding to the target domain name information.

[0059] The domain name extension starting digits can be understood as the number of digits of the initial subdomain information generated when the domain name extension is performed on the target domain name information. For example, when the domain name extension starting digits are 3 digits, the initial subdomain information generated may be aaa.example.com.

[0060] Domain name extension can be understood as generating all possible active subdomains corresponding to the domain name according to a preset domain name extension method. For example, when the target domain name information is example.com, the subdomains corresponding to the target domain name information generated by the domain name extension may include a.example.com, aaa.example.com, aaaaa.example.com, etc.

[0061] Specifically, according to the subdomain length information carried in the domain name resolution instruction, the starting number of digits of the initial subdomain information generated when generating the initial subdomain information is determined, and then according to the preset domain name extension method and the target domain name information, the initial subdomain information corresponding to the target domain name information is generated.

[0062] For example, still taking the above target domain name information example.com, the subdomain length information is to generate a subdomain information of up to 7 digits, and the domain name extension starting digit is 3 digits as an example, the generation of the initial subdomain information is explained. According to the subdomain length information in the domain name resolution instruction, it is determined that the domain name extension starting digit of the subdomain is 3 digits. Then, according to the target domain name information example.com and the preset domain name extension method, the initial subdomain information generated is aaa.example.com.

[0063] The domain name resolution method provided in the embodiments of the present specification determines the starting number of digits of the domain name extension of the subdomain name according to the subdomain name length information in the domain name resolution instruction, and then generates the initial subdomain name information of the target domain name information according to the starting number of digits of the domain name extension, thereby realizing the rapid generation of the initial subdomain name information, and further improving the determination rate of subsequent active subdomain name information by determining the starting number of digits of the domain name extension.

[0064] Step 204: Generate target subdomain information according to the initial subdomain information, and store the target subdomain information in a domain name buffer queue.

[0065] The target subdomain information may be understood as subdomain information dynamically generated based on the initial subdomain information.

[0066] The buffer queue can be understood as a queue that temporarily stores the data generated by the producer and can also be provided to the corresponding consumers to read the stored data.

[0067] Specifically, the target subdomain information is generated according to the initial subdomain information, and the target subdomain information is stored in the domain name buffer queue. It can be understood as: mapping the initial subdomain information to a base number of the corresponding base, and then increasing the base number of the corresponding base by 1 through digital self-increment, and converting it into target subdomain information different from the initial subdomain information according to the base number after self-increment, and temporarily storing the generated target subdomain information in the corresponding domain name buffer queue.

[0068] When the buffer queue is used to store and read generated data, the production or consumption rates may be different. For example, if the production is too fast, the target subdomain information in the buffer queue will be accumulated, occupying the content; or, if the consumption is too fast, the corresponding target subdomain information cannot be read synchronously after each consumption is completed, further reducing the overall domain name resolution rate. Therefore, the rate between the producer and consumer of the buffer queue can be monitored synchronously to avoid problems such as backlog of data in the buffer queue due to rate asynchrony.

[0069] In actual applications, the base numbers corresponding to the character sets that may be used by the subdomain names can be pre-set, and then the initial subdomain name information can be converted into a base number description through the correspondence between the character sets and the base numbers in the initial subdomain name information. Then, all possible combinations of character sets can be traversed in a self-incrementing manner to generate the target subdomain name information corresponding to the initial subdomain name information, and the target subdomain name information can be temporarily stored in the domain name buffer queue, thereby achieving the effect of generating and resolving the subdomain names at the same time.

[0070] For example, the hexadecimal numbers corresponding to the characters [az] can be pre-configured, then the number corresponding to the character a can be 0, the number corresponding to the character b can be 1, and so on, the number corresponding to the character z is 25, the number corresponding to the character set aa is 26, the number corresponding to the character set ab is 27, and so on.

[0071] In addition to the characters [az], the characters [0-9] are also included. The characters 0-9 can be set to correspond to the base numbers 26-35 respectively. Accordingly, the character set aa corresponds to the base number 36, and the character set ab corresponds to the base number 37. The character set in the subdomain can be pre-configured according to the actual application, and this specification does not specifically limit this.

[0072] In addition, when generating the target subdomain information, for the storage of the correspondence between the character set and the base number, the correspondence between the base numbers corresponding to each character can be stored in the domain name relationship correspondence table to improve the data storage capacity and further improve the efficiency of obtaining the correspondence. The specific implementation method is as follows:

[0073] The generating target subdomain information according to the initial subdomain information includes:

[0074] Determine the initial base number corresponding to the initial subdomain information according to the preset domain name relationship correspondence table;

[0075] The target base number is generated by self-incrementing the initial base number, and the target subdomain name information is generated according to the target base number and the domain name relationship correspondence table.

[0076] The domain name relationship correspondence table can be understood as a relationship correspondence table storing the correspondence between each character or character set of the domain name and the corresponding base number. For example, the table can store the mapping number corresponding to character a as 0, the base number corresponding to character b as 1, the base number corresponding to character 0 as 26, etc. The storage form and storage content of the correspondence between the domain name and the character can be set according to the actual application, and are not limited to the above storage method, and this specification does not specifically limit this.

[0077] The initial base number can be understood as data represented in base number form corresponding to the character set in the subdomain information.

[0078] Specifically, according to a preset domain name relationship correspondence table, the corresponding base number of the character set in the initial subdomain name information is obtained from the preset domain name relationship correspondence table, and then the initial base number is determined according to the character set corresponding to the initial subdomain name information, the initial base number is incremented by 1 to generate a target base number, and then the corresponding target subdomain name information is generated according to the target base number and the preset domain name relationship correspondence table.

[0079] In practical applications, the incrementing number from the initial base number to the target base number can be any number such as 1, 3, 5, 7, etc. When the integrity of the domain name extension is not strictly required, the larger the incrementing number, the shorter the overall time required for the domain name extension, further improving the rate of subsequent domain name resolution.

[0080] For example, still taking the above-mentioned initial subdomain information aaa.example.com as an example, the generation of the target subdomain information is explained. The a character in the initial subdomain information is obtained from the preset domain name relationship correspondence table. The corresponding base number is 0. It can be determined that the initial base number corresponding to the character set aaa is 702. The initial base number 702 is incremented by 1 to generate the target base number 703. Then, according to the target base number and the preset domain name relationship correspondence table, it is determined that the character set corresponding to the base number 703 is aab. It can be determined that the target subdomain information is aab.example.com.

[0081] It should be noted that the correspondence between the character set and the base number can be pre-created and then directly obtained through the above-mentioned domain name relationship correspondence table, or it can be determined while converting between the character set and the initial base number, that is, after the base numbers corresponding to the characters [az], [0-9], and special characters are clarified, they are calculated and determined.

[0082] In actual applications, the subdomain length information includes not only the starting number of digits of the domain name extension, but also the ending number of digits of the domain name extension. By limiting the number of digits of the subdomain extension, the customized needs of users can be met. At the same time, by limiting the ending number of digits of the domain name extension, the ending condition of the domain name extension can be determined to realize the automation of the domain name extension. The specific implementation method is as follows:

[0083] Before determining the starting number of digits of the domain name extension of the subdomain name according to the subdomain name length information carried in the domain name resolution instruction, the method further includes:

[0084] Determine the end number of digits of the domain name extension of the subdomain name according to the subdomain name length information carried in the domain name resolution instruction;

[0085] Determining an end condition of the domain name extension according to the end digit of the domain name extension;

[0086] Correspondingly, after storing the target subdomain information in the domain name buffer queue, the method further includes:

[0087] When it is determined that the end condition of the domain name extension is met, the generation of the target subdomain name information corresponding to the target domain name information ends.

[0088] The number of digits at the end of domain name extension can be understood as the number of digits of the subdomain name when the domain name extension operation ends. For example, when the user expects to generate a 7-digit subdomain name, the number of digits at the end of domain name extension is set to 8 digits. Subsequently, when the subdomain name is extended to the 8th digit, the extension operation of the subdomain name ends.

[0089] The end condition of the domain name extension may be that the number of digits of the character set in the subdomain name meets the condition of the end digits of the domain name extension. For example, the end condition of the domain name extension is that when the number of digits of the character set in the subdomain name meets 8 digits, the domain name extension operation is ended.

[0090] Specifically, the number of digits that the domain name extension ends for the subdomain name is determined based on the subdomain name length information carried in the domain name resolution instruction, and the number of digits that the domain name extension ends for the subdomain name is determined based on the number of digits that the domain name extension operation ends for the subdomain name extension. After the target subdomain name information is stored in the domain name buffer queue, when it is determined that the domain name extension operation satisfies the aforementioned requirement of ending the subdomain name extension at a certain digit of the subdomain name, the extension is terminated to generate the target subdomain name information corresponding to the target domain name information.

[0091] For example, still taking the above-mentioned subdomain name length information as the subdomain name information that generates a maximum of 7 digits as an example, the end condition of the domain name extension is explained. Specifically, according to the subdomain name length information that generates a maximum of 7 digits of subdomain name information, it can be determined that the end number of digits of the domain name extension is 8 digits, that is, when the subdomain name is extended to the 8th digit, the extension of the subdomain name is ended, that is, the operation of extending to generate the target subdomain name information corresponding to the target domain name information is ended.

[0092] The domain name resolution method provided in the embodiments of this specification converts the initial subdomain name information into a corresponding base number for description, so that all subdomain name information that may exist in the domain name can be traversed by means of a self-incrementing base number, thereby improving the accuracy of subdomain name discovery, further providing a basis for subsequent domain name resolution, and improving the comprehensiveness of domain name resolution.

[0093] Step 206: When it is determined that there is target subdomain information to be processed in the domain name buffer queue, the target subdomain information to be processed in the domain name buffer queue is resolved according to a preset domain name resolution method to generate a domain name resolution result.

[0094] The target subdomain information to be processed may be understood as one of the target subdomain information stored in the buffer queue.

[0095] The preset domain name resolution method can be understood as a method for resolving the activity of subdomain information. For example, the domain name can be pointed to the website space IP through the DNS server to determine whether the domain name can access the corresponding website.

[0096] Specifically, when it is determined that there is target subdomain information to be processed in the domain name buffer queue, the target subdomain information to be processed in the domain name buffer queue is parsed according to a preset domain name resolution method to generate a domain name resolution result. It can be understood as: after the target subdomain information is generated by the aforementioned method and the target subdomain information is stored in the domain name buffer queue, it is determined whether there is subdomain information to be processed in the domain name buffer queue. When it is determined that there is, according to the preset domain name resolution method, the target subdomain information is pointed to the website space IP (Internet Protocol) through the DNS server to determine whether the target subdomain information can access the corresponding website, and generate a resolution result corresponding to the target subdomain information to be processed, so as to facilitate the subsequent determination of whether the target subdomain information to be processed can access the corresponding website according to the resolution result, and then output it.

[0097] In actual applications, when the end condition of domain name extension is not met, there may be a situation where there is no target subdomain name information to be processed in the buffer queue. Because before performing domain name resolution on the subdomain name information to be processed, it is necessary to determine whether there is target subdomain name information to be processed in the buffer queue, and when it is determined that there is no target subdomain name information to be processed in the domain name buffer queue, continue to perform the target subdomain name information generation operation to ensure the stable operation of domain name resolution. The specific implementation method is as follows:

[0098] Before determining that the to-be-processed target subdomain information exists in the domain name buffer queue, the method further includes:

[0099] Determine whether there is target subdomain information to be processed in the domain name buffer queue;

[0100] When it is determined that there is no target subdomain information to be processed in the domain name buffer queue, using the target base number as the initial base number;

[0101] Continue to perform self-increment according to the initial base number to generate a target base number, and generate the target subdomain name information according to the target base number and the domain name relationship correspondence table.

[0102] Specifically, determine whether there is any target subdomain name information to be processed in the domain name buffer queue. If it is determined that there is no target subdomain name information to be processed in the domain name buffer queue, use the target base number as the initial base number, and generate the target base number by self-incrementing the initial base number, and generate the target subdomain name information based on the generated target base number and the preset domain name relationship correspondence table.

[0103] It should be noted that the specific implementation of the above-mentioned continuing to execute the self-incrementing of the initial base number to generate the target base number and further generate the target subdomain information is the same as the implementation method of the previous embodiment. For details, please refer to the above-mentioned specific implementation, which will not be repeated here.

[0104] In addition, after generating the domain name resolution result, it is necessary to determine the activity of the target subdomain information to be processed according to the resolution result, and then determine whether the target subdomain information to be processed is the domain name information that can access the corresponding website according to the activity, so as to improve the accuracy of the domain name information resolution. The specific implementation method is as follows:

[0105] After generating the domain name resolution result, the method further includes:

[0106] Determine the activity of the target subdomain information to be processed according to the domain name resolution result;

[0107] When it is determined that the activity of the target subdomain information to be processed meets a preset activity threshold, the target subdomain information to be processed is output.

[0108] Specifically, after the target subdomain information to be processed is parsed by a preset domain name resolution method to generate a resolution result, the activity of the target subdomain information to be processed is determined according to the resolution result, and according to a preset activity threshold, when it is determined that the activity of the target subdomain information to be processed meets the preset activity threshold, the target subdomain information to be processed is output.

[0109] In actual applications, the domain name is resolved to determine whether the target subdomain information to be processed needs to be output. Not only can it be determined whether the subdomain corresponding to the target subdomain information to be processed is active, but also whether the website corresponding to the subdomain corresponding to the subdomain information to be processed can be accessed to determine whether the target subdomain information to be processed needs to be output as the resolution result.

[0110] For example, still taking the aforementioned subdomain information to be processed as aaa.example.com as an example, the output of the target subdomain information to be processed is explained. Specifically, according to the analysis of the website corresponding to the subdomain corresponding to the target subdomain information to be processed, it is determined that the access value of the website is 1000, which meets the preset active threshold of 500. Then, it can be determined that the subdomain corresponding to the target subdomain information to be processed is an active domain name, and the subdomain information to be processed is output as the analysis result.

[0111] After outputting the resolution result, it is necessary to determine whether the domain name resolution meets the termination conditions, thereby ensuring the integrity of the domain name resolution operation and avoiding the waste of resources due to repeated execution of domain name resolution extension and other operations. The specific implementation method is as follows:

[0112] After outputting the target subdomain information to be processed, the method further includes:

[0113] If it is determined that the domain name resolution does not meet the preset end condition, continue to determine whether there is target subdomain information to be processed in the buffer queue until the preset end condition is met; or

[0114] When it is determined that the domain name resolution satisfies a preset termination condition, the domain name resolution is terminated.

[0115] The preset end condition may be understood as a condition that needs to be met to end the domain name resolution, such as achieving the extension of all subdomains of the target domain name information, receiving a domain name resolution end instruction, and the like.

[0116] Specifically, when it is determined that the domain name resolution does not meet the preset end condition, continue to determine whether there is any target subdomain name information to be processed in the buffer queue; when it is determined that there is no target subdomain name information to be processed, regenerate the target subdomain name information according to the target base number; or when it is determined that the domain name resolution meets the preset end condition, end the domain name resolution.

[0117] In actual applications, when judging whether the domain name resolution meets the preset end conditions, it can be determined by judging whether the domain name resolution operation has traversed all subdomains corresponding to the target domain name information, or whether an end instruction to end the domain name resolution operation has been received, or whether a preset domain name resolution time threshold has been reached.

[0118] It should be noted that the subsequent step of continuing to determine whether there is target subdomain information to be processed in the buffer queue is the same as the specific implementation of the aforementioned embodiment. The specific implementation can be found in the aforementioned content, and this specification will not repeat it here.

[0119] The domain name resolution method provided in the embodiments of the present specification determines whether there is target subdomain name information to be processed in the domain name buffer queue, and if it is determined that there is target subdomain name information to be processed, the target subdomain name information to be processed is resolved to generate a corresponding domain name resolution result, and then the activity of the target subdomain name information to be processed is determined based on the resolution result, thereby improving the accuracy and completeness of the domain name information resolution.

[0120] A domain name resolution method provided by an embodiment of the present specification responds to a domain name resolution instruction, constructs initial subdomain name information according to target domain name information and subdomain name length information carried in the domain name resolution instruction; generates target subdomain name information according to the initial subdomain name information, and stores the target subdomain name information in a domain name buffer queue; and when it is determined that there is target subdomain name information to be processed in the domain name buffer queue, resolves the target subdomain name information to be processed in the domain name buffer queue according to a preset domain name resolution method to generate a domain name resolution result.

[0121] Specifically, the domain name is constructed as needed and the initial subdomain name information is constructed based on the target domain name information of the domain name information, and then the target subdomain name information is generated through the initial subdomain name information and stored in the domain name buffer queue, so that the constructed domain name information does not need to be loaded into the memory to realize the resolution and determination of the domain name, thereby solving the problem of memory occupation, and by storing the target subdomain name information in the buffer queue, the subdomain name is generated and resolved at the same time, further realizing the comprehensiveness of domain name generation, and improving the comprehensiveness and accuracy of domain name extension and domain name resolution.

[0122] The following combination Figure 3 ,in, Figure 3 A flowchart of a domain name resolution method provided in an embodiment of the present specification is shown, which specifically includes the following steps.

[0123] Step 302: Domain name resolution instruction.

[0124] Specifically, a domain name resolution instruction is generated by receiving a target domain name that needs to be resolved by domain name extension input by a user, and corresponding expected subdomain name length information; subsequently, in response to the domain name resolution instruction, the domain name extension of the target domain name is performed to generate subdomain name information.

[0125] Step 304: Map characters that match the domain name into corresponding base numbers for description.

[0126] Specifically, after determining the target domain name and subdomain name length information carried in the domain name resolution instruction, the target domain name can be extended to generate multiple initial subdomain names corresponding to the target domain name, and then the character set in the initial subdomain name is converted into a corresponding base number for representation.

[0127] For example, when the generated subdomain is aaa.example.com and corresponds to hexadecimal, a corresponds to the number 0, it can be determined that aaa is converted into the corresponding hexadecimal number 1*26*26+1*26+0, which is equal to 702.

[0128] Step 306: Dynamically generate a domain name dictionary according to a preset auto-increment method.

[0129] Specifically, after converting the character set in the initial subdomain name into a corresponding base number for representation according to the aforementioned method, the base number can be used for self-incrementing to traverse all possible character combinations in a self-incrementing manner, thereby ensuring the integrity of the generated subdomain name.

[0130] For example, the initial subdomain name generated in the aforementioned embodiment is aaa.example.com, and the base number corresponding to aaa is 702. The generation of the domain name dictionary is explained. After the initial subdomain name is generated, the base number 702 is incremented by 1 to generate 703, and then the base number is converted into the corresponding character set, namely aab, to generate the corresponding target subdomain name aab.example.com.

[0131] Step 308: Store the domain name dictionary in a buffer queue.

[0132] Specifically, a producer-consumer mode of a buffer queue is adopted. According to the rules specified during parsing, the subdomain dictionary generation program dynamically generates a domain name dictionary and writes data to the buffer queue. Subsequently, the domain name dictionary is read from the buffer queue for consumption through the main parsing program.

[0133] Step 310: Determine whether there is a domain name dictionary to be processed in the buffer queue.

[0134] If yes, execute step 312;

[0135] If not, execute step 306.

[0136] Step 312: DNS resolves the domain name dictionary.

[0137] Specifically, the domain name dictionary is pointed to the website space IP through the DNS server, and then it is determined whether the domain name dictionary is a real accessible active subdomain.

[0138] Step 314: Output the parsing result.

[0139] Specifically, the DNS domain name dictionary is used to resolve the real and accessible active subdomain name, which is then output and fed back to the user.

[0140] Step 316: Determine whether a preset end condition is met.

[0141] Specifically, the preset end condition may be that the time consumed by the domain name resolution reaches a preset time threshold, and then the end condition is determined to be satisfied; or all subdomain names are traversed, and then the preset end condition is determined to be satisfied.

[0142] If yes, execute step 318;

[0143] If not, execute step 310.

[0144] Step 318: End.

[0145] The domain name resolution method provided in the embodiment of the present specification solves the problem of excessive hard disk space occupation caused by too large a dictionary by dynamically generating a domain name set dictionary without the need for the dictionary to be implemented; the domain name dictionary is generated and resolved while subdomain names are generated by a buffer queue, solving the memory bottleneck problem caused by an excessively large external dictionary; the character set is mapped to the base system, and all domain name occurrences can be enumerated, with a high domain name discovery rate, and is not limited by the domain name length, and subdomain names of any length can be infinitely blasted; the domain name character set is combined with the base system to dynamically generate a domain name dictionary of any length; by enumerating all possible subdomain names of any length, the domain name discovery accuracy is high; the buffer system is used to realize fileless domain name resolution, solving the bottleneck problem of memory in the file loading mode.

[0146] Corresponding to the above method embodiment, this specification also provides a domain name resolution device embodiment, Figure 4 FIG. 1 shows a schematic diagram of the structure of a domain name resolution device provided by an embodiment of this specification. Figure 4 As shown, the device comprises:

[0147] The construction module 402 is configured to respond to the domain name resolution instruction and construct the initial subdomain name information according to the target domain name information and the subdomain name length information carried in the domain name resolution instruction;

[0148] A mapping module 404 is configured to generate target subdomain information according to the initial subdomain information, and store the target subdomain information in a domain name buffer queue;

[0149] The resolution module 406 is configured to resolve the target subdomain information to be processed in the domain name buffer queue according to a preset domain name resolution method and generate a domain name resolution result when it is determined that there is target subdomain information to be processed in the domain name buffer queue.

[0150] Optionally, the mapping module 404 is further configured to:

[0151] Determine the initial base number corresponding to the initial subdomain information according to the preset domain name relationship correspondence table;

[0152] The target base number is generated by self-incrementing the initial base number, and the target subdomain name information is generated according to the target base number and the domain name relationship correspondence table.

[0153] Optionally, the device further comprises:

[0154] The target subdomain information loop module is configured as

[0155] Determine whether there is target subdomain information to be processed in the domain name buffer queue;

[0156] When it is determined that there is no target subdomain information to be processed in the domain name buffer queue, using the target base number as the initial base number;

[0157] Continue to perform self-increment according to the initial base number to generate a target base number, and generate the target subdomain name information according to the target base number and the domain name relationship correspondence table.

[0158] Optionally, the construction module 402 is further configured to:

[0159] Determine the starting number of digits of the domain name extension of the subdomain name according to the subdomain name length information carried in the domain name resolution instruction;

[0160] The target domain name information is extended according to the number of starting digits of the domain name to generate the initial subdomain name information corresponding to the target domain name information.

[0161] Optionally, the device further comprises:

[0162] The domain extension end module is configured as follows:

[0163] Determine the end number of digits of the domain name extension of the subdomain name according to the subdomain name length information carried in the domain name resolution instruction;

[0164] Determining an end condition of the domain name extension according to the end digit of the domain name extension;

[0165] Correspondingly, after storing the target subdomain information in the domain name buffer queue, the method further includes:

[0166] When it is determined that the end condition of the domain name extension is met, the generation of the target subdomain name information corresponding to the target domain name information ends.

[0167] Optionally, the device further comprises:

[0168] Output modules are configured as:

[0169] Determine the activity of the target subdomain information to be processed according to the domain name resolution result;

[0170] When it is determined that the activity of the target subdomain information to be processed meets a preset activity threshold, the target subdomain information to be processed is output.

[0171] Optionally, the device further comprises:

[0172] The domain name resolution end module is configured as follows:

[0173] If it is determined that the domain name resolution does not meet the preset end condition, continue to determine whether there is target subdomain information to be processed in the buffer queue until the preset end condition is met; or

[0174] When it is determined that the domain name resolution satisfies a preset termination condition, the domain name resolution is terminated.

[0175] A domain name resolution device provided by an embodiment of the present specification responds to a domain name resolution instruction, constructs initial subdomain name information according to target domain name information and subdomain name length information carried in the domain name resolution instruction; generates target subdomain name information according to the initial subdomain name information, and stores the target subdomain name information in a domain name buffer queue; and when it is determined that there is target subdomain name information to be processed in the domain name buffer queue, resolves the target subdomain name information to be processed in the domain name buffer queue according to a preset domain name resolution method to generate a domain name resolution result.

[0176] Specifically, the domain name is constructed as needed and the initial subdomain name information is constructed based on the target domain name information of the domain name information, and then the target subdomain name information is generated through the initial subdomain name information and stored in the domain name buffer queue, so that the constructed domain name information does not need to be loaded into the memory to realize the resolution and determination of the domain name, thereby solving the problem of memory occupation, and by storing the target subdomain name information in the buffer queue, the subdomain name is generated and resolved at the same time, further realizing the comprehensiveness of domain name generation, and improving the comprehensiveness and accuracy of domain name extension and domain name resolution.

[0177] The above is a schematic scheme of a domain name resolution device of this embodiment. It should be noted that the technical scheme of the domain name resolution device and the technical scheme of the above domain name resolution method belong to the same concept, and the details not described in detail in the technical scheme of the domain name resolution device can be referred to the description of the technical scheme of the above domain name resolution method.

[0178] Figure 5 The structure block diagram of a computing device 500 provided according to an embodiment of the present specification is shown. The components of the computing device 500 include but are not limited to a memory 510 and a processor 520. The processor 520 is connected to the memory 510 via a bus 530, and the database 550 is used to store data.

[0179] The computing device 500 also includes an access device 540 that enables the computing device 500 to communicate via one or more networks 560. Examples of these networks include a public switched telephone network (PSTN), a local area network (LAN), a wide area network (WAN), a personal area network (PAN), or a combination of communication networks such as the Internet. The access device 540 may include one or more of any type of network interface (e.g., a network interface card (NIC)) that is wired or wireless, such as an IEEE 802.11 wireless local area network (WLAN) wireless interface, a world-wide interoperability for microwave access (Wi-MAX) interface, an Ethernet interface, a universal serial bus (USB) interface, a cellular network interface, a Bluetooth interface, and a near field communication (NFC).

[0180] In one embodiment of the present specification, the above components of the computing device 500 and Figure 5 Other components not shown in the figure may also be connected to each other, for example, via a bus. It should be understood that Figure 5 The computing device structure block diagram shown is only for the purpose of illustration, and is not intended to limit the scope of this specification. Those skilled in the art can add or replace other components as needed.

[0181] The computing device 500 may be any type of stationary or mobile computing device, including a mobile computer or mobile computing device (e.g., a tablet computer, a personal digital assistant, a laptop computer, a notebook computer, a netbook, etc.), a mobile phone (e.g., a smart phone), a wearable computing device (e.g., a smart watch, smart glasses, etc.), or other types of mobile devices, or a stationary computing device such as a desktop computer or a personal computer (PC). The computing device 500 may also be a mobile or stationary server.

[0182] The processor 520 is used to execute the following computer executable instructions, which implement the steps of the above data processing method when executed by the processor. The above is a schematic scheme of a computing device of this embodiment. It should be noted that the technical scheme of the computing device and the technical scheme of the above domain name resolution method belong to the same concept. For the details not described in detail in the technical scheme of the computing device, please refer to the description of the technical scheme of the above domain name resolution method.

[0183] An embodiment of the present specification further provides a computer-readable storage medium storing computer-executable instructions, which implement the steps of the above-mentioned domain name resolution method when executed by a processor.

[0184] The above is a schematic scheme of a computer-readable storage medium of this embodiment. It should be noted that the technical scheme of the storage medium and the technical scheme of the above-mentioned domain name resolution method belong to the same concept, and the details not described in detail in the technical scheme of the storage medium can be referred to the description of the technical scheme of the above-mentioned domain name resolution method.

[0185] An embodiment of the present specification further provides a computer program, wherein when the computer program is executed in a computer, the computer is caused to execute the steps of the above-mentioned domain name resolution method.

[0186] The above is a schematic scheme of a computer program of this embodiment. It should be noted that the technical scheme of the computer program and the technical scheme of the above-mentioned domain name resolution method belong to the same concept, and the details not described in detail in the technical scheme of the computer program can be referred to the description of the technical scheme of the above-mentioned domain name resolution method.

[0187] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0188] The computer instructions include computer program codes, which may be in source code form, object code form, executable files or some intermediate forms, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer-readable medium may be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.

[0189] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity of description, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the embodiments of this specification are not limited by the order of the actions described, because according to the embodiments of this specification, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the embodiments of this specification.

[0190] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0191] The preferred embodiments of this specification disclosed above are only used to help explain this specification. The optional embodiments do not describe all the details in detail, nor do they limit the invention to only the specific implementation methods described. Obviously, many modifications and changes can be made according to the content of the embodiments of this specification. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the embodiments of this specification, so that technicians in the relevant technical field can well understand and use this specification. This specification is only limited by the claims and their full scope and equivalents.

Claims

1. A domain name resolution method, comprising: In response to the domain name resolution instruction, construct initial subdomain name information according to the target domain name information and subdomain name length information carried in the domain name resolution instruction; Generate target subdomain information according to the initial subdomain information, and store the target subdomain information in a domain name buffer queue, wherein generating the target subdomain information according to the initial subdomain information includes: Determine an initial base number corresponding to the initial subdomain name information according to a preset domain name relationship correspondence table, generate a target base number by self-incrementing the initial base number, and generate the target subdomain name information according to the target base number and the domain name relationship correspondence table; When it is determined that there is target subdomain information to be processed in the domain name buffer queue, the target subdomain information to be processed in the domain name buffer queue is parsed according to a preset domain name resolution method to generate a domain name resolution result.

2. The domain name resolution method according to claim 1, before determining that the domain name buffer queue contains the target subdomain name information to be processed, further comprising: Determine whether there is target subdomain information to be processed in the domain name buffer queue; When it is determined that there is no target subdomain information to be processed in the domain name buffer queue, using the target base number as the initial base number; Continue to perform self-increment according to the initial base number to generate a target base number, and generate the target subdomain name information according to the target base number and the domain name relationship correspondence table.

3. According to the domain name resolution method of claim 1, the step of constructing the initial subdomain name information according to the target domain name information and the subdomain name length information carried in the domain name resolution instruction comprises: Determine the starting number of digits of the domain name extension of the subdomain name according to the subdomain name length information carried in the domain name resolution instruction; The target domain name information is extended according to the number of starting digits of the domain name to generate the initial subdomain name information corresponding to the target domain name information.

4. The domain name resolution method according to claim 3, before determining the starting number of digits of the domain name extension of the subdomain name according to the subdomain name length information carried in the domain name resolution instruction, further comprising: Determine the end number of digits of the domain name extension of the subdomain name according to the subdomain name length information carried in the domain name resolution instruction; Determining an end condition of the domain name extension according to the end digit of the domain name extension; Correspondingly, after storing the target subdomain information in the domain name buffer queue, the method further includes: When it is determined that the end condition of the domain name extension is met, the generation of the target subdomain name information corresponding to the target domain name information ends.

5. The domain name resolution method according to claim 1, after generating the domain name resolution result, further comprising: Determine the activity of the target subdomain information to be processed according to the domain name resolution result; When it is determined that the activity of the target subdomain information to be processed meets a preset activity threshold, the target subdomain information to be processed is output.

6. The domain name resolution method according to claim 5, after outputting the target subdomain information to be processed, further comprising: If it is determined that the domain name resolution does not meet the preset end condition, continue to determine whether there is target subdomain information to be processed in the buffer queue until the preset end condition is met; or When it is determined that the domain name resolution satisfies a preset termination condition, the domain name resolution is terminated.

7. A domain name resolution device, comprising: A construction module is configured to respond to a domain name resolution instruction and construct initial subdomain name information according to target domain name information and subdomain name length information carried in the domain name resolution instruction; A mapping module is configured to generate target subdomain information according to the initial subdomain information, and store the target subdomain information in a domain name buffer queue, wherein the generating the target subdomain information according to the initial subdomain information includes: Determine an initial base number corresponding to the initial subdomain name information according to a preset domain name relationship correspondence table, generate a target base number by self-incrementing the initial base number, and generate the target subdomain name information according to the target base number and the domain name relationship correspondence table; The resolution module is configured to resolve the target subdomain information to be processed in the domain name buffer queue according to a preset domain name resolution method and generate a domain name resolution result when it is determined that there is target subdomain information to be processed in the domain name buffer queue.

8. A computing device comprising: Memory and processor; The memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions. When the computer-executable instructions are executed by the processor, the steps of the domain name resolution method described in any one of claims 1 to 6 are implemented.

9. A computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the steps of the domain name resolution method according to any one of claims 1 to 6.