Skip to content
/ dnsseed Public

checks your cryptocoin's dnsseed response node count

License

Notifications You must be signed in to change notification settings

linki/dnsseed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dnsseed

checks your coin's dnsseed response node count

installation

get ruby, then:

git clone https://github.com/linki/dnsseed.git
cd dnsseed
bundle install

usage

./dnsseed.rb dnsseed.bluematt.me
=> 21 active nodes

it prints the number of IPs returned by your dnsseed node. pass it a threshold and check the exit code to make sure your dnsseed node still works, e.g. for use in a ci server.

./dnsseed.rb dnsseed.bluematt.me 20
=> 21 active nodes
echo $?
=> 0
./dnsseed.rb dnsseed.bluematt.me 22
=> 21 active nodes
echo $?
=> 1

works for other coins as well:

./dnsseed.rb dnsseed.earthcointools.org
=> 12 active nodes

don't have ruby? use docker:

docker run quay.io/linki/dnsseed dnsseed.earthcointools.org
=> 12 active nodes

About

checks your cryptocoin's dnsseed response node count

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages