Method and related device for domain name resolution

A technology for domain name resolution and domain name resolution request, applied in the domain name resolution field, which can solve the problems of heavy workload of host files and inability to customize domain name resolution, etc.

CN109587290BActive Publication Date: 2022-06-28PING AN TECH (SHENZHEN) CO LTD
8 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Publication Date
2022-06-28

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention relates to the field of domain name resolution, and provides a domain name resolution method and a related device. A method for domain name resolution includes: when a cloud host initiates a domain name resolution request, the virtual private cloud gateway receives a first domain name resolution request message sent by the cloud host, wherein the first domain name resolution request message carries a domain name that the cloud host requests to access; The virtual private cloud gateway searches the domain name resolution flow table data in the centralized controller to see if there is a first domain name that matches the domain name requested by the cloud host; Obtain the first IP address corresponding to the first domain name from the parsing flow table data; the virtual private cloud gateway sends the first domain name resolution response message to the cloud host, wherein the first domain name resolution response message carries the first IP address. The technical solution of the embodiment of the present invention can flexibly customize the domain name resolution of the cloud host in the virtual private cloud.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The present invention relates to the field of domain name resolution, in particular to a method and related device for domain name resolution. Background technique

[0002] With the continuous maturity of virtualization and cloud computing technologies, more and more cloud computing vendors have begun to provide virtual private cloud services. At present, the domain name resolution solutions of cloud computing vendors all use centralized domain name resolution. of cloud hosts share a centralized domain name resolution server.

[0003] When you need to customize the domain name resolution of the cloud host in the virtual private cloud, you need to configure the domain name and the IP address corresponding to the domain name in the host file of the cloud host. The domain name matching the domain name requested by the host, if there is a domain name matching the domain name requested by the cloud host, the IP address corresponding to the domain name is o...

Examples

Embodiment Construction

[0027] Embodiments of the present invention provide a method and a related device for domain name resolution, so as to flexibly perform custom domain name resolution on a cloud host in a virtual private cloud.

[0028] In order to make those skilled in the art better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only Embodiments are part of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0029] Each of them will be described in detail below.

[0030] The terms "first", "second", "third", "fourth" and the like in the desc...