DNS Seed
A domain that returns live node addresses so a fresh node can find peers.
Basically
A DNS seed is a domain name that gives your new Bitcoin node the addresses of active Bitcoin nodes. Your node uses these addresses to find its first connections to the Bitcoin network.
Key Takeaways
- DNS seeds are hardcoded domain names in Bitcoin Core that return IP addresses of active nodes through standard DNS A and AAAA records. They enable new nodes to find their first peers on the network.
- DNS seeds are only used during initial startup when a node has no known peers. Once connected, nodes discover additional peers through the decentralised gossip protocol and maintain a persistent peer database for future restarts.
- Trusted community members operate DNS seeds and must follow a published policy. Bitcoin Core queries multiple independent seeds to reduce the risk of any single operator compromising peer discovery.
What Is a DNS Seed?
A DNS seed is a special-purpose domain name that acts as a directory of active Bitcoin nodes. When a new node starts for the first time, it needs to find other nodes on the network to connect to and begin downloading the blockchain. Rather than shipping a static list of IP addresses that would quickly become outdated, Bitcoin Core includes a list of DNS seed domains that dynamically resolve to the IP addresses of currently active nodes.
The mechanism uses the existing Domain Name System infrastructure that powers the internet. A standard DNS query to a seed domain like seed.bitcoin.sprovoost.nl returns multiple A records for IPv4 or AAAA records for IPv6, each pointing to a different verified Bitcoin node. The querying node then connects directly to those peers using the Bitcoin peer-to-peer protocol on port 8333.
DNS seeds do not transfer any Bitcoin data themselves. They serve only as an address book, and the new node no longer needs them once it has established connections.
How It Works
The DNS seed process follows a predictable sequence each time a Bitcoin node starts without any known peers. The node uses this process to find its first peers on the network.
DNS Seed Software
DNS seed operators run specialised software that continuously crawls the Bitcoin network to maintain an up-to-date list of active nodes. The most widely used implementation is bitcoin-seeder, originally written by Pieter Wuille.
DNS seed setup requires configuring NS records to delegate the seed subdomain to the operator's server. These NS records direct queries for the seed subdomain to that server.
Service Bit Filtering
Bitcoin Core supports filtering DNS seed results by node capabilities using a subdomain prefix convention. A hexadecimal prefix encodes the desired service bits in the subdomain.
For example, querying x9.seed.bitcoin.wiz.biz returns only nodes that advertise both full block history and SegWit support. Leading zeros are rejected, so x0009 is invalid, to maximise DNS caching efficiency.
Current DNS Seed Operators
As of 2026, trusted community members operate Bitcoin Core's mainnet DNS seeds. Bitcoin Core maintains the list of these seed operators.
Operators must follow the policy documented in doc/dnsseed-policy.md within the Bitcoin Core repository. Violations result in removal: in December 2025, one operator's seed was removed after it was found to be filtering out nodes running newer Bitcoin Core versions.
Alternative Peer Discovery Methods
DNS seeds are one of several peer discovery mechanisms in Bitcoin. The network uses a layered approach so that no single method is a point of failure.
The Bitcoin node implementation comparison provides a deeper comparison of how different node implementations handle bootstrapping and peer management. It covers the differences between these implementations.
First-Time Node Bootstrapping
The primary use case for DNS seeds is bootstrapping a brand-new Bitcoin node. Without DNS seeds, a new node would have no way to find peers unless the operator manually configured them. DNS seeds make running a node accessible to anyone: install the software, start it, and the node automatically discovers the network.
Recovery After Network Isolation
A corrupted peers.dat file or the loss of all previously known peers can leave a node without connections. DNS seeds provide a recovery path, allowing the node to fall back to DNS seeding and re-establish connections to the network without manual intervention.
Light Client Bootstrapping
Light clients and SPV wallets also use DNS seeds to find peers. Service bit filtering is particularly useful here: a light client can query for nodes advertising NODE_BLOOM or compact block filter support, connecting only to peers that can serve its specific needs.
Why It Matters
DNS seeds solve a fundamental chicken-and-egg problem in decentralised networks: how do you join a peer-to-peer network when you don't know anyone on it? Without a reliable bootstrapping mechanism, the barrier to running a node would be significantly higher, reducing network participation and potentially weakening Bitcoin's censorship resistance.
The same bootstrapping challenge applies to any peer-to-peer protocol built on Bitcoin. Layer 2 networks like the Lightning Network and protocols like Spark rely on their own peer discovery mechanisms to connect participants. DNS seeds show how Bitcoin addresses this problem at the base layer and provide context for how upper-layer protocols approach the same problem.
DNS Spoofing and Eclipse Attacks
DNS seed queries are standard, unencrypted UDP requests with no authentication. A network-level attacker or a compromised DNS resolver could intercept queries and return only attacker-controlled IP addresses, enabling an eclipse attack where the victim node connects exclusively to malicious peers and receives fabricated blockchain data.
Bitcoin Core mitigates this by querying multiple independent DNS seeds simultaneously, capping each seed at 256 addresses, and using a cryptographically keyed bucketing system in its address manager to prevent deterministic targeting. Anchor connections that persist across restarts further reduce the attack surface.
Centralisation Risk
Bitcoin's peer-to-peer network is decentralised, but DNS seeds introduce a mild centralisation point. A coordinated attack on a majority of seed operators could theoretically influence which nodes new participants connect to. However, the fallback mechanisms of hardcoded seed nodes, a persistent peer database and manual configuration limit this risk in practice.
The seed operator list itself has changed over time. Operators who violate the published policy or stop maintaining their infrastructure are removed, and new operators can be added through the standard BIP and pull request process.
Privacy Considerations
DNS queries inherently reveal information to the seed operator and any network observer. Querying a Bitcoin DNS seed from a particular IP address signals that a Bitcoin node is starting at that location, but users concerned about privacy can disable DNS seeding with -dnsseed=0 and configure peers manually, or route DNS queries through Tor.
The glossary entry is for informational purposes only and does not constitute financial or investment advice. Always do your own research before using any protocol or technology.