Page 1 of 3

DNS seeds for Namecore

Posted: Tue Jan 27, 2015 6:44 am
by domob
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?

Re: DNS seeds for Namecore

Posted: Tue Jan 27, 2015 9:26 am
by pmc
I can run a DNS seed.

Re: DNS seeds for Namecore

Posted: Tue Jan 27, 2015 11:35 pm
by ryanc
I can run a DNS seed and a high availability/capacity node.

Re: DNS seeds for Namecore

Posted: Wed Jan 28, 2015 12:11 am
by hla
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

Re: DNS seeds for Namecore

Posted: Thu Jan 29, 2015 4:56 pm
by pmc
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?

.

Posted: Thu Jan 29, 2015 6:17 pm
by signup292
.

Re: DNS seeds for Namecore

Posted: Thu Jan 29, 2015 8:16 pm
by ryanc
I'll have something up this weekend.

Re: DNS seeds for Namecore

Posted: Fri Jan 30, 2015 6:49 am
by domob
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.

Re: DNS seeds for Namecore

Posted: Tue Feb 03, 2015 6:43 pm
by domob
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.

Re: DNS seeds for Namecore

Posted: Wed Feb 04, 2015 9:29 am
by pmc
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?