# US 2021/0176167 A1 · System and method for canary deployment using dns srv records

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

- Number: US 2021/0176167 A1
- Document ID: US20210176167A1
- Status: Published application
- Kind: A1
- Application number: 16/703,927
- Filed: 2019-12-05
- Published: 2021-06-10
- Earliest claimed: 2019-12-05
- Assignees: Citrix Systems, Inc.
- Applicants: Citrix Systems, Inc.
- Inventors: Vinay Shivananda; Raghav S. N; Aman Chaudhary; Bhavana Shobhana
- Web page: https://patentgrep.com/patent/US20210176167A1

## CPC

- H04L 45/3065: {for real time traffic}
- H04L 45/42: Centralised routing
- H04L 45/72: {Routing based on the source address}
- H04L 61/4511: using domain name system [DNS]
- H04L 61/4541: Directories for service discovery
- H04L 67/02: based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L 67/51: Discovery or management thereof, e.g. service location protocol [SLP] or web services
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Described embodiments provide systems and methods for routing client requests. A device may be arranged intermediary to a plurality of clients and a domain name system (DNS) controller. The device may generate a query for the DNS controller. The query may correspond to a service to be accessed by the clients. The device may receive, from the DNS controller, a response to the query. The response may include a value used by the device to route respective client requests for accessing the service to a corresponding version of a plurality of versions of the service. The device may receive, from a client, a client request for accessing the service. The device may route the client request to one of the versions of the service according to the value included in the response to manage traffic between various versions of the service.

## Claims

### Claim 1

A method, comprising:
generating, by a device intermediary to a plurality of clients and a domain name system (DNS) controller, a query for the DNS controller, the query corresponding to a service to be accessed by a plurality of clients;
receiving, by the device from the DNS controller, a response to the query, the response including a value used by the device to route respective client requests for accessing the service to a corresponding version of a plurality of versions of the service;
receiving, by the device from a client of the plurality of clients, a client request for accessing the service; and
routing, by the device, the client request to one of the plurality of versions of the service according to the value included in the response to manage traffic between a first version and a second version of the plurality of versions of the service.

### Claim 2 (depends on 1)

The method of claim 1, wherein the response includes a first priority of the first version of the plurality of versions and a second priority of the second version of the plurality of versions.

### Claim 3 (depends on 2)

The method of claim 2, wherein the device routes each of the client requests for accessing the service to one of the first version or the second version based on at least one of the first priority of the first version or the second priority of the second version.

### Claim 4 (depends on 1)

The method of claim 1, wherein the response includes a first weight of the first version of the plurality of versions and a second weight of the second version of the plurality of versions.

### Claim 5 (depends on 4)

The method of claim 4, wherein the device routes a first portion of the client requests to the first version and a second portion of the plurality of client requests to the second version based on at least one of the first weight or the second weight.

### Claim 6 (depends on 5)

The method of claim 5, further comprising:
receiving, by the device from the DNS controller, an update to the first weight based on one or more monitored conditions of the first version or the second version; and
routing, by the device, a second plurality of client requests for accessing the service based on the received update to the first weight.

### Claim 7 (depends on 6)

The method of claim 6, wherein the device routes the second plurality of client requests for accessing the service, to increase traffic routed to the second version based on the received update to the first weight.

### Claim 8 (depends on 1)

The method of claim 1, wherein the response is a first response, the value is a first value and further comprising:
monitoring, by the device, one or more conditions of one of the plurality of versions; and
transmitting, by the device, the monitored one or more conditions to the DNS controller, the DNS controller configured to transmit a second response including a second value based on the monitored one or more conditions.

### Claim 9 (depends on 1)

The method of claim 1, wherein the response includes a target domain, a port, a priority, and a weight, and wherein the value is at least one of the priority or the weight.

### Claim 10 (depends on 1)

The method of claim 1, wherein the query is a service (SRV) query for the DNS controller, and wherein the response is an SRV response from the DNS controller.

### Claim 11

A system, comprising:
a device intermediary to a plurality of clients and a domain name system (DNS) controller, the device configured to:
generate a query for the DNS controller, the query corresponding to a service to be accessed by a plurality of clients;
receive, from the DNS controller, a response to the query, the response including a value used by the device to route respective client requests for accessing the service to a corresponding version of a plurality of versions of the service;
receive, from a client of the plurality of clients, a client request for accessing the service; and
route the client request to one of the plurality of versions of the service according to the value included in the response to manage traffic between a first version and a second version of the plurality of versions of the service.

### Claim 12 (depends on 11)

The system of claim 11, wherein the response includes a first priority of the first version of the plurality of versions and a second priority of the second version of the plurality of versions.

### Claim 13 (depends on 12)

The system of claim 12, wherein the device routes each of the client requests for accessing the service to one of the first version or the second version based on at least one of the first priority of the first version or the second priority of the second version.

### Claim 14 (depends on 11)

The system of claim 11, wherein the response includes a first weight of the first version of the plurality of versions and a second weight of the second version of the plurality of versions.

### Claim 15 (depends on 14)

The system of claim 14, wherein the device routes a first portion of the client requests to the first version and a second portion of the plurality of client requests to the second version based on at least one of the first weight or the second weight.

### Claim 16 (depends on 15)

The system of claim 15, wherein the device is further configured to:
receive, from the DNS controller, an update to the first weight based on one or more monitored conditions of the first version or the second version; and
route a second plurality of client requests for accessing the service based on the received update to the first weight.

### Claim 17 (depends on 16)

The system of claim 16, wherein the device routes the second plurality of client requests for accessing the service, to increase traffic routed to the second version based on the received update to the first weight.

### Claim 18 (depends on 11)

The system of claim 11, wherein the response is a first response, the value is a first value and wherein the device is further configured to:
monitor one or more conditions of one of the plurality of versions; and
transmit the monitored one or more conditions to the DNS controller, the DNS controller configured to transmit a second response including a second value based on the monitored one or more conditions.

### Claim 19 (depends on 11)

The system of claim 11, wherein the response includes a target domain, a port, a priority, and a weight, and wherein the value is at least one of the priority or the weight.

### Claim 20 (depends on 11)

The system of claim 11, wherein the query is a service (SRV) query for the DNS controller, and wherein the response is an SRV response from the DNS controller.
