P2P dns resolution service based on a DHT and ECC
C Python
Latest commit e5ebcee Apr 6, 2011 @HarryR Small cleanups
Permalink
Failed to load latest commit information.
cmake/modules Added smarter library searching modules. Dec 3, 2010
dht Small cleanups Apr 6, 2011
libbenc Work in progress Dec 15, 2010
seccure Revert "Merge branch 'master' of https://github.com/HarryR/ffff-dnsp2p" Dec 7, 2010
test Added regular makefile support to tests Dec 15, 2010
.gitignore Work in progress Dec 15, 2010
CMakeLists.txt Added test bench, woot. Dec 15, 2010
LICENSE Revitalized readme file Dec 5, 2010
Makefile Added regular makefile support to tests Dec 15, 2010
README.md
ROADMAP More stuff for the todolist/roadmap Dec 2, 2010
admin.c Revert "Merge branch 'master' of https://github.com/HarryR/ffff-dnsp2p" Dec 7, 2010
admin.h Revert "Merge branch 'master' of https://github.com/HarryR/ffff-dnsp2p" Dec 7, 2010
common.mak Added regular makefile support to tests Dec 15, 2010
crypto.c Now build with -std=c99 -pedantic, woo! Dec 6, 2010
crypto.h Moved crypto stuff out into separate file - hopefully this means we c… Dec 5, 2010
dns.c Work in progress Dec 15, 2010
dns.h
ffff.c
ffff.h
op_get.c
op_get.h DNS request kicks off dht search Dec 2, 2010
ops.c
ops.h More documentation comments. Dec 14, 2010
properties.c
properties.h Fixed missing gcrypt initalization in stub.c. Dec 1, 2010
rbtree.c
rbtree.h More stuff for the todolist/roadmap Dec 2, 2010
stub.c Revert "Merge branch 'master' of https://github.com/HarryR/ffff-dnsp2p" Dec 7, 2010

README.md

dnsp2p

Here is a timeline of events which got the project started

Hello all #isp of the world. We're going to add a new competing root-server since we're tired of #ICANN. Please contact me to help.

Peter Sunde via Twitter @brokep on November 27th, 23:08


Alternative DNS now has a temporary blog. http://p2pdns.baywords.com/2010/11/30/hello-world/

Peter Sunde via Twitter @brokep on 30 November 2010 08:00

Build instructions

For now you need the following libraries installed:

  • tokyocabinet, lightweight and fast embedded database
  • libevent >= 2.0, event based network, http & dns library
  • libgcrypt >= 1.4.1, general purpose crypto library based on the code used in GnuPG

You can also use cmake to build the project:

make cmake.build [CMAKE_OPTS=<cmake options>]

Here are some of the variables you might want to tweak:

  • CMAKE_BUILD_TYPE - Debug or Release
  • CMAKE_C_FLAGS - Additional compiler flags
  • LIBEVENT2_PREFIX
  • TOKYOCABINET_PREFIX
  • GCRYPT_PREFIX - Installation prefix of dependencies, if non-standard

This can be passed to CMake as follows:

cmake .. -DCMAKE_BUILD_TYPE=Debug -DLIBEVENT2_PREFIX=/opt/libevent2/

Usage

Usage: dnsp2p <options ...>

Options:
 -D <addr:port>    Listen address & port for DNS resolver (UDP)
 -A <addr:port>    Listen address & port for admin HTTP port (TCP)
 -P <addr:port>    Listen address & port for P2P connectivity (TCP+UDP)
 -s <file>         DB file for node state storage
 -p <file>         DB file for persistent publish storage
 -b <file>         Peer file containing bootstrap nodes 
 -h                Show this help

Give me more

More information at the wiki