Domain name resolution method, DNS server and readable storage medium
A technology of DNS server and domain name resolution, which is applied in the field of network communication, can solve the problems of enterprise intranet DNS burden, complicated and difficult maintenance work, frequent change frequency, etc., and achieve the effect of reducing load burden
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 1 approach
[0039] Such as figure 1 As shown, in the first embodiment of the present invention, a domain name resolution method under the Intranet-Internet architecture is provided, including:
[0040] Step S1, receiving the domain name resolution request of the target domain name;
[0041]Step S2, forward the domain name resolution request to the intranet server, receive the response result sent by the intranet server, if the response result is the resolution result corresponding to the target domain name, return the response result, and if the response result is that the subdomain name does not exist, proceed to step S2 S3;
[0042] Step S3, forwarding the domain name resolution request to the Internet server, receiving and returning the response result of the Internet server.
[0043] The subdomain name oa.test.com is configured with intranet address 192.168.1.100 and Internet address 1.1.1.1, while the subdomain name hr.test.com is only configured with intranet address 192.168.1.101...
no. 2 approach
[0048] Such as figure 2 As shown, in the second embodiment of the present invention, a preferred domain name resolution method is provided. Compared with the first embodiment, the domain name resolution method in this embodiment also includes:
[0049] Step S4, adding a routing cache entry of the subdomain name corresponding to the target domain name, and the routing cache entry associates and saves the subdomain name and the Internet server.
[0050] When accessing the target domain name mail.test.com, the target domain name is analyzed through the external Internet, and the corresponding IP address 2.2.2.2 in the external Internet of the target domain name mail.test.com is obtained and returned. At the same time, through the above step S4, the resolution path of the sub-domain name corresponding to the target domain name can be recorded, that is, the sub-domain name mail.test.com is only defined in the Internet server and is resolved by the Internet server. From this, it c...
no. 3 approach
[0057] Such as image 3 As shown, the third embodiment of the present invention is an embodiment further optimized on the basis of the first embodiment and the second embodiment. Compared with the first embodiment and the second embodiment, in this embodiment The provided domain name resolution methods also include:
[0058] Step S41 , judging whether the response result of the non-existence of the sub-domain name is the first response result of the intranet server to the sub-domain name, and if so, proceed to step S4.
[0059] After receiving the response result from the intranet server that the subdomain name mail.test.com corresponding to the target domain name mail.test.com does not exist, determine whether the subdomain name mail.test.com is assigned by the intranet server If the result of the first response is not, it means that the subdomain name mail.test.com already has a relevant routing cache entry, and there is no need to create a cache again; Route cache entry. ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com