# US 2023/0275873 A1 · System and method for leak prevention for domain name system requests

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

- Number: US 2023/0275873 A1
- Document ID: US20230275873A1
- Status: Published application
- Kind: A1
- Application number: 18/315,184
- Filed: 2023-05-10
- Published: 2023-08-31
- Earliest claimed: 2020-06-10
- Assignees: Webroot Inc.
- Applicants: Webroot Inc.
- Inventors: Jonathan Alexander Thorold Barnett
- Web page: https://patentgrep.com/patent/US20230275873A1

## CPC

- H04L 63/0236: {Filtering by address, protocol, port number or service, e.g. IP-address or URL}
- H04L 61/4511: using domain name system [DNS]
- H04L 63/10: {for controlling access to devices or network resources}
- H04L 63/101: {Access control lists [ACL]}
- H04L 63/20: {for managing network security; network security policies in general (filtering policies H04L63/0227)}
- H04L 67/60: Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources (admission control or resource allocation H04L47/70)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Embodiments of systems and methods for DNS leak prevention and protection are disclosed herein. In particular, certain embodiments include a local DNS protection agent installed on a system and an associated trusted external DNS protection server. The DNS protection agent prevents DNS leaks from applications on the system such that all DNS requests from the system are confined to requests from the DNS protection agent to the associated DNS protection server. As the DNS leak prevention provided by the DNS protection agent stops applications on the system from circumventing the DNS protection server, all DNS requests originating from the system remain under the control of the DNS protection server and thus desired DNS protection (e.g., as implemented on the DNS protection server) may be maintained. Certain embodiments prevent applications from using certain DNS security protocols, such as DoH and DoT, without going through the DNS protection agent.

## Claims

### Claim 1

A method for DNS resolution, the method comprising:
configuring an operating system at a client device in association with a DNS protection agent installed locally at the client device;
detecting, by the DNS protection agent at a port of the client device associated with a DNS security protocol, a first DNS request generated by an application executing on the client device, the first DNS request designating an Internet resource and associated with a DNS resolver;
filtering, using the DNS protection agent, the first DNS request associated with the DNS resolver;
receiving, at the DNS protection agent, a second DNS request from the application, wherein the second DNS request was directed to the DNS protection agent according to the configuration of the operating system at the client device;
sending, using the DNS protection agent, the redirected DNS request to the DNS protection server to resolve the Internet address;
receiving a response from the DNS protection server at the DNS protection agent; and
forwarding the response to the application on the client device.

### Claim 2 (depends on 1)

The method of claim 1, wherein the response from the DNS protection server comprises either an Internet address for the Internet resource or a denial message.

### Claim 3 (depends on 2)

The method of claim 2, wherein filtering comprises blocking the first DNS request.

### Claim 4 (depends on 1)

The method of claim 1, wherein filtering the first DNS request comprises:
comparing a DNS resolver address associated with the first DNS request with a DNS resolver database of DNS resolvers at the DNS protection agent; and
blocking the first DNS request when the DNS resolver address is in the DNS resolver database.

### Claim 5 (depends on 4)

The method of claim 4, wherein the port is port 443.

### Claim 6 (depends on 4)

The method of claim 4, wherein the first DNS request is a Secure Socket Layer (SSL) request.

### Claim 7 (depends on 4)

The method of claim 4, further comprising communicating, by the DNS protection agent, with the DNS protection server to update the DNS resolver database.

### Claim 8

A system for DNS resolution, comprising:
a processor;
a non-transitory computer readable medium, comprising instructions for:
configuring an operating system at a client device in association with a DNS protection agent installed locally at the client device;
detecting, by the DNS protection agent at a port of the client device associated with a DNS security protocol, a first DNS request generated by an application executing on the client device, the first DNS request designating an Internet resource and associated with a DNS resolver;
filtering, using the DNS protection agent, the first DNS request associated with the DNS resolver;
receiving, at the DNS protection agent, a second DNS request from the application, wherein the second DNS request was directed to the DNS protection agent according to the configuration of the operating system at the client device;
sending, using the DNS protection agent, the redirected DNS request to the DNS protection server to resolve the Internet address;
receiving a response from the DNS protection server at the DNS protection agent; and
forwarding the response to the application on the client device.

### Claim 9 (depends on 8)

The system of claim 8, wherein the response from the DNS protection server comprises either an Internet address for the Internet resource or a denial message.

### Claim 10 (depends on 9)

The system of claim 9, wherein filtering comprises blocking the first DNS request.

### Claim 11 (depends on 8)

The system of claim 8, wherein filtering the first DNS request comprises:
comparing a DNS resolver address associated with the first DNS request with a DNS resolver database of DNS resolvers at the DNS protection agent; and
blocking the first DNS request when the DNS resolver address is in the DNS resolver database.

### Claim 12 (depends on 11)

The system of claim 11, wherein the port is port 443.

### Claim 13 (depends on 11)

The system of claim 11, wherein the first DNS request is a Secure Socket Layer (SSL) request.

### Claim 14 (depends on 11)

The system of claim 11, wherein the instructions are further for communicating, by the DNS protection agent, with the DNS protection server to update the DNS resolver database.

### Claim 15

A non-transitory computer readable medium, comprising instructions executable for:
configuring an operating system at a client device in association with a DNS protection agent installed locally at the client device;
detecting, by the DNS protection agent at a port of the client device associated with a DNS security protocol, a first DNS request generated by an application executing on the client device, the first DNS request designating an Internet resource and associated with a DNS resolver;
filtering, using the DNS protection agent, the first DNS request associated with the DNS resolver;
receiving, at the DNS protection agent, a second DNS request from the application, wherein the second DNS request was directed to the DNS protection agent according to the configuration of the operating system at the client device;
sending, using the DNS protection agent, the redirected DNS request to the DNS protection server to resolve the Internet address;
receiving a response from the DNS protection server at the DNS protection agent; and
forwarding the response to the application on the client device.

### Claim 16 (depends on 15)

The non-transitory computer readable medium of claim 15, wherein the response from the DNS protection server comprises either an Internet address for the Internet resource or a denial message.

### Claim 17 (depends on 16)

The non-transitory computer readable medium of claim 16, wherein filtering comprises blocking the first DNS request.

### Claim 18 (depends on 15)

The non-transitory computer readable medium of claim 15, wherein filtering the first DNS request comprises:
comparing a DNS resolver address associated with the first DNS request with a DNS resolver database of DNS resolvers at the DNS protection agent; and
blocking the first DNS request when the DNS resolver address is in the DNS resolver database.

### Claim 19 (depends on 18)

The non-transitory computer readable medium of claim 18, wherein the port is port 443.

### Claim 20 (depends on 18)

The non-transitory computer readable medium of claim 18, wherein the first DNS request is a Secure Socket Layer (SSL) request.

### Claim 21 (depends on 18)

The non-transitory computer readable medium of claim 18, wherein the instructions are further for communicating, by the DNS protection agent, with the DNS protection server to update the DNS resolver database.
