The seeder of the Qitmeer
git clone https://github.com/Qitmeer/qitmeer-seeder.git
cd qitmeer-seeder
go build
See Qitmeer
Notice:
--getaddrpercent=100 ,start your Qitmeer with this parameter.
The Qitmeer p2p port must use default port (mainnet 830,testnet 1830,see Qitmmer help)
# start qitmeer
./qitmeer --testnet --getaddrpercent=100
You have atleast 2 domain names
example:
seed.example.com # DNS type namesever(ns), to ns.examplex.com
ns.examplex.com # DNS type A , to your seed server ip
Notice:
deafult dns server port 53,so you should config your server firewall and open udp port 53
# start qitmeer-seeder
./qitmeer-seeder --testnet -H example.com -n ns.example.com -l 0.0.0.0:53 -s your-qitmeer-p2plisten-ip
- check seed.example.com's NS is ns.example.com
dig -t ns seed.example.com
# show ...
;; ANSWER SECTION:
seed.example.com. 1 IN NS ns.example.com.
- check qitmeer good ip list
You should wait the blocks sync finished*
dig seed.example.com
# show ...
;; ANSWER SECTION:
seed.example.com. 1 IN A xxx.xxx.xxx.xxx
seed.example.com. 1 IN A xxx.xxx.xxx.xxx
...