Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/linki/dnsseed

checks your cryptocoin's dnsseed response node count
https://github.com/linki/dnsseed

cryptocurrency dnsseed earthcoin

Last synced: about 2 months ago
JSON representation

checks your cryptocoin's dnsseed response node count

Awesome Lists containing this project

README

        

# 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
```