Built on NEAR Protocol

Decentralized DNS
for the Open Web

Resolve blockchain-based domain names by querying smart contracts on NEAR Protocol. Own your domain, control your records, no intermediaries.

Get Started View on GitHub
Terminal
$ dig @localhost -p 5355 neardns.near A
; <<>> DiG <<>> @localhost -p 5355 neardns.near A ;; ANSWER SECTION: neardns.near. 300 IN A 1.2.3.4 ;; Query time: 142 msec
$ dig @localhost -p 5355 neardns.near TXT
neardns.near. 300 IN TXT "Hello from NEAR blockchain!"

Why NEAR DNS?

A fully decentralized DNS system with blockchain-level security and ownership

🔗

Blockchain Native

DNS records stored directly on NEAR Protocol. No centralized servers, no single points of failure.

🔐

True Ownership

Your NEAR account controls your domain. Only you can modify DNS records through cryptographic signatures.

Fast Resolution

Smart caching layer ensures quick responses while maintaining decentralization guarantees.

🌐

Hybrid Resolution

Seamlessly resolves both NEAR domains and traditional DNS. One server for all your needs.

🔧

Full DNS Support

A, AAAA, CNAME, MX, TXT, NS, SRV, SOA, PTR, CAA records. Everything you need for production use.

🎯

Wildcard Records

Support for wildcard DNS entries. Route all subdomains with a single record.

Supported TLDs

All NEAR ecosystem top-level domains are automatically resolved

.near
.testnet
.aurora
.tg
.sweat
.kaiching
.sharddog

How It Works

Simple, transparent, and fully decentralized

1

DNS Query Received

Client sends a standard DNS query for a domain like example.near

2

TLD Detection

Server identifies .near as a NEAR ecosystem TLD and routes to blockchain resolution

3

Smart Contract Query

Server calls the dns.example.near contract via NEAR RPC to fetch DNS records

4

Response Returned

DNS records from the blockchain are returned to the client in standard DNS format

Get Started

Run your own NEAR DNS server in minutes

# Pull and run with Docker
docker run -d --name near-dns \
  -p 5355:53/udp \
  -p 5355:53/tcp \
  frolvlad/near-dns

# Or build from source
docker build -t near-dns .
docker run -d -p 5355:53/udp near-dns

# Test it works
dig @localhost -p 5355 neardns.near A

Ready to Decentralize Your DNS?

Join the future of domain name resolution on NEAR Protocol

View on GitHub NEAR Documentation