Skip to content

joeig/domainwatchdog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Domainwatchdog 🐶

Test coverage Go Report Card

Domainwatchdog helps you to determine the availability of domains.

Setup

go install github.com/joeig/domainwatchdog/cmd/domainwatchdog@latest

Usage

$ domainwatchdog -domains "example.com,example.net,example.org,example5928474.de"
status of domain "example.com": "domain is given"
status of domain "example.net": "domain is given"
status of domain "example.org": "domain is given"
domain "example5928474.de" is available: "domain not found"

Domainwatchdog performs a whois lookup and matches the result with commonly used patterns that indicate if a certain domain is given or available.

Exit codes

The exit codes harmonize nicely with Icinga's check plugin API.

Code Description
0 All domains are given
1 Fatal error
2 At least one domain is available1
3 Unknown error

Footnotes

  1. If one domain is available but another one has a different status, exit code 2 has precedence.

About

Monitor domain availability

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published