AdguardTeam / AdguardTeam/AdGuardHome

Return different DNS records based on subnet.

Open
#7,665 1 comment 8 reactions 0 assignees View on GitHub
feature request
Dominant language
TypeScript
Stars
36.9k
Forks
2.5k
PR merge metrics
No merged PRs in 30d

Description

### Prerequisites

- [x] I have checked the [Wiki](https://github.com/AdguardTeam/AdGuardHome/wiki) and [Discussions](https://github.com/AdguardTeam/AdGuardHome/discussions) and found no answer

- [x] I have searched other issues and found no duplicates

- [x] I want to request a feature or enhancement and not ask a question

### The problem

A DNS server must provide different IP addresses for the same domain based on whether the request originates from a LAN or a VPN.

### Proposed solution

Implement split-horizon DNS or configure conditional DNS rules that detect the request source and respond with the appropriate IP address for LAN and VPN clients.

https://en.wikipedia.org/wiki/Split-horizon_DNS

### Alternatives considered and additional information

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.