Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A blockchain-based DNS + HTTP server that fixes HTTPS security, and more!

Merge pull request #154 from fireglow/patch-1

latest commit 74956c8692
@taoeffect taoeffect authored


npm version Build Status Build Status Gitter

There is a problem with how the Internet works today:

  • HTTPS is not secure. Like most "secure" communications protocols, it is susceptible to undetectable public-key substitution MITM-attacks (example: Apple iMessages).
  • Netizens do not own their online identities. We either borrow them from companies like twitter, or rent then from organizations like ICANN.

These problems arise out of two core Internet protocols: DNS and X.509.

DNSChain offers a free and secure decentralized alternative while remaining backwards compatible with traditional DNS.

It compares favorably to the alternatives, and provides the following features: ︎

DNSChain X.509 PKI with Certificate Transparency
MITM-proof'ed Internet connections :white_check_mark: :x:
Secure and simple GPG key distribution :white_check_mark: :x:
MITM-proof RESTful API to blockchain :white_check_mark: :x:
Free and actually-secure SSL certificates :white_check_mark: :x:
Stops many denial-of-service attacks :white_check_mark: :x:
Certificate revocation that actually works :white_check_mark: :x:
DNS-based censorship circumvention :white_check_mark: :x:
Prevents domain theft ("seizures") :white_check_mark: :x:
Access blockchain domains like .bit, .p2p, .nxt, .eth :white_check_mark: :x:
Certificate transparency (publicly auditable log of certs) :white_check_mark: :white_check_mark: (maybe)

:star: See Also: How DNSChain Compares To Other Approaches


:book: What is it?

  • DNSChain replaces X.509 PKI with the blockchain
  • MITM-proof authentication
  • Simple and secure GPG key distribution
  • Secure, MITM-proof RESTful API to blockchains
  • Free SSL certificates become possible
  • Prevents DDoS attacks
  • Certificate revocation that actually works
  • DNS-based censorship circumvention
  • Other features: testing suite, rate-limiting, and caching

:book: Using DNSChain

  • Free public DNSChain servers
  • Access blockchain domains like okturtles.bit
  • Registering blockchain domains and identities
  • Encrypt communications end-to-end without relying on untrustworthy third-parties
  • Unblock censored websites (coming soon!)
  • And more!

:book: Running your own DNSChain server

  • Requirements
  • Getting Started
  • Configuration
  • Guide: Setting up a DNSChain server with Namecoin and PowerDNS
  • Coming Soon: securing HTTPS websites with DNSChain.

:book: Developers

  • Securing Your Apps With DNSChain
  • Contributing to DNSChain development
  • Adding support for your favorite blockchain
  • Running Tests


Other Resources

:tv: Watch

:speaker: Listen

:page_facing_up: Read

Have a link? Let us know!


Approximate chronological order.

Release History

Blog post for 0.5 release.

0.5.2 - March 11, 2015
  • Improvements:
    • Includes tests for verifying NXT support
    • Added superagent for simpler HTTP requests
    • Moved dnsHandler into template class
    • Prevent favicon.ico requests from filling logs
    • Improved documentation
    • Misc. code and logging improvements
  • Fixes:
    • #138: Nxt resolver not working
    • #140: Prevent non-json values in Namecoin from returning "Not found"
    • #141: Allow arbitrary namecoin keys, but enforce ICANN domain rules for for d/
    • #142 + #120: Make it less likely Travis will fail
:book: Older version notes

Copyright (c) okTurtles Foundation. Licensed under MPL-2.0 license.

Something went wrong with that request. Please try again.