DNS seeds for Namecore

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

DNS seeds for Namecore

Post 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?
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 »

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 »

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 »

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 »

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 »

.
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 »

I'll have something up this weekend.

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

Re: DNS seeds for Namecore

Post 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.
BTC: 1domobKsPZ5cWk2kXssD8p8ES1qffGUCm | NMC: NCdomobcmcmVdxC5yxMitojQ4tvAtv99pY
BM-GtQnWM3vcdorfqpKXsmfHQ4rVYPG5pKS
Use your Namecoin identity as OpenID: https://nameid.org/

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

Re: DNS seeds for Namecore

Post 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.
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 »

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