Bitcoin Forum
May 27, 2024, 02:03:23 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: DNS Seeder Help  (Read 1186 times)
PereguineBerty (OP)
Member
**
Offline Offline

Activity: 109
Merit: 35


View Profile
April 26, 2014, 02:05:58 PM
 #1

If someone has experience of setting up DNS seeders, PLEASE can you kindly offer some advice?

I've been trying to get this seeder running https://github.com/sipa/bitcoin-seeder.

The seeder details have been entered in net.cpp and point to dnsseed.mycoin.org (just an example) and the IP address of a VPS that will be acting as the main seed node. An 'A record' has created on site's web sever pointing to the VPS's IP address.

The sipa DNS seeder has been unpacked on the VPS and a load of C++ files are sitting there doing nothing. Are they meant to be compiled? I just can't get my head around this in the instructions:

Quote
On the system vps.example.com, you can now run dnsseed:

./dnsseed -h dnsseed.example.com -n vps.example.com

Many thanks


PereguineBerty (OP)
Member
**
Offline Offline

Activity: 109
Merit: 35


View Profile
April 27, 2014, 03:42:23 PM
 #2

Bump.
PereguineBerty (OP)
Member
**
Offline Offline

Activity: 109
Merit: 35


View Profile
April 27, 2014, 04:14:53 PM
Last edit: April 27, 2014, 07:18:34 PM by PereguineBerty
 #3

Well I looked at it again just now and it appears the files do indeed need compiling. Can't believe I completely overlooked the Makefile yesterday. If anybody finds this thread in future, all you need to do is this:

In your terminal, navigate to the main folder containing the bitcoin-seeder files and type make into the terminal to compile the files.

It it fails to build on 64 bit systems, remove -march=native from the Makefile as this compiler flag can cause architecture issues.

I realize I'm talking to myself in here as nobody else gives a sh*t Smiley but other people with the same issue may find this thread when they search for advice. Any problems that arise will be posted in here with their solutions. In fact, I may even write a complete guide if it all works out ok (fingers crossed).

PereguineBerty (OP)
Member
**
Offline Offline

Activity: 109
Merit: 35


View Profile
April 30, 2014, 04:15:20 PM
Last edit: April 30, 2014, 04:29:48 PM by PereguineBerty
 #4

I had to remove -march=native also - I thought it would never work until i figured that out(what a pain).

I setup 3 seednodes and put them in net.ccp. When i run the DnS seeder i only get 0/3 connected. im pretty sure it should say 3/3 connected. Maybe I dont have things setup right in godaddy?......




I need someone to show me how to setup(DNS Seeder) like I was a 5 year old. I can pay a little. It should not take too much of your time.

PM me if you have done it before(setup DNS seeder) https://github.com/langerhans/dogecoin-seeder
I have a domain and the code already in the source, im running the dns-seeder on a vps and it works but i dont get 3/3 connetions i get 0/3.
 I just really need to know how to setup godaddy.

pm or send me an irc channel to chat


My interpretation is that you need to set up a subdomain within your website according to the address you've stated in net.cpp. So, if your seeder address is dnsseed.yourcoin.org you need to set up a subdomain called dnsseed in your web host's admin panel (not sure if your plan includes cPanel?).

It probably doesn't matter what you've called it in net.cpp; hell you could call it hugsandtickles.yourcoin.com if you so choose but it seems that a subdomain is preferable to normal page links on your website i.e. dnsseed.yourcoin.org is better than yourcoin.org/dnsseeder. The subdomain approach keeps the DNS records separate from the rest of your site.

Once you've got a subdomain you need to set up an authoritive record (A record), which is pretty easy to do. Some instructions on how to do this on GoDaddy are here: http://support.godaddy.com/help/article/680/managing-dns-for-your-domain-names. The A record should be set to your VPS IP address.

You might need to do this twice, once for dnsseed.yourcoin.org and again for www.dnsseed.yourcoin.org (notice the www. prefix on the second example). In your VPS, you then run:

Code:
./dnsseed -h dnsseed.yourcoin.org -n 192.168.0.1  

But make sure you change 192.168.0.1 to your VPS IP address.... and VOILA!!!! Hopefully Smiley
MCDev
Sr. Member
****
Offline Offline

Activity: 680
Merit: 255



View Profile
October 14, 2015, 01:16:19 AM
 #5

I know this is an old post but was hoping you still look at it.  Did you manage to get the seeders working?  I have several vps running and tlds from GoDaddy and can't seem to get it working.


             ▄▆▆▄
           ▄████████▄
        ▄██████████████▄
     ▄███████      ███████▄
  ▄███████            ███████▄
███████                  ███████
█████▀                    ▀▀██▀
█████
█████                       ▄▆█
█████                   ▆██████
█████                   ████████
  ▀█                   █▀ ▐████
▄                          ▐████
██▆▄▄                    ▄█████
███████                  ███████
  ▀███████            ███████▀
     ▀███████      ███████▀
        ▀██████████████▀
           ▀████████▀

Graphene Airdrop Coming Soon by Phore
  █████████████████████████████
███████████████████████████████
████████████████████████████████
████████████████████████████████
████████████████████████████████
████████████████████████████████
█████████               ████████
█████████               ████████
█████████               ████████
█████████               ████████
█████████               ████████
█████████           ▅▆████████▌
█████████     ▅▅▆████████████▌
█████████▆█████████████████████
████████████████████████████████
██████████████████████████████▀
██████████████████████▀▀▀
████████████████▀▀▀
█████████▀▀
█████████
█████████
joe@exor
Jr. Member
*
Offline Offline

Activity: 43
Merit: 16


View Profile WWW
May 07, 2020, 06:45:50 PM
 #6

I realize this is an extremely old post, but it seems that even to this day people still struggle with setting up DNS seeders for their altcoins. I just want to point out that nowadays there is a clone of the bitcoin-seeder called the generic-seeder that is much easier to setup for most altcoins. It adds new optional features, some small fixes and most importantly, you no longer have to edit the source code to get it to work with your altcoin because all the common variables that change across altcoins have been separated into a config file for easy configuration.

Read more here: https://bitcointalk.org/index.php?topic=5239304.0
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!