library sauron
Laravel 5.3+ project to monitor changes in Whois and DNS records.
snaver/sauron
Laravel 5.3+ project to monitor changes in Whois and DNS records.
- Thursday, March 2, 2017
- by Snaver
- Repository
- 4 Watchers
- 0 Stars
- 21 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 1 Forks
- 0 Open issues
- 1 Versions
- 0 % Grown
Sauron
Laravel 5.3 project to monitor changes in Whois and DNS records., (*1)
Utilising Laravel Queues & Jobs, checks can be performed on a set of defined domains for either DNS or Whois records. The Laravel Scheduler can be used to arrange when these checks are run., (*2)
Alternatively a new set of Laravel artisan commands are provided to run these checks php artisan checks:run dns
and php artisan checks:run whois
., (*3)
Both checks return JSON results which are stored as text diffs in a single GitHub Gist, by storing them this way; instead of say a database it prevents data duplication and allows you to see the historical differences over time., (*4)
Configuration
- ENV -
SAURON_EMAIL
- Config -
github.connections.main.token
(https://github.com/GrahamCampbell/Laravel-GitHub/blob/master/config/github.php)
- ENV -
SAURON_GITHUB_GIST_ID
- ENV -
SAURON_JSONWHOISAPI_API_KEY
- ENV -
SAURON_JSONWHOISAPI_CUSTOMER_ID
TODO
- Add notifications upon changes - email, slack, webhook
- Create interface for storing records, so either github, bitbucket, text file could be used
- Add options for using different providers, currently using dns-lg.com for DNS records and jsonwhoisapi.com for Whois checks
- Create Laravel/Unit tests