Skip to content

itsnotlupus/nc.dns.gen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a simple node.js script that grabs the namecoin DB and converts it into various configuration files.

Note that this is only parsing the "legacy specification" for now, and that there are limitation tied to use some conf. files.

Current configuration files generated:

- hosts.conf : follows the /etc/hosts format. only encode static IPs, doesn't know about forwarders, or wildcards, or translate.
- dnsmasq.conf : suitable to use with dnsmasq. Limited forwarder support, no support for translate.
- named.conf and db.bit : meant for use with bind9. support all (?) legacy features. probably buggy.

Dependencies:

- namecoind ( https://github.com/vinced/namecoin )
- a valid bitcoin.conf file under ~/.namecoin/
- node.js ( http://nodejs.org )

To use:

node index.js

By default, files are generated under the conf/ subdirectory.
You can edit index.js to change that.

About

Generate DNS conf files for Namecoin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published