# US 11,601,393 B1 · Microservice visibility and control

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 11,601,393 B1
- Document ID: US11601393B1
- Status: Granted
- Kind: B1
- Application number: 17/493,099
- Filed: 2021-10-04
- Granted: 2023-03-07
- Earliest claimed: 2021-10-04
- Assignees: Cisco Technology, Inc.
- Applicants: Cisco Technology, Inc.
- Inventors: Thomas Szigeti; David John Zacks; Akram Ismail Sheriff; Guy Keinan; Walter T. Hulick, Jr.
- Web page: https://patentgrep.com/patent/US11601393B1

## CPC

- H04L 61/4511: using domain name system [DNS]
- H04L 61/4541: Directories for service discovery
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Methods are provided in which a domain name system (DNS) service obtains a lookup request for information about a source of a traffic flow being transmitted to a network resource external of a service cluster and performs, based on the lookup request, a lookup operation for a microservice that is the source of the traffic flow, among a plurality of microservices of the service cluster registered with the DNS service. The methods further include providing information about the microservice based on the lookup operation. The information includes at least a name of the microservice for visibility of the microservice external of the service cluster.

## Claims

### Claim 1

A computer-implemented method comprising:
obtaining, by a domain name system (DNS) service, a lookup request for information about a source of a traffic flow being transmitted to a network resource external of a service cluster;
performing, based on the lookup request, a lookup operation for a microservice that is the source of the traffic flow, among a plurality of microservices of the service cluster registered with the DNS service; and
providing information about the microservice based on the lookup operation, the information including at least a name of the microservice for visibility of the microservice external of the service cluster.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein the information further includes metadata about the microservice for applying a network policy specific to the microservice or for gathering telemetry data about the microservice.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein performing the lookup operation includes:
obtaining a DNS entry for the microservice that matches a source address in the lookup request, the DNS entry including a textual record that identifies the microservice and one or more functions of the microservice.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, further comprising:
obtaining, by the DNS service from a point of delivery that hosts the microservice, a registration request that includes an annotation describing the microservice; and
generating a DNS entry including at least an address of the microservice, the name of the microservice, and metadata about the microservice obtained from the annotation.

### Claim 5 (depends on 4)

The computer-implemented method of claim 4, wherein the annotation is in a structured form based on a common naming schema, and further comprising:
parsing the annotation to extract the information about the microservice for generating the metadata of the DNS entry.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, wherein the lookup request includes an address of the source of the traffic flow, and performing the lookup operation for the microservice includes:
performing a reverse DNS lookup for the name of the microservice that matches the address of the source.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, wherein the lookup request includes a source address of the traffic flow based on a DNS domain of the traffic flow obtained from the network resource, and performing the lookup operation for the microservice includes:
performing a direct DNS lookup for an address of the microservice and the information about the microservice that matches the source address of the lookup request.

### Claim 8

An apparatus comprising:
a memory;
a network interface configured to enable network communications; and
a processor, wherein the processor is configured to perform operations comprising:
obtaining a lookup request for information about a source of a traffic flow being transmitted to a network resource external of a service cluster;
performing, based on the lookup request, a lookup operation for a microservice that is the source of the traffic flow, among a plurality of microservices of the service cluster registered with the apparatus providing a domain name system (DNS) service; and
providing information about the microservice based on the lookup operation, the information including at least a name of the microservice for visibility of the microservice external of the service cluster.

### Claim 9 (depends on 8)

The apparatus of claim 8, wherein the information further includes metadata about the microservice for applying a network policy specific to the microservice or for gathering telemetry data about the microservice.

### Claim 10 (depends on 8)

The apparatus of claim 8, wherein the processor is configured to perform the lookup operation by:
obtaining a DNS entry for the microservice that matches a source address in the lookup request, the DNS entry including a textual record that identifies the microservice and one or more functions of the microservice.

### Claim 11 (depends on 8)

The apparatus of claim 8, wherein the processor is further configured to perform additional operations comprising:
obtaining, from a point of delivery that hosts the microservice, a registration request that includes an annotation describing the microservice; and
generating a DNS entry including at least an address of the microservice, the name of the microservice, and metadata about the microservice obtained from the annotation.

### Claim 12 (depends on 11)

The apparatus of claim 11, wherein the annotation is in a structured form based on a common naming schema and the processor is further configured to perform an additional operation comprising:
parsing the annotation to extract the information about the microservice for generating the metadata of the DNS entry.

### Claim 13 (depends on 8)

The apparatus of claim 8, wherein the lookup request includes an address of the source of the traffic flow, and the processor is configured to perform the lookup operation for the microservice by:
performing a reverse DNS lookup for the name of the microservice that matches the address of the source.

### Claim 14 (depends on 8)

The apparatus of claim 8, wherein the lookup request includes a source address of the traffic flow based on a DNS domain of the traffic flow obtained from the network resource, and the processor is configured to perform the lookup operation for the microservice by:
performing a direct DNS lookup for an address of the microservice and the information about the microservice that matches the source address of the lookup request.

### Claim 15

One or more non-transitory computer readable storage media encoded with instructions that, when executed by a processor, cause the processor to execute a method comprising:
obtaining a lookup request for information about a source of a traffic flow being transmitted to a network resource external of a service cluster;
performing, based on the lookup request, a lookup operation for a microservice that is the source of the traffic flow, among a plurality of microservices of the service cluster registered with a domain name system (DNS) service; and
providing information about the microservice based on the lookup operation, the information including at least a name of the microservice for visibility of the microservice external of the service cluster.

### Claim 16 (depends on 15)

The one or more non-transitory computer readable storage media of claim 15, wherein the information further includes metadata about the microservice for applying a network policy specific to the microservice or for gathering telemetry data about the microservice.

### Claim 17 (depends on 15)

The one or more non-transitory computer readable storage media of claim 15, wherein performing the lookup operation includes:
obtaining a DNS entry for the microservice that matches a source address in the lookup request, the DNS entry including a textual record that identifies the microservice and one or more functions of the microservice.

### Claim 18 (depends on 15)

The one or more non-transitory computer readable storage media of claim 15, wherein the method further comprises:
obtaining, from a point of delivery that hosts the microservice, a registration request that includes an annotation describing the microservice; and
generating a DNS entry including at least an address of the microservice, the name of the microservice, and metadata about the microservice obtained from the annotation.

### Claim 19 (depends on 18)

The one or more non-transitory computer readable storage media of claim 18, wherein the annotation is in a structured form based on a common naming schema, and the method further comprises:
parsing the annotation to extract the information about the microservice for generating the metadata of the DNS entry.

### Claim 20 (depends on 15)

The one or more non-transitory computer readable storage media of claim 15, wherein the lookup request includes an address of the source of the traffic flow, and performing the lookup operation for the microservice includes:
performing a reverse DNS lookup for the name of the microservice that matches the address of the source.
