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

Pending Publication Date: 2022-03-15
SHANGHAI YAMU COMMUNICATION TECHNOLOGY CO LTD
View PDF5 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

With the expansion of the network scale and the increase in the number of applications, the number of subdomains will increase, and the frequency of changes will be very frequent, which will bring a great burden to the enterprise intranet DNS, and its maintenance will be very complicated and difficult

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Domain name resolution method, DNS server and readable storage medium
  • Domain name resolution method, DNS server and readable storage medium
  • Domain name resolution method, DNS server and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

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. ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to the technical field of network communication, in particular to a domain name resolution method under an intranet-Internet architecture, a DNS server and a computer readable storage medium. The domain name resolution method provided by the invention comprises the following steps: S1, receiving a domain name resolution request of a target domain name; s2, forwarding the domain name resolution request to an intranet server, receiving a response result sent by the intranet server, if the response result is a resolution result corresponding to a target domain name, returning the response result, and if the response result is that a sub-domain name does not exist, performing a step S3; and S3, forwarding the domain name resolution request to the Internet server, and receiving and returning a response result of the Internet server. According to the domain name resolution method, an intranet / Internet forwarding mechanism can be improved, a correct resolution result is obtained through multiple times of recursion, and the problem of conflict between an intranet domain name and an Internet domain name is solved.

Description

technical field [0001] The invention relates to the technical field of network communication, in particular to a domain name resolution method, a DNS server and a computer-readable storage medium under an intranet-Internet architecture. Background technique [0002] In large and medium-sized enterprises, in order to ensure the efficiency and security of network data transmission, the network is generally constructed through the internal LAN, and the intranet domain name authoritative server is deployed in the intranet to realize the domain name of the enterprise intranet, so as to Reduce the complexity of the intranet access application system and improve the flexibility of intranet domain name deployment. The general structure of enterprise intranet DNS is as follows: [0003] After receiving the domain name resolution request, the enterprise intranet DNS first determines whether the domain name is an intranet domain name or an Internet domain name, forwards the intranet d...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): H04L61/4511H04L61/2503
CPCH04L61/2503
Inventor 张晓东张宇
Owner SHANGHAI YAMU COMMUNICATION TECHNOLOGY CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products