NamecoinToBind php script v2.2.1

Forum rules
Warning !
Avoid using binary softwares from untrusted users.
Prefer compiling it yourself and verify sources.
Post Reply
khal
Site Admin
Posts: 708
Joined: Mon May 09, 2011 5:09 pm
os: linux

NamecoinToBind php script v2.2.1

Post by khal »

=> See last update below


NamecoinToBind is a php script that generates bind zones for .bit domains from the namecoin blockchain by using the name_scan rpc command.
This version supports the original and first spec :
- '{"map": {"": {"ns": ["10.0.0.1"]}}}'
- '{"map": {"": "62.16.239.10"}}'

Here is the code :
https://github.com/khalahan/NamecoinToBind

Here is the doc :
https://github.com/khalahan/NamecoinToB ... ter/README

I'm working on a new version, designed to support the new domain_spec, but it is far from finished yet. I wanted to wait until the new version was ready to publish it, and that's why i didn't publish this version before.
But, the new version is still at the same point after a long time, so... and midnightmagic asked me the source code, so i finally released it :p (i didn't take the time to make something really clean, sorry for that)
NamecoinID: id/khal
GPG : 9CC5B92E965D69A9
NMC: N1KHAL5C1CRzy58NdJwp1tbLze3XrkFxx9
BTC: 1KHAL8bUjnkMRMg9yd2dNrYnJgZGH8Nj6T

Register Namecoin domains with BTC
My bitcoin Identity - Send messages to bitcoin users
Charity Ad - Make a good deed without paying a cent

midnightmagic
Posts: 18
Joined: Tue Sep 13, 2011 6:50 am

Re: NamecoinToBind php script v1.0

Post by midnightmagic »

Thanks a lot! I've been wanting to integrate something directly into my BIND servers for quite some time, and this will speed up my efforts considerably.

nodemaster
Posts: 172
Joined: Wed Jun 15, 2011 12:46 pm
os: linux

Re: NamecoinToBind php script v1.0

Post by nodemaster »

Yeah, really useful. Could come in handy ;) Thank you!
Access .bit domains with Firefox in 4 easy steps: https://masterpool.eu/proxy
MasterPool Namecoin Mining Pool

khal
Site Admin
Posts: 708
Joined: Mon May 09, 2011 5:09 pm
os: linux

Re: NamecoinToBind php script v1.0

Post by khal »

Version 2.0 has been released on github : https://github.com/khalahan/NamecoinToBind !

This is a full rewrite that, i hope, could manage a lot of domain changes :) (more modular)
It now supports the new domain spec features (not all yet)

http://namecoin.bitcoin-contact.org (178.32.31.41, one of the public DNS servers) is currently using this new release.

TODO :
------
* Support the following records :
- loc
- service
- delegate
- import
* Improve reference remplacements (https://dot-bit.org/Domain_names#Domain_references & https://dot-bit.org/Domain_names#Sub-domains)
NamecoinID: id/khal
GPG : 9CC5B92E965D69A9
NMC: N1KHAL5C1CRzy58NdJwp1tbLze3XrkFxx9
BTC: 1KHAL8bUjnkMRMg9yd2dNrYnJgZGH8Nj6T

Register Namecoin domains with BTC
My bitcoin Identity - Send messages to bitcoin users
Charity Ad - Make a good deed without paying a cent

khal
Site Admin
Posts: 708
Joined: Mon May 09, 2011 5:09 pm
os: linux

Re: NamecoinToBind php script v2.0

Post by khal »

--
Version 2.1 has been released on github : https://github.com/khalahan/NamecoinToBind !

Changelog :
-----------
- Added generation of stats on names and domains
- Fixed some bugs
- Optimized a bit memory usage
NamecoinID: id/khal
GPG : 9CC5B92E965D69A9
NMC: N1KHAL5C1CRzy58NdJwp1tbLze3XrkFxx9
BTC: 1KHAL8bUjnkMRMg9yd2dNrYnJgZGH8Nj6T

Register Namecoin domains with BTC
My bitcoin Identity - Send messages to bitcoin users
Charity Ad - Make a good deed without paying a cent

khal
Site Admin
Posts: 708
Joined: Mon May 09, 2011 5:09 pm
os: linux

Re: NamecoinToBind php script v2.1

Post by khal »

New bugfix release of NamecoinTobind v2.1.4 :
- Fix to ignore s/ namespace for now
- Fix ns : exlude local ip & ip6
- Fix bug of duplicate domains in forwards and zones
- More strict ascii domain name filtering
- Fix rebuild of zones & forward list + decrease cache steps

People currently using it should update :)
NamecoinID: id/khal
GPG : 9CC5B92E965D69A9
NMC: N1KHAL5C1CRzy58NdJwp1tbLze3XrkFxx9
BTC: 1KHAL8bUjnkMRMg9yd2dNrYnJgZGH8Nj6T

Register Namecoin domains with BTC
My bitcoin Identity - Send messages to bitcoin users
Charity Ad - Make a good deed without paying a cent

khal
Site Admin
Posts: 708
Joined: Mon May 09, 2011 5:09 pm
os: linux

Re: NamecoinToBind php script v2.1

Post by khal »

NamecoinToBind v2.2.1 released !
https://github.com/khalahan/NamecoinToBind (zip, tar.gz)

Changelog :
* Change all configuration files for bind to have a real .bit zone (instead of all subzones only)
* bind is now authoritative for .bit zone
* bind load less zones, less memory usage
* adapt zones to support namecoin-suffixes (A way to use .bit domains in 1mn ! Try it !)
* updated README

Be sure to update your config file as the syntax changed a bit (look in the config.php.dist file).
NamecoinID: id/khal
GPG : 9CC5B92E965D69A9
NMC: N1KHAL5C1CRzy58NdJwp1tbLze3XrkFxx9
BTC: 1KHAL8bUjnkMRMg9yd2dNrYnJgZGH8Nj6T

Register Namecoin domains with BTC
My bitcoin Identity - Send messages to bitcoin users
Charity Ad - Make a good deed without paying a cent

Post Reply