Hi,
I'm trying to setup bitcoin seeder, but i'm having problem with correct DNS setup.
Domain is registered in Goddady, and i have DNS record:
NS @ ns1.seederio.com 1h
VPS in Vultr, with IPv6 and reverse DNS
xxxxxxxxxxxxxxxxxxxxxxxxxxx ns1.seederio.com
Command to run seeder (with root priv):
But after command:
dig -t A ns1.seederio.com
I've got following message:
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;ns1.seederio.com. IN A
;; AUTHORITY SECTION:
seederio.com. 600 IN SOA ns13.domaincontrol.com. dns.jomax.net. 2019123003 28800 7200 604800 600
;; Query time: 217 msec
;; SERVER: 62.179.1.61#53(62.179.1.61)
;; WHEN: Mon Dec 30 13:15:17 CET 2019
;; MSG SIZE rcvd: 116
For
dig -t NS ns1.seederio.com
I've got the same result. Could you help me with this problem?
You are missing some steps in your DNS setup.
First of all, you are required to create both an NS and "A" record, and it looks like you have only created an NS record (and even that I don't think is true because you seem to be trying to use your domains default ns1 nameserver). Next, your NS record must point to the "A" record, and your "A" record must point to the ip address of your vps. And lastly, your arguments for running the seeder app are mixed up a bit.
To correct your current setup I would do something like this:
1) Create an "A" record that points to the ip address for your vps (ex: 111.222.123.231). You can give it any name you want but for this example lets call it vps.seederio.com
2) Create a new NS record and point it to the "A" record you just created. The NS record can also be called whatever you want but for this example lets call it seeder.seederio.com
3) On your vps, setup the DNS seeder app according to the instructions (I believe you already did this step)
4) Run the following cmd on the vps to start crawling your coins network and simultaneously start listening for DNS requests:
./dnsseed -h seeder.seederio.com -n vps.seederio.com -m email.example.com
5) Wait a few minutes to allow the seeder to find the "good" nodes on your network.
6) You can test that your seeder is working by using the following cmd, but keep in mind that these values can be cached and may not always give a good result even if it is working:
nslookup seeder.seederio.com
If all is working it should return a list of "good" ip addresses that are valid seed nodes for your network. An alternative to using the nslookup cmd is to use an online service to check if your seeder is working. You can visit this page after your seeder is running to see if it is working (you should see lots of ip addresses and green checkmarks. Seeing no ip addresses and red X's means something isnt working):
https://www.whatsmydns.net/#A/seeder.seederio.com7) That's it! You are done!