Bitcoin Forum
November 16, 2024, 07:24:04 AM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Anon hosting for seed-node?  (Read 197 times)
Many Coins (OP)
Member
**
Offline Offline

Activity: 294
Merit: 11

Lord Shiva


View Profile
February 16, 2018, 08:58:03 AM
 #1

Hello!

I have a two questions:

1. Can you recomend me anonimous hosting where I can placed a seed-node for altcoin?

2. In src/net.cpp on BC 0.8:

Code:
// DNS seeds
// Each pair gives a source name and a seed name.
// The first name is used as information source for addrman.
// The second name should resolve to a list of seed addresses.
static const char *strMainNetDNSSeed[][2] = {
    {"bitcoin.sipa.be", "seed.bitcoin.sipa.be"},
    {"bluematt.me", "dnsseed.bluematt.me"},
    {"dashjr.org", "dnsseed.bitcoin.dashjr.org"},
    {"xf2.org", "bitseed.xf2.org"},
    {NULL, NULL}
};

A first name - is anything I want? Smiley or necessarily real domain name binded with?

A second name - may be an IP?

Thank you.
ncsupanda
Legendary
*
Offline Offline

Activity: 1628
Merit: 1012



View Profile
February 18, 2018, 04:41:26 PM
 #2

1. Any site that provides hosting - you can even provide a seednode on your home PC if you wanted to.

2. Depending on what source you are using, these likely can just be IP Addresses.

Below is a snippet from src/chainparams.cpp for Bitcoin - note that these are again URLs but URLs are pointing to IP Addresses

Code:
        // Note that of those which support the service bits prefix, most only support a subset of
        // possible options.
        // This is fine at runtime as we'll fall back to using them as a oneshot if they don't support the
        // service bits we want, but we should get them updated to support all service bits wanted by any
        // release ASAP to avoid it where possible.
        vSeeds.emplace_back("seed.bitcoin.sipa.be"); // Pieter Wuille, only supports x1, x5, x9, and xd
        vSeeds.emplace_back("dnsseed.bluematt.me"); // Matt Corallo, only supports x9
        vSeeds.emplace_back("dnsseed.bitcoin.dashjr.org"); // Luke Dashjr
        vSeeds.emplace_back("seed.bitcoinstats.com"); // Christian Decker, supports x1 - xf
        vSeeds.emplace_back("seed.bitcoin.jonasschnelli.ch"); // Jonas Schnelli, only supports x1, x5, x9, and xd
        vSeeds.emplace_back("seed.btc.petertodd.org"); // Peter Todd, only supports x1, x5, x9, and xd
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3542
Merit: 6886


Just writing some code


View Profile WWW
February 18, 2018, 05:27:00 PM
 #3

2. Depending on what source you are using, these likely can just be IP Addresses.
They can't be IP addresses. The DNS seeders are not servers that you send queries to. Rather you do a DNS lookup for the domain name, and because the DNS seeder is configured to be the nameserver for that domain, it will provide DNS records that are for the domain. However those records don't point to any IP addresses for a server at that domain; rather they point to nodes that you can connect to.

ncsupanda
Legendary
*
Offline Offline

Activity: 1628
Merit: 1012



View Profile
February 18, 2018, 07:25:43 PM
 #4

2. Depending on what source you are using, these likely can just be IP Addresses.
They can't be IP addresses. The DNS seeders are not servers that you send queries to. Rather you do a DNS lookup for the domain name, and because the DNS seeder is configured to be the nameserver for that domain, it will provide DNS records that are for the domain. However those records don't point to any IP addresses for a server at that domain; rather they point to nodes that you can connect to.

Thanks for the clarification, I was not 100% sure.
You could always do an addnode with the actual IP address though - I've found that to be a useful way of testing nodes with altcoins.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!