Author

Topic: Need help with altcoin DNS SEED config- only returning a single IP (Read 241 times)

jr. member
Activity: 43
Merit: 16
I realize this is an older thread, but 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://bitcointalksearch.org/topic/dns-seeder-setup-guide-using-the-generic-seeder-5239304
legendary
Activity: 1036
Merit: 1001
Syscoin- Changing the way people do business.
Figured it out, hopefully this helps some other lost soul but you need to update the PROTOCOL_VERSION in serialize.h which was missing from the instructions I found here on BCT.

https://github.com/syscoin/syscoin-seeder/commit/a96fb2d870c5c651e17f1d65db825f95cf87cb78  Wink
legendary
Activity: 1036
Merit: 1001
Syscoin- Changing the way people do business.
When I enable all the printf statements I get output like this, which seems to indicate some issue but im not sure what:

Code:
Loading dnsseed.dat...done
Starting 4 DNS threads for seed2.syscoin.org on node2.syscoin.org (port 5353).......done
Starting seeder...done
Starting 96 crawler threads...done
[18-05-03 22:16:04] 0/12 available (12 tried in 48s, 0 new, 0 active), 0 banned; 10 DNS requests, 10 db queries
54.190.203.41:8369    : SEND version
54.190.203.41:8369    : RECV rejectsing reject
54.190.203.41:8369    : done processing reject prematurely)
54.190.203.41:8369    : BAD (connection closed prematurely)
54.190.203.41:8369: BAD!!!ND version
13.209.29.80:8369     : got bad result: success=0/141; 2H:0.00%-0.00%(6.15) 8H:0.00%-0.64%(27.00) 1D:0.00%-18.61%(67.88) 1W:0.00%-78.65%(125.29)
18.204.236.41:8369    : got bad result: success=0/155; 2H:0.00%-0.00%(6.15) 8H:0.00%-0.38%(27.07) 1D:0.00%-15.59%(70.26) 1W:0.00%-76.68%(136.16)
34.241.109.167:8369   : got bad result: success=0/159; 2H:0.00%-0.00%(6.15) 8H:0.00%-0.33%(27.09) 1D:0.00%-14.95%(70.89) 1W:0.00%-76.22%(139.23)
kjy2eqzk4zwi5zd3.onion:8369: got bad result: success=0/150; 2H:0.00%-0.00%(6.15) 8H:0.00%-0.46%(27.05) 1D:0.00%-16.60%(69.46) 1W:0.00%-77.37%(132.32)
kjy2eqzk4zwi5zd3.onion:8379: got bad result: success=0/166; 2H:0.00%-0.00%(6.15) 8H:0.00%-0.11%(27.10) 1D:0.00%-10.34%(71.72) 1W:0.00%-72.31%(144.39)
192.241.200.33:8369   : got bad result: success=0/166; 2H:0.00%-0.00%(6.15) 8H:0.00%-0.11%(27.10) 1D:0.00%-10.34%(71.72) 1W:0.00%-72.31%(144.39)
128.199.144.240:8369  : got bad result: success=0/166; 2H:0.00%-0.00%(6.15) 8H:0.00%-0.11%(27.10) 1D:0.00%-10.34%(71.72) 1W:0.00%-72.31%(144.39)
13.68.29.49:8369      : got bad result: success=0/166; 2H:0.00%-0.00%(6.15) 8H:0.00%-0.11%(27.10) 1D:0.00%-10.34%(71.72) 1W:0.00%-72.32%(144.39)
13.82.149.167:8369    : got bad result: success=0/166; 2H:0.00%-0.00%(6.15) 8H:0.00%-0.11%(27.10) 1D:0.00%-10.34%(71.72) 1W:0.00%-72.32%(144.39)
52.15.235.51:8369     : got bad result: success=0/166; 2H:0.00%-0.00%(6.15) 8H:0.00%-0.11%(27.10) 1D:0.00%-10.38%(71.72) 1W:0.00%-72.36%(144.39)
35.173.216.61:8369    : got bad result: success=0/161; 2H:0.00%-0.00%(6.15) 8H:0.00%-0.29%(27.09) 1D:0.00%-14.24%(71.18) 1W:0.00%-75.70%(140.75)
54.190.203.41:8369    : got bad result: success=0/161; 2H:0.00%-0.00%(6.15) 8H:0.00%-0.29%(27.09) 1D:0.00%-14.24%(71.18) 1W:0.00%-75.70%(140.75)
legendary
Activity: 1036
Merit: 1001
Syscoin- Changing the way people do business.
bump and here is more info, this seems wrong compared to what i seeing on litecointools:

Code:
dig T seed2.syscoin.org

; <<>> DiG 9.10.3-P4-Ubuntu <<>> T seed2.syscoin.org
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 45249
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;T. IN A

;; AUTHORITY SECTION:
. 38 IN SOA a.root-servers.net. nstld.verisign-grs.com. 2018050302 1800 900 604800 86400

;; Query time: 0 msec
;; SERVER: 172.31.0.2#53(172.31.0.2)
;; WHEN: Thu May 03 22:00:54 UTC 2018
;; MSG SIZE  rcvd: 105

;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 48651
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;seed2.syscoin.org. IN A

;; ANSWER SECTION:
seed2.syscoin.org. 60 IN A 13.209.29.80

;; Query time: 140 msec
;; SERVER: 172.31.0.2#53(172.31.0.2)
;; WHEN: Thu May 03 22:00:54 UTC 2018
;; MSG SIZE  rcvd: 62

litecointools:

Code:
dig T  dnsseed.litecointools.com

; <<>> DiG 9.10.3-P4-Ubuntu <<>> T dnsseed.litecointools.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 48718
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;T. IN A

;; AUTHORITY SECTION:
. 60 IN SOA a.root-servers.net. nstld.verisign-grs.com. 2018050302 1800 900 604800 86400

;; Query time: 19 msec
;; SERVER: 172.31.0.2#53(172.31.0.2)
;; WHEN: Thu May 03 22:00:32 UTC 2018
;; MSG SIZE  rcvd: 105

;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 64967
;; flags: qr rd ra; QUERY: 1, ANSWER: 23, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;dnsseed.litecointools.com. IN A

;; ANSWER SECTION:
dnsseed.litecointools.com. 60 IN A 37.48.108.187
dnsseed.litecointools.com. 60 IN A 39.106.49.237
dnsseed.litecointools.com. 60 IN A 54.215.234.73
dnsseed.litecointools.com. 60 IN A 62.210.151.165
dnsseed.litecointools.com. 60 IN A 68.97.206.162
dnsseed.litecointools.com. 60 IN A 68.99.17.120
dnsseed.litecointools.com. 60 IN A 81.17.31.108
dnsseed.litecointools.com. 60 IN A 82.146.50.138
dnsseed.litecointools.com. 60 IN A 86.154.14.5
dnsseed.litecointools.com. 60 IN A 88.198.67.196
dnsseed.litecointools.com. 60 IN A 93.95.100.155
dnsseed.litecointools.com. 60 IN A 140.82.63.220
dnsseed.litecointools.com. 60 IN A 142.4.212.118
dnsseed.litecointools.com. 60 IN A 144.76.168.46
dnsseed.litecointools.com. 60 IN A 146.71.76.237
dnsseed.litecointools.com. 60 IN A 148.66.62.234
dnsseed.litecointools.com. 60 IN A 159.65.183.157
dnsseed.litecointools.com. 60 IN A 173.212.205.146
dnsseed.litecointools.com. 60 IN A 185.208.208.147
dnsseed.litecointools.com. 60 IN A 203.152.216.75
dnsseed.litecointools.com. 60 IN A 212.83.142.220
dnsseed.litecointools.com. 60 IN A 213.136.81.167
dnsseed.litecointools.com. 60 IN A 35.158.105.195

;; Query time: 206 msec
;; SERVER: 172.31.0.2#53(172.31.0.2)
;; WHEN: Thu May 03 22:00:32 UTC 2018
;; MSG SIZE  rcvd: 422
legendary
Activity: 1036
Merit: 1001
Syscoin- Changing the way people do business.
Oh and fwiw there are hundreds of nodes connected to these seed addresses, so there's no reason for them not to be returning +1 IPs...
legendary
Activity: 1036
Merit: 1001
Syscoin- Changing the way people do business.
I'm trying to get DNS seeds setup properly for Syscoin. We've got the NS and A records all setup properly and a fork for sipa-seeder running but for some reason its only returning 1 ip when queried rather than a list like I see on the bitcoin/litecoin DNS seeds. I'm don't have a wealth of experience with the seeder software so I'm hoping someone can point me in the right direction.

Here are the changes made to the running sipa-seeder to support Syscoin: https://github.com/syscoin/syscoin-seeder/commit/040ffc1d7a74d65b60451104eb50be9bebaa1129

If you nslookup seed1.syscoin.org or seed2.syscoin.org you can see it returns a single IP which is being served by the sipa-seeder software I just don't know why its not returning more than one:

Code:
nslookup seed1.syscoin.org
Server: 172.31.0.2
Address: 172.31.0.2#53

Non-authoritative answer:
Name: seed1.syscoin.org
Address: 13.209.29.80

compared to something like dnsseed.litcointools.com:

Code:
nslookup dnsseed.litecointools.com
Server: 172.31.0.2
Address: 172.31.0.2#53

Non-authoritative answer:
Name: dnsseed.litecointools.com
Address: 60.205.112.102
Name: dnsseed.litecointools.com
Address: 62.138.184.137
Name: dnsseed.litecointools.com
Address: 65.189.240.126
Name: dnsseed.litecointools.com
Address: 68.97.206.162
Name: dnsseed.litecointools.com
Address: 86.28.155.54
Name: dnsseed.litecointools.com
Address: 89.221.215.56
Name: dnsseed.litecointools.com
Address: 95.183.55.132
Name: dnsseed.litecointools.com
Address: 96.27.8.242
Name: dnsseed.litecointools.com
Address: 122.148.179.59
Name: dnsseed.litecointools.com
Address: 128.199.253.72
Name: dnsseed.litecointools.com
Address: 159.65.47.28
Name: dnsseed.litecointools.com
Address: 159.89.182.88
Name: dnsseed.litecointools.com
Address: 173.249.22.62
Name: dnsseed.litecointools.com
Address: 173.249.63.31
Name: dnsseed.litecointools.com
Address: 203.152.216.75
Name: dnsseed.litecointools.com
Address: 209.108.206.229
Name: dnsseed.litecointools.com
Address: 212.115.192.67
Name: dnsseed.litecointools.com
Address: 13.232.21.82
Name: dnsseed.litecointools.com
Address: 23.111.173.210
Name: dnsseed.litecointools.com
Address: 46.166.160.56
Name: dnsseed.litecointools.com
Address: 47.93.77.195
Name: dnsseed.litecointools.com
Address: 47.94.37.254
Name: dnsseed.litecointools.com
Address: 47.94.82.60

Very much appreciate any help!
Jump to: