CN113766044A - Domain name resolution method and system - Google Patents

Domain name resolution method and system Download PDF

Info

Publication number
CN113766044A
CN113766044A CN202110872789.XA CN202110872789A CN113766044A CN 113766044 A CN113766044 A CN 113766044A CN 202110872789 A CN202110872789 A CN 202110872789A CN 113766044 A CN113766044 A CN 113766044A
Authority
CN
China
Prior art keywords
target
domain name
address
host
name resolution
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110872789.XA
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.)
Guangdong Inspur Smart Computing Technology Co Ltd
Original Assignee
Guangdong Inspur Smart Computing Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Inspur Smart Computing Technology Co Ltd filed Critical Guangdong Inspur Smart Computing Technology Co Ltd
Priority to CN202110872789.XA priority Critical patent/CN113766044A/en
Publication of CN113766044A publication Critical patent/CN113766044A/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]

Abstract

The application discloses a domain name resolution method and a domain name resolution system, wherein the method is applied to a host machine, the host machine is provided with a virtual machine, and the method comprises the following steps: when a source port number carried in a domain name resolution request message sent by the virtual machine is hit in a pre-configured port number set, the host machine intercepts the domain name resolution request message; the host machine searches a target IP address corresponding to a target domain name carried in the domain name resolution request message in a preset corresponding relation between the domain name and the IP address; and when the host machine finds the target IP address corresponding to the target domain name in the corresponding relation, the host machine returns the target IP address to the virtual machine. Therefore, the method provides the domain name resolution service through the host machine where the virtual machine requesting the domain name resolution service is located, and does not need to set an additional host machine or virtual machine, so that the convenience of providing the domain name resolution service is improved.

Description

Domain name resolution method and system
Technical Field
The present application relates to the field of computer technologies, and in particular, to a domain name resolution method and system.
Background
The domain name resolution refers to resolving a domain name provided by a client to obtain an IP address corresponding to the domain name. Typically, domain name resolution may be accomplished by a Domain Name System (DNS) server. For example, the client may send a domain name resolution request to the DNS server, the DNS server performs resolution based on the domain name carried in the domain name resolution request, then returns the IP address of the domain name to the client, and then the client accesses the website corresponding to the domain name based on the IP address.
With the development of computer technology, virtualization technology is widely applied, and part of functional services are no longer deployed on a physical host, but are deployed in a virtual machine in a virtualized manner. The domain name resolution service is also needed in a virtualized environment, and a physical host (e.g., a host) or a virtual machine is additionally provided to provide the domain name resolution service.
A physical host or a virtual machine is additionally provided to provide the service of domain name resolution, and the physical host or the virtual machine needs to be connected to all virtual machines in the virtualization environment through a network so as to provide the service of domain name resolution for all virtual machines in the virtualization environment. However, providing domain name resolution services through this deployment approach is complex and inconvenient for use in a virtualized environment.
Disclosure of Invention
The purpose of this application lies in: a domain name resolution method and a domain name resolution system are provided, which simplify a deployment mode and improve convenience.
In a first aspect, the present application provides a domain name resolution method, which is applied to a host machine, where a virtual machine is deployed on the host machine, and the method includes:
when a source port number carried in a domain name resolution request message sent by the virtual machine is hit in a pre-configured port number set, the host machine intercepts the domain name resolution request message;
the host machine searches a target IP address corresponding to a target domain name carried in the domain name resolution request message in a preset corresponding relation between the domain name and the IP address;
and when the host machine finds the target IP address corresponding to the target domain name in the corresponding relation, the host machine returns the target IP address to the virtual machine.
In some possible implementations, the method further includes:
when the host machine finds a plurality of target IP addresses corresponding to the target domain name in the corresponding relation, the host machine returns a first target IP address in the target IP addresses to the virtual machine; the first target IP address is obtained by randomly determining among the plurality of target IP addresses.
In some possible implementations, the method further includes:
when the host machine searches for the target IP address corresponding to the target domain name in the corresponding relation again, the host machine returns a second target IP address to the virtual machine, wherein the second target IP address is the next target IP address of the first target IP address; wherein the plurality of destination IP addresses are arranged in advance in order.
In some possible implementations, the method further includes:
and when the host does not find the target IP address corresponding to the target domain name in the corresponding relation, the host forwards the domain name resolution request message to the target address carried by the domain name resolution request message.
In some possible implementations, the returning, by the host computer, the target IP address to the virtual machine includes:
and the host machine encapsulates the target IP address in a domain name resolution response message responding to the domain name resolution request message, and sends the domain name resolution response message to the virtual machine.
In some possible implementations, the correspondence is stored in the host and/or in a server separate from the host.
In a second aspect, the present application provides a domain name resolution system, including:
the intercepting module is used for intercepting a domain name resolution request message when a source port number carried in the domain name resolution request message sent by the virtual machine is hit in a preset port number set; wherein the virtual machine is deployed on a host machine;
the searching module is used for searching a target IP address corresponding to a target domain name carried in the domain name resolution request message in a preset corresponding relation between the domain name and the IP address;
and the feedback module is used for returning the target IP address to the virtual machine when the host machine finds the target IP address corresponding to the target domain name in the corresponding relation.
In some possible implementation manners, the feedback module is further configured to return a first target IP address of the multiple target IP addresses to the virtual machine when the host finds multiple target IP addresses corresponding to the target domain name in the corresponding relationship; the first target IP address is obtained by randomly determining among the plurality of target IP addresses.
In some possible implementation manners, the feedback module is further configured to, when the host searches for the target IP address corresponding to the target domain name again in the correspondence, the host returns a second target IP address to the virtual machine, where the second target IP address is a next target IP address of the first target IP address; wherein the plurality of destination IP addresses are arranged in advance in order.
In some possible implementation manners, the feedback module is specifically configured to encapsulate the target IP address in a domain name resolution response message that responds to the domain name resolution request message, and send the domain name resolution response message to the virtual machine.
In some possible implementation manners, the system further includes a forwarding module, where the forwarding module is configured to forward the domain name resolution request packet to a destination address carried in the domain name resolution request packet by the host when the host does not find a target IP address corresponding to the target domain name in the corresponding relationship.
In some possible implementations, the correspondence is stored in the host and/or in a server separate from the host.
In a third aspect, the present application provides an apparatus comprising a processor and a memory:
the memory is used for storing a computer program and transmitting the computer program to the processor;
the processor is configured to perform the method of any one of the above in accordance with instructions in the computer program.
In a fourth aspect, the present application provides a computer readable storage medium for storing a computer program for performing the method of any one of the above.
Compared with the prior art, the technical scheme of the application has the advantages that:
the application provides a domain name resolution method, which is applied to a host machine, wherein the host machine is provided with a virtual machine, and the method comprises the following steps: when a source port number carried in a domain name resolution request message sent by the virtual machine is hit in a pre-configured port number set, the host machine intercepts the domain name resolution request message; the host machine searches for a target IP address carried in the domain name resolution request message in a preset corresponding relation between the domain name and the IP address; and when the host machine finds the target IP address corresponding to the target domain name in the corresponding relation, the host machine returns the target IP address to the virtual machine. Therefore, by the method, a physical host or a virtual machine does not need to be additionally arranged to provide domain name resolution service. Therefore, by the method, the domain name resolution service can be provided through the host machine with the virtual machine, the complexity of the domain name resolution service is simplified, the convenience of the domain name resolution service is provided, and the domain name resolution service is convenient to use in a virtualization environment.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic diagram of an application scenario provided in an embodiment of the present application;
FIG. 2 is a schematic diagram of an instruction interaction provided by an embodiment of the present application;
fig. 3 is a flowchart of a domain name resolution method according to an embodiment of the present application;
fig. 4 is a schematic diagram of a domain name resolution system according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
First, technical terms related to the present application will be described.
The domain name resolution refers to resolving a domain name provided by a client to obtain an IP address corresponding to the domain name. Typically, domain name resolution may be accomplished by a domain name system server. In a virtualized environment, the use of domain name resolution services is also required. In order to use the domain name resolution service in the virtualized environment, an additional physical host or virtual machine is required, which increases the deployment cost, and the physical host or virtual machine providing the domain name resolution service is also required to be connected to all the virtual machines in the virtualized environment through a network, which increases the deployment difficulty. Therefore, the traditional deployment mode has high cost and poor convenience.
In view of this, an embodiment of the present application provides a domain name resolution method, which may be applied to a host machine, where a virtual machine is deployed. Specifically, the method comprises the following steps: when a source port number carried in a domain name resolution request message sent by a virtual machine is hit in a pre-configured port number set, a host machine intercepts the domain name resolution request message; the host machine searches a target IP address corresponding to a target domain name carried in a domain name resolution request message in a preset corresponding relation between the domain name and the IP address; and when the host machine finds the target IP address corresponding to the target domain name in the corresponding relation, the host machine returns the target IP address to the virtual machine. In the method, a physical host (such as a host) or a virtual machine does not need to be additionally deployed to provide the domain name resolution service, but the domain name resolution service is provided through the host where the virtual machine sending the domain name resolution request is located. Therefore, the method not only reduces the deployment cost, but also reduces the deployment difficulty.
For the convenience of understanding by those skilled in the art, an application scenario of the domain name resolution method provided in the embodiment of the present application is described below, please refer to fig. 1.
The controller 40 is connected to the host 10, the host 20, and the host 30 through a network, respectively. The host 10, the host 20, and the host 30 are all disposed with agent modules (for example, software programs or hardware devices). The host machine 10 is provided with a virtual machine 11, the host machine 20 is provided with a virtual machine 21, a virtual machine 22 and a virtual machine 23, and the host machine 30 is provided with a virtual machine 31.
The virtual machine 11, the virtual machine 21 and the virtual machine 22 are in the network1 together, the messages sent by the virtual machine 11, the virtual machine 21 and the virtual machine 22 have the same VLAN, and the IP addresses of the virtual machines are in the same network segment. Similarly, the virtual machine 23 and the virtual machine 31 are in the network 2 together, the messages sent by the virtual machine 23 and the virtual machine 31 have the same VLAN, and the IP addresses of the virtual machines are in the same network segment. Taking the virtual machine 11 as an example, the virtual machine 11 can connect to the network1 and communicate with the agent module through the created virtual port 11.
Referring to fig. 2, the controller 40 is configured to receive information configured in advance by a user, for example, a correspondence between a domain name and an IP address, for example, the controller 40 may be a terminal device such as a mobile phone, a notebook, or the like, and the user inputs the correspondence through the terminal device.
The controller 40, on one hand, may be configured to receive information preconfigured by a user, determine that the preconfigured information is used for a network, and then issue the information to the proxy module of the host in an instruction manner; on the other hand, the virtual machine 11 may be configured to automatically adjust the agent module to issue the instruction according to the port state change condition reported by the agent module, and if the controller may migrate the virtual machine 11 from the host 10 to the host 20 according to the condition reported by each agent, the instruction that the agent module of the host 10 is issued to the virtual port 1 needs to be automatically changed to the instruction that the agent module of the host 20 issues to the virtual port corresponding to the newly created virtual machine of the host 20.
The states of the virtual ports are mainly three types: creating, deleting and updating. The creation is that the port is created in the host machine and used by the virtual machine, and the corresponding virtual machine is started, the network card is added to the virtual machine, and the virtual machine migrates to the host machine and other scenes exist; deleting scenes such as shutdown of the corresponding virtual machine, migration of the virtual machine from the host machine and the like; and updating the corresponding virtual machine to update the network card configuration and other operations. The controller can judge the condition of the virtual machine according to the event of the port state reported by the agent module of the host machine and automatically issue a corresponding flow table. The service of domain name resolution can deal with the scenes of startup, shutdown, restart, migration and the like of the virtual machine.
In some embodiments, the correspondence between the domain name and the IP address configured by the user in advance may be as follows:
www.test_dns1.com,[192.168.1.1],network1;
www.test_dns2.com,[192.168.2.1],network1;
www.test_dns3.com,[192.168.3.1],network2;
the controller 40 may then store the user-configured correspondence in a database, which may be a server, for example. The controller 40 may also search all virtual machines, virtual ports, and hosts connected to the network according to the network in the information preconfigured by the user. Taking the network1 as an example, the virtual machines connected under the network1 include a virtual machine 11, a virtual machine 21, and a virtual machine 22, the virtual port numbers include a virtual port 11, a virtual port 21, and a virtual port 22, and the hosts include a host 10 and a host 20.
Taking "www.test _ dns2.com, [192.168.2.1], network 1" as an example, the controller 40 needs to issue commands to both the host 10 and the host 20, wherein the command 1 issued to the host 10 may include "< www.test _ dns2.com, [192.168.2.1], virtual port 11 >", and the command 2 issued to the host 20 may include "< www.test _ dns2.com, [192.168.2.1], [ virtual port 21, virtual port 22] >". For example, the controller 40 issues the instruction 1 to the proxy module of the host 10, and issues the instruction 2 to the proxy module of the host 20. Next, the proxy module of the host 10 may also store the corresponding relationship between the domain name and the IP address included in the instruction 1 in the host 10, and similarly, the proxy module of the host 20 may also store the corresponding relationship between the domain name and the IP address included in the instruction 2 in the host 20.
Taking the agent module on the host 10 as an example, when the agent module receives the instruction 1 sent by the controller, the agent module may issue a flow table to the network1 to intercept domain name resolution request messages sent by the virtual machine 11, the virtual machine 21, and the virtual machine 22 in the network 1. In some embodiments, the virtual machine 11 may send a domain name resolution request through the virtual port 1, and when a source port number (for example, the source port number may be the virtual port 1) carried in a domain name resolution request message sent by the virtual machine 11 hits in a preconfigured port number set, the proxy module intercepts the domain name resolution request message.
Next, the proxy module searches for a target IP address corresponding to the target domain name carried in the domain name resolution request packet in a pre-stored correspondence between the domain name and the IP address (stored in the server or stored in the host 10). When the agent module finds the target IP address corresponding to the target domain name in the correspondence, the agent module directly returns the found target IP address to the virtual machine 11.
In some possible implementations, the proxy module may encapsulate the target IP address in a domain name resolution response message of the domain name resolution request message, and then send the domain name resolution response message to the virtual machine 11.
In some possible implementation manners, when the agent module finds a plurality of target IP addresses corresponding to the target domain name in the correspondence, the agent module returns a first target IP address of the plurality of target IP addresses to the virtual machine; the first destination IP address may be determined randomly among a plurality of destination IP addresses. For example, the proxy module may calculate a number by a hash algorithm according to the destination IP address in the domain name resolution request message, and determine the first destination IP address from a table composed of a plurality of destination IP addresses according to the data.
For example, a table of a plurality of destination IP addresses is shown in table 1 below:
table 1:
serial number Destination IP address
1 [192.168.1.1]
2 [192.168.7.1]
3 [192.168.8.1]
4 [192.168.9.1]
5 [192.168.6.1]
Wherein, when the number calculated by the hash algorithm is "4", the first target IP address is [192.168.9.1 ]. The proxy module then sends the first target IP address to the virtual machine 11.
In some possible implementation manners, when the proxy module searches the target IP address corresponding to the target domain name in the corresponding relationship again, a second target IP address is returned to the virtual machine, wherein the second target IP address is a next target IP address of the first target IP address; wherein, a plurality of target IP addresses are arranged in advance according to the sequence. As shown in table 1 above, the second destination IP address may be the destination IP address corresponding to the sequence number "5" (192.168.6.1). Therefore, the server load corresponding to the target IP address of the service for providing domain name resolution is more balanced.
In order to make the technical solution of the present application clearer and easier to understand, the domain name resolution method provided in the embodiment of the present application is described below from the perspective of the host 10.
Referring to fig. 3, this figure is a flowchart of a domain name resolution method provided in an embodiment of the present application. The method can be applied to a host 10, where the host 10 is deployed with a virtual machine 11, as shown in fig. 3, and the method includes:
s301: and when a source port number carried in a domain name resolution request message sent by the virtual machine is hit in a preset port number set, the host machine intercepts the domain name resolution request message.
S302: and the host machine searches a target IP address corresponding to the target domain name carried in the domain name resolution request message in a preset corresponding relation between the domain name and the IP address.
S303: and when the host machine finds the target IP address corresponding to the target domain name in the corresponding relation, the host machine returns the target IP address to the virtual machine.
In some embodiments, the method further comprises: when the host machine finds a plurality of target IP addresses corresponding to the target domain name in the corresponding relation, the host machine returns a first target IP address in the target IP addresses to the virtual machine; the first target IP address is obtained by randomly determining among the plurality of target IP addresses.
In some embodiments, when the host searches for the target IP address corresponding to the target domain name in the correspondence again, the host returns a second target IP address to the virtual machine, where the second target IP address is a next target IP address of the first target IP address; wherein the plurality of destination IP addresses are arranged in advance in order.
In some embodiments, the method further comprises: and when the host does not find the target IP address corresponding to the target domain name in the corresponding relation, the host forwards the domain name resolution request message to the target address carried by the domain name resolution request message.
In some embodiments, the host returning the target IP address to the virtual machine includes: and the host machine encapsulates the target IP address in a domain name resolution response message responding to the domain name resolution request message, and sends the domain name resolution response message to the virtual machine.
In some embodiments, the correspondence is stored in the host and/or in a server separate from the host.
It should be noted that the above method is only described in terms of the host 10, and is also applicable to the host 20 and the host 30.
Based on the above description, an embodiment of the present application provides a domain name resolution method, which is applied to a host machine, where a virtual machine is deployed on the host machine, and the method includes: when a source port number carried in a domain name resolution request message sent by the virtual machine is hit in a pre-configured port number set, the host machine intercepts the domain name resolution request message; the host machine searches for a target IP address carried in the domain name resolution request message in a preset corresponding relation between the domain name and the IP address; and when the host machine finds the target IP address corresponding to the target domain name in the corresponding relation, the host machine returns the target IP address to the virtual machine. Therefore, by the method, a physical host or a virtual machine does not need to be additionally arranged to provide domain name resolution service. Therefore, by the method, the domain name resolution service can be provided through the host machine with the virtual machine, the complexity of the domain name resolution service is simplified, the convenience of the domain name resolution service is provided, and the domain name resolution service is convenient to use in a virtualization environment.
Referring to fig. 4, this figure is a schematic diagram of a domain name resolution system according to an embodiment of the present application. As shown in fig. 4, the system includes:
an intercepting module 401, configured to intercept a domain name resolution request packet sent by a virtual machine when a source port number carried in the domain name resolution request packet hits in a preconfigured port number set; wherein the virtual machine is deployed on a host machine;
a searching module 402, configured to search, in a pre-configured correspondence between a domain name and an IP address, a target IP address corresponding to a target domain name carried in the domain name resolution request packet;
a feedback module 403, configured to return the target IP address to the virtual machine when the host finds the target IP address corresponding to the target domain name in the corresponding relationship.
In some possible implementation manners, the feedback module 403 is further configured to return a first target IP address of the multiple target IP addresses to the virtual machine when the host finds multiple target IP addresses corresponding to the target domain name in the corresponding relationship; the first target IP address is obtained by randomly determining among the plurality of target IP addresses.
In some possible implementation manners, the feedback module 403 is further configured to, when the host searches for the target IP address corresponding to the target domain name again in the corresponding relationship, the host returns a second target IP address to the virtual machine, where the second target IP address is a next target IP address of the first target IP address; wherein the plurality of destination IP addresses are arranged in advance in order.
In some possible implementation manners, the feedback module 403 is specifically configured to encapsulate the target IP address in a domain name resolution response message that responds to the domain name resolution request message, and send the domain name resolution response message to the virtual machine.
In some possible implementation manners, the system further includes a forwarding module 404, where the forwarding module 404 is configured to forward the domain name resolution request packet to a destination address carried in the domain name resolution request packet by the host when the host does not find a target IP address corresponding to the target domain name in the corresponding relationship.
In some possible implementations, the correspondence is stored in the host and/or in a server separate from the host.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for system embodiments, since they are substantially similar to method embodiments, they are described in a relatively simple manner, and reference may be made to some descriptions of method embodiments for relevant points. The above-described system embodiments are merely illustrative, and the units and modules described as separate components may or may not be physically separate. In addition, some or all of the units and modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
The foregoing is directed to embodiments of the present application and it is noted that numerous modifications and adaptations may be made by those skilled in the art without departing from the principles of the present application and are intended to be within the scope of the present application.

Claims (10)

1. A domain name resolution method is applied to a host machine, wherein the host machine is provided with a virtual machine, and the method comprises the following steps:
when a source port number carried in a domain name resolution request message sent by the virtual machine is hit in a pre-configured port number set, the host machine intercepts the domain name resolution request message;
the host machine searches a target IP address corresponding to a target domain name carried in the domain name resolution request message in a preset corresponding relation between the domain name and the IP address;
and when the host machine finds the target IP address corresponding to the target domain name in the corresponding relation, the host machine returns the target IP address to the virtual machine.
2. The method of claim 1, further comprising:
when the host machine finds a plurality of target IP addresses corresponding to the target domain name in the corresponding relation, the host machine returns a first target IP address in the target IP addresses to the virtual machine; the first target IP address is obtained by randomly determining among the plurality of target IP addresses.
3. The method of claim 2, further comprising:
when the host machine searches for the target IP address corresponding to the target domain name in the corresponding relation again, the host machine returns a second target IP address to the virtual machine, wherein the second target IP address is the next target IP address of the first target IP address; wherein the plurality of destination IP addresses are arranged in advance in order.
4. The method of claim 1, further comprising:
and when the host does not find the target IP address corresponding to the target domain name in the corresponding relation, the host forwards the domain name resolution request message to the target address carried by the domain name resolution request message.
5. The method of claim 1, wherein the host machine returning the target IP address to the virtual machine comprises:
and the host machine encapsulates the target IP address in a domain name resolution response message responding to the domain name resolution request message, and sends the domain name resolution response message to the virtual machine.
6. Method according to any of claims 1-5, wherein said correspondence is stored in said host and/or in a server independent from said host.
7. A domain name resolution system, comprising:
the intercepting module is used for intercepting a domain name resolution request message when a source port number carried in the domain name resolution request message sent by the virtual machine is hit in a preset port number set; wherein the virtual machine is deployed on a host machine;
the searching module is used for searching a target IP address corresponding to a target domain name carried in the domain name resolution request message in a preset corresponding relation between the domain name and the IP address;
and the feedback module is used for returning the target IP address to the virtual machine when the host machine finds the target IP address corresponding to the target domain name in the corresponding relation.
8. The system according to claim 7, wherein the feedback module is further configured to return a first target IP address of the target IP addresses to the virtual machine when the host finds a plurality of target IP addresses corresponding to the target domain name in the correspondence; the first target IP address is obtained by randomly determining among the plurality of target IP addresses.
9. The system according to claim 8, wherein the feedback module is further configured to, when the host searches for the target IP address corresponding to the target domain name again in the correspondence, the host returns a second target IP address to the virtual machine, where the second target IP address is a next target IP address of the first target IP address; wherein the plurality of destination IP addresses are arranged in advance in order.
10. The system according to claim 1, wherein the feedback module is specifically configured to encapsulate the target IP address in a domain name resolution response packet that responds to the domain name resolution request packet, and send the domain name resolution response packet to the virtual machine.
CN202110872789.XA 2021-07-30 2021-07-30 Domain name resolution method and system Pending CN113766044A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110872789.XA CN113766044A (en) 2021-07-30 2021-07-30 Domain name resolution method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110872789.XA CN113766044A (en) 2021-07-30 2021-07-30 Domain name resolution method and system

Publications (1)

Publication Number Publication Date
CN113766044A true CN113766044A (en) 2021-12-07

Family

ID=78788296

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110872789.XA Pending CN113766044A (en) 2021-07-30 2021-07-30 Domain name resolution method and system

Country Status (1)

Country Link
CN (1) CN113766044A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190158459A1 (en) * 2017-11-21 2019-05-23 Vmware, Inc. Virtual distributed domain name server
US20190173888A1 (en) * 2016-08-09 2019-06-06 Huawei Technologies Co., Ltd. Method for virtual machine to access physical server in cloud computing system, apparatus, and system
CN112291384A (en) * 2020-10-28 2021-01-29 北京天融信网络安全技术有限公司 Information processing method for domain name resolution and electronic equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190173888A1 (en) * 2016-08-09 2019-06-06 Huawei Technologies Co., Ltd. Method for virtual machine to access physical server in cloud computing system, apparatus, and system
US20190158459A1 (en) * 2017-11-21 2019-05-23 Vmware, Inc. Virtual distributed domain name server
CN112291384A (en) * 2020-10-28 2021-01-29 北京天融信网络安全技术有限公司 Information processing method for domain name resolution and electronic equipment

Similar Documents

Publication Publication Date Title
US11659441B2 (en) Load balance method and apparatus thereof
US11003480B2 (en) Container deployment method, communication method between services, and related apparatus
US11265368B2 (en) Load balancing method, apparatus, and system
EP3316532B1 (en) Computer device, system and method for implementing load balancing
US9935920B2 (en) Virtualization gateway between virtualized and non-virtualized networks
US8769040B2 (en) Service providing system, a virtual machine server, a service providing method, and a program thereof
US20070101323A1 (en) Automatic virtual machine adjustments to network changes
KR101857511B1 (en) Method and apparatus for determining virtual machine migration
CN107317832B (en) Message forwarding method and device
CN109981493B (en) Method and device for configuring virtual machine network
CN108881066B (en) Routing request method, access server and storage device
CN110855488B (en) Virtual machine access method and device
US9485140B2 (en) Automatic proxy setting modification
CN109936641B (en) Domain name resolution method, virtual switch and distributed DNS system
CN111654559B (en) Container data transmission method and device
CN110943962B (en) Authentication method, network equipment, authentication server and forwarding equipment
US10924397B2 (en) Multi-VRF and multi-service insertion on edge gateway virtual machines
CN113766044A (en) Domain name resolution method and system
CN114172853B (en) Configuration method and device of traffic forwarding and bare computer server
CN113691389A (en) Configuration method of load balancer, server and storage medium
US10931565B2 (en) Multi-VRF and multi-service insertion on edge gateway virtual machines
CN111314497A (en) Method and system for simultaneously supporting multiple NAT types to take effect
KR102481623B1 (en) address management method and system for applications in LISP-based distributed container virtualization environment
CN116155890B (en) Method and device for realizing distributed file system
CN111641724B (en) Application method of LVS load balancer in cloud

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