okTurtles / dnschain

A blockchain-based DNS + HTTP server that fixes HTTPS security, and more!
https://okturtles.com
Other
1.73k stars 169 forks source link

getdns dns resolver #171

Closed wemeetagain closed 8 years ago

wemeetagain commented 8 years ago

Implements #101

Creates a new oldDNS constant: GETDNS. Sets GETDNS as the default oldDNS method in config.coffee When GETDNS is set as the oldDNS method, getdns is used to fetch DNS data.

Implementation Notes:

taoeffect commented 8 years ago

Awesome work! Thanks for getting this going, you're pretty much a hero. :+1:

Two things:

  1. As per Slack convo, we need to get off of native-dns completely if possible, including and especially the server part. Reading/writing DNS records is the bare minimum functionality that's needed from getdns to do that.
  2. Travis CI fails currently, so you'll need to modify .travis.yml to tell it to install the getdns libs. Thankfully, Travis CI's documentation is pretty great actually, should be very clear how to do that.

If you discover that it is not possible/feasible/realistic to use getdns for server stuff, then it would be better to just focus on fixing native-dns.

taoeffect commented 8 years ago

See: https://github.com/okTurtles/dnschain/issues/101#issuecomment-201060347