Git Product home page Git Product logo

yakdns's Introduction

YakDNS

a very basic attempt at decentralised dns for cjdns

YakDNS piggy backs Cjdns's dht routing to find servers to share dns data with, this way we dont have to create our own dht program.

YakDNS is ready for testing, This is PRE-ALPHA, so lots of broken shit

Install YakDNS

simply drop ddns.py into /cjdns-master thats it and run as root just like cjdns

client:

client can be run as normal user from anywhere

Add new domain: python ddns-client.py new domain.name ipv6-addr

Rlease a domain: python ddns-client.py release domain.name

How it works

Domains are stored in dns.db as follows:

"example.com ipv6-addr timestamp change-counter"

"io.nerd fc38:410e:bce7:a7e2:d4f0:a805:b509:be11 1431803121.12 0"

request format should be as follows, and over udp:

01 = add new domain

01 io.nerd fc38:410e:bce7:a7e2:d4f0:a805:b509:be11 1431803121.12 0

02 = release domain

02 io.nerd (the server will deal with releasing the domain)

00 = is a sync request, this is only done by the servers when they start up not the client

contact

you can find me on irc at yakamo.org #yakdns

Todo list:

threading & queueing for incoming requests

possibly treat ddns like cjdns in that you have to accept or add other nodes in the trust format/ this would simplifie a few things and, maybe have ddns search your config file and grab the public key and convert it to the ipv6 and use that so the user doesnt have to configure it them self??????

fix sync client* done

add option to do a manual sync after startup

add request confirmation and timeout

away for the host machine to use the dns.db, either through dumping it to /etc/hosts or creating something that the system can query for dns.

and of course a client for making these requests

create a manual for how to interact with the ddns server for developers

figure weather to use sqlite or json to create the database

yakdns's People

Contributors

yakamok avatar

Watchers

James Cloos avatar Dmitry avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.