# nextdns/nextdns

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/nextdns-nextdns).**

_How this analysis was created: the description and tags below were written by an AI model that read this project's README and public documentation pages; stars, license and language come straight from the GitHub API. The model does not read the source code._

4,072 stars · 241 forks · Go · MIT

## Links

- GitHub: https://github.com/nextdns/nextdns
- Homepage: https://nextdns.io
- awesome-repositories: https://awesome-repositories.com/repository/nextdns-nextdns.md

## Topics

`dns` `dns-over-https`

## Description

NextDNS is a network DNS client and proxy that functions as a local resolver, forwarder, and DNS-over-HTTPS proxy. Its primary purpose is to route local name resolution requests to external providers using encrypted HTTPS traffic to improve privacy and bypass network restrictions.

The service distinguishes itself by embedding client identity metadata—collected via mDNS or DHCP—into outgoing queries, allowing for per-device tracking and the application of unique filtering profiles. It features advanced routing logic, including split-horizon DNS for balancing public and private resolution, domain-based query steering, and a health-check failover mechanism to automatically reroute traffic during provider outages.

Broadly, the project covers DNS traffic management through TTL rewriting and local hosts file integration, as well as performance optimization via in-memory caching with automatic invalidation. It also includes network management capabilities such as captive portal detection and system time synchronization to ensure certificate validity.

The service can be deployed as a declarative system component in NixOS or integrated directly into home router firmwares.

## Tags

### Networking & Communication

- [DNS-over-HTTPS Relays](https://awesome-repositories.com/f/networking-communication/dns-servers/dns-over-https-servers/dns-over-https-relays.md) — Translates standard UDP DNS requests into encrypted HTTPS traffic to improve privacy and bypass network restrictions.
- [Client Identity Embedding](https://awesome-repositories.com/f/networking-communication/dhcp-clients/client-identity-embedding.md) — Collects local network metadata via mDNS or DHCP to tag outgoing queries for per-device policy application.
- [DNS Forwarding Routing](https://awesome-repositories.com/f/networking-communication/dns-forwarding-routing.md) — Coordinates with local services to handle recursive lookups and specific hostname forwarding. ([source](https://github.com/nextdns/nextdns/wiki/DDWRT))
- [Identity-Embedding Clients](https://awesome-repositories.com/f/networking-communication/dns-query-clients/identity-embedding-clients.md) — Implements a system agent that tags outgoing DNS queries with client identity for per-device filtering.
- [Conditional DNS Resolvers](https://awesome-repositories.com/f/networking-communication/dns-resolution/conditional-dns-resolvers.md) — Directs DNS queries to different providers based on the destination domain or the identity of the requesting client.
- [DNS-over-HTTPS Clients](https://awesome-repositories.com/f/networking-communication/dns-servers/dns-over-https-servers/dns-over-https-clients.md) — Converts standard DNS requests into encrypted HTTPS traffic to secure network queries and bypass local DNS restrictions. ([source](https://github.com/nextdns/nextdns/wiki))
- [Metadata Collection Mechanisms](https://awesome-repositories.com/f/networking-communication/client-ip-identification/network-hostname-resolvers/metadata-collection-mechanisms.md) — Collects and embeds client hostnames via mDNS or DHCP into outgoing network queries. ([source](https://github.com/nextdns/nextdns/wiki/Configuration))
- [Split-Horizon Views](https://awesome-repositories.com/f/networking-communication/dns-management/split-horizon-views.md) — Directs specific queries to different providers based on the destination to balance primary and secondary resolvers. ([source](https://cdn.jsdelivr.net/gh/nextdns/nextdns@master/README.md))
- [Domain-Based Routing](https://awesome-repositories.com/f/networking-communication/network-infrastructure-routing/network-infrastructure-configuration/network-and-server-infrastructure/domain-name-system-services/domain-based-routing.md) — Directs requests to different upstream providers based on the specific domain being queried. ([source](https://github.com/nextdns/nextdns/wiki))
- [DNS Forwarding Automations](https://awesome-repositories.com/f/networking-communication/network-routers/router-firmware-distributions/dns-forwarding-automations.md) — Automates the setup of DNS forwarding across various router firmwares to secure all devices on a local network. ([source](https://github.com/nextdns/nextdns/wiki))
- [Router DNS Integration](https://awesome-repositories.com/f/networking-communication/router-dns-integration.md) — Allows securing all connected local devices by forwarding router-level DNS queries to an encrypted provider.
- [Conditional Routing](https://awesome-repositories.com/f/networking-communication/traffic-routing/conditional-routing.md) — Directs network traffic to different profiles based on the requesting client's identity or network location. ([source](https://github.com/nextdns/nextdns/wiki/Conditional-Profile))

### Security & Cryptography

- [Encrypted DNS Proxies](https://awesome-repositories.com/f/security-cryptography/encrypted-dns-resolvers/multi-protocol-resolvers/encrypted-dns-proxies.md) — Translates standard UDP DNS requests into encrypted HTTPS traffic to secure name resolution and bypass network restrictions.
- [DNS Filtering](https://awesome-repositories.com/f/security-cryptography/dns-filtering.md) — Routes network requests through specific provider configurations to apply custom filtering and security rules. ([source](https://github.com/nextdns/nextdns/wiki/FreeBSD))
- [DNS Security](https://awesome-repositories.com/f/security-cryptography/dns-security.md) — Sends network DNS requests over HTTPS to designated providers to improve privacy and security. ([source](https://github.com/nextdns/nextdns/wiki/DDWRT))
- [Network Traffic Filters](https://awesome-repositories.com/f/security-cryptography/network-traffic-filters.md) — Intercepts and blocks network requests to specific domains to enforce security rules and privacy settings.
- [Identity-Based Policy Assignment](https://awesome-repositories.com/f/security-cryptography/identity-based-policy-assignment.md) — Applies specific DNS configuration settings based on a client's IP address, MAC address, or subnet. ([source](https://github.com/nextdns/nextdns/wiki))

### Data & Databases

- [DNS Caches](https://awesome-repositories.com/f/data-databases/performance-caching-systems/dns-caches.md) — Implements a local DNS cache to reduce resolution latency and minimize redundant external network requests.
- [In-Memory Caches](https://awesome-repositories.com/f/data-databases/in-memory-caches.md) — Stores recently resolved DNS records in RAM to reduce latency and minimize redundant external network requests.
- [Client Identity Reporting](https://awesome-repositories.com/f/data-databases/statistical-analysis-tools/usage-reporting/client-identity-reporting.md) — Sends detailed client identifiers to a service provider to enable per-device tracking and policy application. ([source](https://github.com/nextdns/nextdns/wiki/FreeBSD))

### System Administration & Monitoring

- [Filtering Profile Mapping](https://awesome-repositories.com/f/system-administration-monitoring/client-device-tracking/filtering-profile-mapping.md) — Enables the application of unique DNS filtering profiles and tracking for individual devices on the network.
- [DNS Failover](https://awesome-repositories.com/f/system-administration-monitoring/health-checks/dns-failover.md) — Implements automated switching to backup DNS providers when the primary resolver is detected as unavailable. ([source](https://github.com/nextdns/nextdns/wiki))

### Software Engineering & Architecture

- [Provider Failover Mechanisms](https://awesome-repositories.com/f/software-engineering-architecture/provider-failover-mechanisms.md) — Monitors the availability of primary DNS providers and automatically reroutes traffic to backup servers during service outages.
