Unbound resolves DNS queries with DNSSEC validation, caching, and modern hardening for routers, servers, and application embedding.
Overview
Unbound from NLnet Labs is an open-source DNS resolver designed to be fast, lean, and standards-based. It answers recursive queries, validates DNSSEC signatures when enabled, and caches responses for later requests on the same network.
The resolver copes with slow or unreachable authoritative servers, malformed answers, and hostile traffic through caching, parallel processing, response checks, and limits on resolution work. Features include prefetching, serving stale data when fresh lookups fail, QNAME minimisation, local data overrides, policy-based DNS filtering, and encrypted DNS transports for clients and upstreams.
Operators run it on home routers, appliances, enterprise networks, and cloud infrastructure. Configuration is documented in the `unbound.conf` manual with example files shipped in the source tree. Developers can link against libunbound to embed the same validation logic in applications.
Build instructions require a C toolchain, OpenSSL, libexpat, and optional libevent when many outgoing ports are needed. Maintenance emphasizes security advisories, RFC alignment, and transparent open development.
Key features
- Recursive DNS resolution
- DNSSEC validation
- Aggressive caching and prefetch
- QNAME minimisation support
- Response Policy Zone filtering
- Encrypted client and upstream DNS
- Remote control statistics
- libunbound embedding library
Use cases
- Running a home network validating resolver
- Providing DNS on enterprise edge servers
- Filtering unwanted DNS domains
- Offering DNS-over-TLS to clients
- Embedding DNS validation in applications