CN113783975A - Request management method, device, medium and equipment based on local DNS (Domain name Server) - Google Patents

Request management method, device, medium and equipment based on local DNS (Domain name Server) Download PDF

Info

Publication number
CN113783975A
CN113783975A CN202111120905.9A CN202111120905A CN113783975A CN 113783975 A CN113783975 A CN 113783975A CN 202111120905 A CN202111120905 A CN 202111120905A CN 113783975 A CN113783975 A CN 113783975A
Authority
CN
China
Prior art keywords
domain name
dns
name resolution
dns domain
local
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.)
Pending
Application number
CN202111120905.9A
Other languages
Chinese (zh)
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.)
FAW Group Corp
Original Assignee
FAW Group Corp
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 FAW Group Corp filed Critical FAW Group Corp
Priority to CN202111120905.9A priority Critical patent/CN113783975A/en
Publication of CN113783975A publication Critical patent/CN113783975A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources

Abstract

The embodiment of the application discloses a request management method, a request management device, a request management medium and request management equipment based on a local DNS (domain name system) server. Wherein the method is performed by a local DNS server configured in a host having network access control functionality; the method comprises the following steps: acquiring a DNS domain name resolution request sent by a local terminal; identifying the DNS domain name resolution request, and if the DNS domain name of the DNS domain name resolution request is in a preset white list, resolving the DNS domain name resolution request to obtain a target IP address corresponding to the DNS domain name; and returning the target IP address to the local terminal for the local terminal to access the network through the host. According to the technical scheme, the DNS server is locally arranged, so that the working complexity of the host can be effectively reduced, the resource consumption of the host is reduced, and safer and quicker network experience is brought to a user.

Description

Request management method, device, medium and equipment based on local DNS (Domain name Server)
Technical Field
The embodiment of the application relates to the technical field of networks, in particular to a request management method, a request management device, a request management medium and request management equipment based on a local DNS (domain name system) server.
Background
With the advent of the network information age, in order to meet more and more network demands, the network scale is more and more huge, and the network access control method is also continuously upgraded. The most adopted network access control method at present is the firewall control method.
The firewall control method obtains the IP address of the host and the IP uplink port number by analyzing the protocol composition of each LAN and external network communication application, thereby planning out the service flow and controlling the corresponding service flow.
However, when the firewall implements the filtering function, all data packets entering and exiting the firewall need to be monitored, intercepted, and identified, which easily increases the complexity of the host and consumes the host resources.
Disclosure of Invention
The embodiment of the application provides a request management method, device, medium and equipment based on a local DNS (domain name system) server, which can effectively reduce the working complexity of a host, reduce the resource consumption of the host and bring safer and faster network experience for users.
In a first aspect, an embodiment of the present application provides a request management method based on a local DNS server, where the method is performed by the local DNS server, and the local DNS server is configured in a host with a network access control function; the method comprises the following steps:
acquiring a DNS domain name resolution request sent by a local terminal;
identifying the DNS domain name resolution request, and if the DNS domain name of the DNS domain name resolution request is in a preset white list, resolving the DNS domain name resolution request to obtain a target IP address corresponding to the DNS domain name;
and returning the target IP address to the local terminal for the local terminal to access the network through the host.
In a second aspect, the present invention provides a request management apparatus based on a local DNS server, where the apparatus is configured in the local DNS server, and the local DNS server is configured in a host with a network access control function; the device comprises:
a DNS domain name resolution request acquisition module, configured to acquire a DNS domain name resolution request sent by a local terminal;
a DNS domain name resolution request identification module, configured to identify the DNS domain name resolution request, and if a DNS domain name of the DNS domain name resolution request is in a preset white list, resolve the DNS domain name resolution request to obtain a target IP address corresponding to the DNS domain name;
and the target IP address returning module is used for returning the target IP address to the local terminal so that the local terminal can access the network through the host.
In a third aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a local DNS server-based request management method according to an embodiment of the present application.
In a fourth aspect, an embodiment of the present application provides an electronic device, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor executes the computer program to implement the local DNS server-based request management method according to the embodiment of the present application.
According to the technical scheme provided by the embodiment of the application, the DNS domain name resolution request sent by the local terminal is acquired, and the DNS domain name resolution request is identified; if the DNS domain name of the DNS domain name resolution request is in a preset white list, resolving the DNS domain name resolution request to obtain a target IP address corresponding to the DNS domain name; and returning the target IP address to the local terminal for the local terminal to access the network through the host. According to the technical scheme, the DNS server is locally arranged, so that the working complexity of the host can be effectively reduced, the resource consumption of the host is reduced, and safer and quicker network experience is brought to a user.
Drawings
Fig. 1 is a flowchart of a local DNS server-based request management method according to an embodiment of the present application;
fig. 2 is a schematic working diagram of a request management method based on a local DNS server according to an embodiment of the present application;
fig. 3 is a flowchart of a request management method based on a local DNS server according to a second embodiment of the present application;
fig. 4 is a schematic diagram of a request management apparatus based on a local DNS server according to a third embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present application.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting of the application. It should be further noted that, for the convenience of description, only some of the structures related to the present application are shown in the drawings, not all of the structures.
Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the steps as a sequential process, many of the steps can be performed in parallel, concurrently or simultaneously. In addition, the order of the steps may be rearranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Example one
Fig. 1 is a flowchart of a request management method based on a local DNS server according to an embodiment of the present application, where the present embodiment is applicable to any request management scenario based on a local DNS server, and the method may be executed by a request management apparatus based on a local DNS server according to an embodiment of the present application, where the apparatus may be implemented by software and/or hardware, and may be integrated in an electronic device.
As shown in fig. 1, the request management method based on the local DNS server includes:
s110, a DNS domain name resolution request sent by a local terminal is obtained.
The present scheme is performed by a local DNS server configured in a host having a network access control function. Fig. 2 is a working schematic diagram of a request management method based on a local DNS server according to an embodiment of the present application, in this scheme, a network may be divided into a local area network and an external network, the local DNS server may be built in a host with a network access control function, the host with the network access control function may manage local terminals in the local area network, and the local terminals may be all local terminals in the local area network or some local terminals in the local area network according to actual scene requirements.
The local terminal may issue a DNS domain name resolution request to the local DNS server. The domain name resolution is a service for allowing a user to conveniently access a website through a domain name by using an IP in which the domain name is directed to a website server. The DNS request may be a message sent by the local terminal to request resolution of the domain name. The domain name resolution process may take as a specific example the assumption that local terminal a wants to access site www.net1.com, the domain name server of the website it is accessing is dns. Network 2.com, and a root domain name server is ns.inter.net, the domain name resolution process may include the following steps:
(1) the local terminal sends a message requesting resolution of domain name www.net1.com.
(2) After receiving the request, the local DNS server queries whether the local cache has a domain name www.net1.com resolution record, and if the local cache has the domain name www.net1.com resolution record, the local DNS server directly returns the query result to the local terminal a, thereby completing the domain name resolution.
(3) Assuming there is no such record, the local DNS server dns.net2.com issues a request to the root domain name server ns.inter.net to resolve the domain name www.net1.com. The root domain name server ns.inter.net queries the local record after receiving the request to obtain the result: net1.com NS DNS. net1.com, meaning that the domain name server in the net1 domain is DNS. net1.com, while the root domain name server NS. inter. net gives the address of DNS. net1.com and returns the result to the local DNS server DNS. net2. com.
(4) And after receiving the response, the local DNS server DNS, net2, com sends a message requesting to resolve the domain name www.net1.com.
(5) Net1.com of the website to be visited, after receiving the request, queries the local record, finds a record www.net1.com a 211.120.3.12, which indicates that the IP address of the domain name server DNS. net1.com in net1.com is 211.120.3.12, and returns the result to the local DNS server DNS. net2. com.
(6) And the local DNS server dns.net2.com stores the returned result in a local cache, and returns the result to the local terminal A, thereby completing the domain name resolution process.
And S120, identifying the DNS domain name resolution request, and if the DNS domain name of the DNS domain name resolution request is in a preset white list, resolving the DNS domain name resolution request to obtain a target IP address corresponding to the DNS domain name.
The local DNS server may identify DNS domain name resolution requests issued by the local terminal. It should be noted that the identification is different from querying the local record in the domain name resolution process in S110, and the identification may be to classify the DNS domain name of the DNS domain name resolution request. The classification may be into two categories, such as whether the DNS domain name is work related. The classification may be divided into two or more classes, for example, the DNS domain names may be classified according to a level, or the DNS domain names may be classified according to a registration category.
The preset white list can be a DNS domain name list which can be accessed and is made by an enterprise according to the access requirement of a local terminal. The list of DNS domain names that can be accessed can be derived by classification of the DNS domain names. If the DNS domain name of the DNS domain name resolution request is in the preset white list, the local DNS server resolves the DNS domain name resolution request, and the resolving process may refer to the domain name resolution process in S110. After the domain name resolution is completed, the local DNS server may obtain a target IP address corresponding to the DNS domain name.
And if the DNS domain name of the DNS domain name resolution request is not in a preset white list, rejecting to resolve the DNS domain name resolution request.
And if the DNS domain name of the DNS domain name resolution request is not in a preset white list, indicating that the DNS domain name in the white list is not allowed to be accessed in the range of the local area network. Therefore, the local DNS server can achieve the purpose of network access control in a mode of refusing to analyze the DNS domain name analysis request.
According to the scheme, the DNS domain name resolution request in the non-preset white list is rejected by judging whether the DNS domain name is in the preset white list, so that the network access is flexibly and effectively controlled. Meanwhile, effective network access control is beneficial to network security and ensures the safe internet access of users.
S130, returning the target IP address to the local terminal for the local terminal to access the network through the host.
After obtaining the target IP address corresponding to the DNS domain name, the local DNS server may also return the target IP address to the local terminal, so that the local terminal can access the network. In this case, the access of the local terminal to the network needs to be performed through a host having a network access control function.
In this embodiment, optionally, the method further includes:
determining an address of a local DNS server;
and sending the address of a local DNS server to a local terminal connected with the host so as to receive a DNS domain name resolution request sent by the local terminal.
On the basis of the above embodiment, the local DNS server may also determine an address of the local DNS server, where the address of the local DNS server may be an IP address of the local DNS server or a network address of the local DNS server. The local DNS server may query its own address by invoking a command. The local DNS server may send the address of the local DNS server to a local terminal connected to the host. The local terminal can modify the own DNS server address into a local DNS server address, so that when the local terminal sends out a DNS domain name resolution request, the local DNS server can receive the DNS domain name resolution request.
According to the scheme, the setting of the DNS server address of the local terminal can be realized in a simple mode, the local DNS server can conveniently receive the DNS domain name resolution request from the local terminal, and the local DNS server can be replaced and upgraded conveniently.
According to the technical scheme provided by the embodiment of the application, the DNS domain name resolution request sent by the local terminal is acquired, and the DNS domain name resolution request is identified; if the DNS domain name of the DNS domain name resolution request is in a preset white list, resolving the DNS domain name resolution request to obtain a target IP address corresponding to the DNS domain name; and returning the target IP address to the local terminal for the local terminal to access the network through the host. According to the technical scheme, the DNS server is locally arranged, so that the working complexity of the host can be effectively reduced, the resource consumption of the host is reduced, and safer and quicker network experience is brought to a user.
Example two
Fig. 3 is a flowchart of a request management method based on a local DNS server according to a second embodiment of the present invention, and the present embodiment is optimized based on the above embodiment.
As shown in fig. 3, the method of this embodiment specifically includes the following steps:
s210, receiving the DNS domain name resolution request through the host, and determining to provide a DNS domain name request channel to transmit the DNS domain name resolution request according to a data packet identification result of the DNS domain name resolution request by the host.
It is to be understood that the local DNS server may receive the DNS domain name resolution request through a host having a network access control function. The host can identify the data packet of the DNS domain name resolution request, namely identify whether the data packet is the DNS domain name resolution request data packet, and can classify the DNS domain name resolution request data packet with other data packets through identification. The local DNS server provides different transmission channels for the DNS domain name resolution request data packet and other data packets, and according to the data packet identification result of the DNS domain name resolution request, the local DNS server can determine the transmission channel provided for the DNS domain name resolution request. The DNS request may be transmitted through the transmission channel.
According to the scheme, the DNS domain name resolution request data packet can be distinguished from other data packets, a special transmission channel is provided for the DNS domain name resolution request data packet, and the DNS domain name resolution request can be accurately sent and received. Meanwhile, the scheme does not influence the transmission efficiency of other data packets, and brings quick and rapid network experience for users.
And S220, acquiring a DNS domain name resolution request sent by a local terminal through a DNS domain name request channel provided by the host.
Correspondingly, the local DNS server may obtain a DNS domain name resolution request sent by the local terminal through a DNS domain name request channel provided by the host.
S230, identifying the DNS domain name resolution request.
S240, judging whether the DNS domain name of the DNS domain name resolution request is in a preset white list.
If the DNS domain name of the DNS domain name resolution request is not in the preset white list, S250 is performed, and if the DNS domain name of the DNS domain name resolution request is in the preset white list, S260 is performed.
S250, the DNS domain name resolution request is refused to be resolved.
S260, the DNS domain name resolution request is resolved to obtain a target IP address corresponding to the DNS domain name.
And S270, returning the target IP address to the local terminal for the local terminal to perform network access through a network request access channel provided by the host.
According to the technical scheme provided by the embodiment of the application, the DNS domain name resolution request is received through the host, and a DNS domain name request channel is determined to be provided for transmitting the DNS domain name resolution request according to a data packet identification result of the DNS domain name resolution request from the host; acquiring a DNS domain name resolution request sent by a local terminal through a DNS domain name request channel provided by the host; identifying a DNS domain name resolution request sent by a local terminal by acquiring the DNS domain name resolution request; if the DNS domain name of the DNS domain name resolution request is in a preset white list, resolving the DNS domain name resolution request to obtain a target IP address corresponding to the DNS domain name; and returning the target IP address to the local terminal for the local terminal to access the network through the host. According to the technical scheme, the DNS server is locally arranged, and the data packet of the DNS domain name resolution request is identified, so that the working complexity of the host can be effectively reduced, the resource consumption of the host is reduced, and safer and quicker network experience is brought to a user.
EXAMPLE III
Fig. 4 is a schematic structural diagram of a request management device based on a local DNS server according to a third embodiment of the present invention, where the device can execute the request management method based on the local DNS server according to any embodiment of the present invention, and has corresponding functional modules and beneficial effects of the execution method. The device is configured in a local DNS server, and the local DNS server is configured in a host with a network access control function; as shown in fig. 4, the apparatus may include:
a DNS request obtaining module 310, configured to obtain a DNS request sent by a local terminal;
a DNS request identification module 320, configured to identify the DNS request, and if the DNS domain name of the DNS request is in a preset white list, analyze the DNS request to obtain a target IP address corresponding to the DNS domain name;
a target IP address returning module 330, configured to return the target IP address to the local terminal, so that the local terminal performs network access through the host.
In this embodiment, optionally, the DNS domain name resolution request identifying module 320 is further configured to:
and if the DNS domain name of the DNS domain name resolution request is not in a preset white list, rejecting to resolve the DNS domain name resolution request.
In a possible embodiment, optionally, the DNS domain name resolution request obtaining module 310 is specifically configured to:
and acquiring a DNS domain name resolution request sent by a local terminal through a DNS domain name request channel provided by the host.
In another possible embodiment, optionally, the target IP address returning module 330 is specifically configured to:
and returning the target IP address to the local terminal for the local terminal to perform network access through a network request access channel provided by the host.
On the basis of the foregoing embodiment, the DNS domain name resolution request obtaining module 310 is further configured to:
and receiving the DNS domain name resolution request through the host, and determining to provide a DNS domain name request channel to transmit the DNS domain name resolution request according to a data packet identification result of the DNS domain name resolution request by the host.
In this scheme, optionally, the apparatus further includes:
the local DNS server address determining module is used for determining the address of the local DNS server;
and the local DNS server address sending module is used for sending the address of the local DNS server to a local terminal connected with the host so as to receive a DNS domain name resolution request sent by the local terminal.
The product can execute the request management method based on the local DNS server provided by the embodiment of the application, and has corresponding functional modules and beneficial effects of the execution method.
Example four
A fourth embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a request management method based on a local DNS server, as provided in all inventive embodiments of the present application:
acquiring a DNS domain name resolution request sent by a local terminal;
identifying the DNS domain name resolution request, and if the DNS domain name of the DNS domain name resolution request is in a preset white list, resolving the DNS domain name resolution request to obtain a target IP address corresponding to the DNS domain name;
and returning the target IP address to the local terminal for the local terminal to access the network through the host.
Any combination of one or more computer-readable media may be employed. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
EXAMPLE five
The fifth embodiment of the application provides electronic equipment. Fig. 5 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present application. As shown in fig. 5, the present embodiment provides an electronic device 400, which includes: one or more processors 420; the storage device 410 is configured to store one or more programs, and when the one or more programs are executed by the one or more processors 420, the one or more processors 420 implement the method for request management based on a local DNS server according to the embodiment of the present application, the method includes:
acquiring a DNS domain name resolution request sent by a local terminal;
identifying the DNS domain name resolution request, and if the DNS domain name of the DNS domain name resolution request is in a preset white list, resolving the DNS domain name resolution request to obtain a target IP address corresponding to the DNS domain name;
and returning the target IP address to the local terminal for the local terminal to access the network through the host.
Of course, those skilled in the art can understand that the processor 420 also implements the technical solution of the request management method based on the local DNS server provided in any embodiment of the present application.
The electronic device 400 shown in fig. 5 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in fig. 5, the electronic device 400 includes a processor 420, a storage device 410, an input device 430, and an output device 440; the number of the processors 420 in the electronic device may be one or more, and one processor 420 is taken as an example in fig. 5; the processor 420, the storage device 410, the input device 430, and the output device 440 in the electronic apparatus may be connected by a bus or other means, and are exemplified by being connected by a bus 450 in fig. 5.
The storage device 410 is a computer-readable storage medium, and can be used to store software programs, computer-executable programs, and module units, such as program instructions corresponding to the request management method based on the local DNS server in the embodiment of the present application.
The storage device 410 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 required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the storage 410 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, storage 410 may further include memory located remotely from processor 420, which may be connected via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input means 430 may be used to receive input numbers, character information, or voice information, and to generate key signal inputs related to user settings and function control of the electronic device. The output device 440 may include a display screen, speakers, or other electronic equipment.
The electronic equipment provided by the embodiment of the application can effectively reduce the working complexity of the host, reduce the resource consumption of the host and bring safer and faster network experience for users by locally arranging the DNS server.
The request management device, the medium, and the electronic device based on the local DNS server provided in the above embodiments may execute the request management method based on the local DNS server provided in any embodiment of the present application, and have corresponding functional modules and beneficial effects for executing the method. Technical details that are not described in detail in the above embodiments may be referred to a request management method based on a local DNS server provided in any embodiment of the present application.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A request management method based on a local DNS server, characterized in that the method is performed by a local DNS server configured in a host having a network access control function; the method comprises the following steps:
acquiring a DNS domain name resolution request sent by a local terminal;
identifying the DNS domain name resolution request, and if the DNS domain name of the DNS domain name resolution request is in a preset white list, resolving the DNS domain name resolution request to obtain a target IP address corresponding to the DNS domain name;
and returning the target IP address to the local terminal for the local terminal to access the network through the host.
2. The method of claim 1, wherein after identifying the DNS domain name resolution request, the method further comprises:
and if the DNS domain name of the DNS domain name resolution request is not in a preset white list, rejecting to resolve the DNS domain name resolution request.
3. The method of claim 1, wherein obtaining the DNS request for domain name resolution from the local terminal comprises:
and acquiring a DNS domain name resolution request sent by a local terminal through a DNS domain name request channel provided by the host.
4. The method of claim 3, wherein returning the target IP address to the local terminal for network access by the local terminal through the host comprises:
and returning the target IP address to the local terminal for the local terminal to perform network access through a network request access channel provided by the host.
5. The method according to claim 3, wherein before acquiring the DNS domain name resolution request issued by the local terminal through the DNS domain name request channel provided by the host, the method further comprises:
and receiving the DNS domain name resolution request through the host, and determining to provide a DNS domain name request channel to transmit the DNS domain name resolution request according to a data packet identification result of the DNS domain name resolution request by the host.
6. The method of claim 1, further comprising:
determining an address of a local DNS server;
and sending the address of a local DNS server to a local terminal connected with the host so as to receive a DNS domain name resolution request sent by the local terminal.
7. A request management apparatus based on a local DNS server, wherein the apparatus is configured in the local DNS server configured in a host having a network access control function; the device comprises:
a DNS domain name resolution request acquisition module, configured to acquire a DNS domain name resolution request sent by a local terminal;
a DNS domain name resolution request identification module, configured to identify the DNS domain name resolution request, and if a DNS domain name of the DNS domain name resolution request is in a preset white list, resolve the DNS domain name resolution request to obtain a target IP address corresponding to the DNS domain name;
and the target IP address returning module is used for returning the target IP address to the local terminal so that the local terminal can access the network through the host.
8. The apparatus of claim 7, wherein the DNS nameresolution request identifying module is further configured to:
and if the DNS domain name of the DNS domain name resolution request is not in a preset white list, rejecting to resolve the DNS domain name resolution request.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a local DNS server-based request management method according to any one of claims 1 to 6.
10. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the local DNS server-based request management method according to any one of claims 1 to 6 when executing the computer program.
CN202111120905.9A 2021-09-24 2021-09-24 Request management method, device, medium and equipment based on local DNS (Domain name Server) Pending CN113783975A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111120905.9A CN113783975A (en) 2021-09-24 2021-09-24 Request management method, device, medium and equipment based on local DNS (Domain name Server)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111120905.9A CN113783975A (en) 2021-09-24 2021-09-24 Request management method, device, medium and equipment based on local DNS (Domain name Server)

Publications (1)

Publication Number Publication Date
CN113783975A true CN113783975A (en) 2021-12-10

Family

ID=78853054

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111120905.9A Pending CN113783975A (en) 2021-09-24 2021-09-24 Request management method, device, medium and equipment based on local DNS (Domain name Server)

Country Status (1)

Country Link
CN (1) CN113783975A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115174248A (en) * 2022-07-18 2022-10-11 天翼云科技有限公司 Network access control method and device
CN115314465A (en) * 2022-07-26 2022-11-08 中国第一汽车股份有限公司 Domain name filtering method, filtering system and private DNS server thereof

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106161664A (en) * 2015-04-15 2016-11-23 阿里巴巴集团控股有限公司 Domain name analytic method and device, data transmission method and device
CN108418780A (en) * 2017-02-10 2018-08-17 阿里巴巴集团控股有限公司 Filter method and device, system, the dns server of IP address
CN110636150A (en) * 2019-10-24 2019-12-31 北京小米移动软件有限公司 Domain name resolution method, domain name resolution device, and storage medium
CN110933156A (en) * 2019-11-26 2020-03-27 杭州迪普科技股份有限公司 Domain name resolution method and device
CN111245972A (en) * 2016-08-31 2020-06-05 贵州白山云科技股份有限公司 Domain name resolution method, device, medium and equipment
US20200252367A1 (en) * 2017-10-27 2020-08-06 Huawei Technologies Co., Ltd. Domain name access method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106161664A (en) * 2015-04-15 2016-11-23 阿里巴巴集团控股有限公司 Domain name analytic method and device, data transmission method and device
CN111245972A (en) * 2016-08-31 2020-06-05 贵州白山云科技股份有限公司 Domain name resolution method, device, medium and equipment
CN108418780A (en) * 2017-02-10 2018-08-17 阿里巴巴集团控股有限公司 Filter method and device, system, the dns server of IP address
US20200252367A1 (en) * 2017-10-27 2020-08-06 Huawei Technologies Co., Ltd. Domain name access method and device
CN110636150A (en) * 2019-10-24 2019-12-31 北京小米移动软件有限公司 Domain name resolution method, domain name resolution device, and storage medium
CN110933156A (en) * 2019-11-26 2020-03-27 杭州迪普科技股份有限公司 Domain name resolution method and device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115174248A (en) * 2022-07-18 2022-10-11 天翼云科技有限公司 Network access control method and device
CN115174248B (en) * 2022-07-18 2023-08-04 天翼云科技有限公司 Control method and device for network access
CN115314465A (en) * 2022-07-26 2022-11-08 中国第一汽车股份有限公司 Domain name filtering method, filtering system and private DNS server thereof

Similar Documents

Publication Publication Date Title
CN110677405B (en) Data processing method and device, electronic equipment and storage medium
CN113783975A (en) Request management method, device, medium and equipment based on local DNS (Domain name Server)
KR102090982B1 (en) How to identify malicious websites, devices and computer storage media
CN110209700B (en) Data stream association method and device, electronic equipment and storage medium
CN107133516B (en) Authority control method and system
US20220337475A1 (en) Method and Apparatus for Binding Network Card in Multi-Network Card Server, and Electronic Device and Storage Medium
CN111104675A (en) Method and device for detecting system security vulnerability
CN111930709A (en) Data storage method and device, electronic equipment and computer readable medium
CN112995164B (en) Resource access authentication method and device, storage medium and electronic equipment
CN112579997B (en) User permission configuration method and device, computer equipment and storage medium
KR20150120555A (en) Global IoT Resource Discovery Service Method and Server using the same
CN111935177B (en) Service control method and device
CN113489689A (en) Access request authentication method and device, storage medium and electronic equipment
US20210234899A1 (en) Device context in network security policies
CN107018140B (en) Authority control method and system
CN113992437B (en) Access control management method, device and system for Modbus equipment
CN112367296B (en) Service control method and device
CN105915639B (en) Page access method and device
CN112367297B (en) Service control method and device
CN114301872A (en) Domain name based access method and device, electronic equipment and storage medium
JP6412641B2 (en) Communication link transmission method, apparatus and terminal
CN112560025A (en) Interface permission detection method, device, medium and electronic equipment
CN108768987B (en) Data interaction method, device and system
CN115189897A (en) Access processing method and device for zero trust network, electronic equipment and storage medium
CN112491882A (en) Webshell detection method, webshell detection device, webshell detection medium and electronic equipment

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