I am confused setting up nameserver to run with dnsseeder. I modified dnsseeder to work with my new altcoin.
Here is what is did.
I have vps.example.com setup with amazon ec2 and i compiled dnsseeder. I went to godaddy dns settings of my domain example.com and added my 1.2.3.4 (elastic public ip)
Hostname in Godaddy
vps.example.com mapped to 1.2.3.4
and the nameservers in godaddy domain are like this
Type Name Value TTL Actions
A @ 1.2.3.4 1 Hour
NS @ ns27.domaincontrol.com 1 Hour
NS @ ns28.domaincontrol.com 1 Hour
NS dnsseed vps.example.com 1 Hour
This way dnsseed.example.com points to vps.example.com (this is my hostname where i run dnsseeder)
Then i run dnsseeder
./dnsseed -h dnsseed.example.com -n vps.example.com -m root.example.com
Supporting whitelisted filters: 0x1,0x5,0x9,0xd
Loading dnsseed.dat...done
Starting 4 DNS threads for dnsseed.citizenshipcoin.org on vps.citizenshipcoin.org (port 53).......done
Starting seeder...done
Starting 96 crawler threads...done
[18-03-07 00:49:14] 0/1 [18-03-07 00:49:15] 0/1 available (1 tried in 2s [18-03-07 00:49:16] 0/1 available (1 tried in 3s, 0 new, 0 active), 0 ba [18-03-07 00:49:17] 0/1 available (1 tried in 4s, 0 new, 0 active), 0 banned; 0 DNS requests, 0
when i query nslook, it is not returning any dns ips.
$ dig -t NS dnsseed.example.com
; <<>> DiG 9.7.3 <<>> -t NS dnsseed.example.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 44679
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;dnsseed.example.com. IN NS
;; Query time: 1554 msec
;; SERVER: 192.168.0.1#53(192.168.0.1)
;; WHEN: Wed Mar 7 01:40:44 2018
;; MSG SIZE rcvd: 45
It seems something is wrong. I am supposed to receive multiple set of IPs as answer.
What did i do wrong?