DNS seeds for Namecore

Namecoin, NMControl
domob
Posts: 1117
Joined: Mon Jun 24, 2013 11:27 am
Contact:

DNS seeds for Namecore

Post by domob » Tue Jan 27, 2015 6:44 am

Currently, Namecore (reimplementation of Namecoin on top of the modern Bitcoin Core code) does not have a suitable method of discovering peers. IRC discovery is not present since it was removed from Bitcoin long ago; instead, Bitcoin uses a combination of hardcoded nodes and DNS seeds. I think we should enable those for Namecoin as the next deployment step of Namecore. Is anyone interested and willing to either run stable and high-capacity nodes that could be hardcoded into the client as fallbacks, or to run a DNS seed?
BTC: 1domobKsPZ5cWk2kXssD8p8ES1qffGUCm | NMC: NCdomobcmcmVdxC5yxMitojQ4tvAtv99pY
BM-GtQnWM3vcdorfqpKXsmfHQ4rVYPG5pKS
Use your Namecoin identity as OpenID: https://nameid.org/

pmc
Posts: 73
Joined: Thu Oct 03, 2013 8:50 pm
Location: Germany
Contact:

Re: DNS seeds for Namecore

Post by pmc » Tue Jan 27, 2015 9:26 am

I can run a DNS seed.

ryanc
Posts: 147
Joined: Wed Dec 18, 2013 8:10 pm
os: linux

Re: DNS seeds for Namecore

Post by ryanc » Tue Jan 27, 2015 11:35 pm

I can run a DNS seed and a high availability/capacity node.

hla
Posts: 46
Joined: Mon Nov 10, 2014 12:01 am
os: linux
Contact:

Re: DNS seeds for Namecore

Post by hla » Wed Jan 28, 2015 12:11 am

I have a working fork of bitcoin-seeder:

https://github.com/hlandauf/namecoin-seeder

You will need to edit the hardcoded IP address here in order to get it started: https://github.com/hlandauf/namecoin-se ... n.cpp#L351

pmc
Posts: 73
Joined: Thu Oct 03, 2013 8:50 pm
Location: Germany
Contact:

Re: DNS seeds for Namecore

Post by pmc » Thu Jan 29, 2015 4:56 pm

Up and running:

Code: Select all

$ dig any nmc.seed.quisquis.de @blue.quisquis.de
[...]
;; QUESTION SECTION:
;nmc.seed.quisquis.de.          IN      ANY

;; ANSWER SECTION:
nmc.seed.quisquis.de.   3600    IN      A       74.81.91.115
nmc.seed.quisquis.de.   3600    IN      A       173.230.146.227
nmc.seed.quisquis.de.   3600    IN      A       192.69.35.35
nmc.seed.quisquis.de.   3600    IN      A       89.39.207.84
nmc.seed.quisquis.de.   3600    IN      A       76.74.177.197
nmc.seed.quisquis.de.   3600    IN      A       5.135.186.15
nmc.seed.quisquis.de.   3600    IN      A       209.141.175.147
nmc.seed.quisquis.de.   3600    IN      A       82.69.201.106

;; AUTHORITY SECTION:
seed.quisquis.de.       259200  IN      NS      blue.quisquis.de.
seed.quisquis.de.       259200  IN      NS      ns2.afraid.org.

[...]
I can publish the same set under different names, which might be a good idea.

Also I noticed the crawler didn't pick up any IPv6 nodes - do I have to enable that somehow, or are there no active IPv6 nodes?

signup292
Posts: 79
Joined: Sun Mar 02, 2014 11:02 pm

.

Post by signup292 » Thu Jan 29, 2015 6:17 pm

.
Last edited by signup292 on Sun Feb 22, 2015 1:04 am, edited 1 time in total.

ryanc
Posts: 147
Joined: Wed Dec 18, 2013 8:10 pm
os: linux

Re: DNS seeds for Namecore

Post by ryanc » Thu Jan 29, 2015 8:16 pm

I'll have something up this weekend.

domob
Posts: 1117
Joined: Mon Jun 24, 2013 11:27 am
Contact:

Re: DNS seeds for Namecore

Post by domob » Fri Jan 30, 2015 6:49 am

Wow, thanks for the quick reaction! Great to see so much help in the community! :) I'll wait a bit longer for Ryan's node and seed (?), and will then add those for now to the code.

BTW, is anyone also running a testnet seed? Not important, but could be useful nevertheless.
BTC: 1domobKsPZ5cWk2kXssD8p8ES1qffGUCm | NMC: NCdomobcmcmVdxC5yxMitojQ4tvAtv99pY
BM-GtQnWM3vcdorfqpKXsmfHQ4rVYPG5pKS
Use your Namecoin identity as OpenID: https://nameid.org/

domob
Posts: 1117
Joined: Mon Jun 24, 2013 11:27 am
Contact:

Re: DNS seeds for Namecore

Post by domob » Tue Feb 03, 2015 6:43 pm

Added the quisquis.de DNS seed. It seems to work, Namecore can successfully discover peers with that. When Tor is used as proxy, it does not work, though. But this may be something that also doesn't work with Bitcoin (not sure). They have hardcoded .onion nodes, too.
BTC: 1domobKsPZ5cWk2kXssD8p8ES1qffGUCm | NMC: NCdomobcmcmVdxC5yxMitojQ4tvAtv99pY
BM-GtQnWM3vcdorfqpKXsmfHQ4rVYPG5pKS
Use your Namecoin identity as OpenID: https://nameid.org/

pmc
Posts: 73
Joined: Thu Oct 03, 2013 8:50 pm
Location: Germany
Contact:

Re: DNS seeds for Namecore

Post by pmc » Wed Feb 04, 2015 9:29 am

I've never used Tor. I suppose it tunnels DNS queries, too? Can you check if this is a DNS problem, or a connection problem?

Post Reply