Snaver / Sauron by Snaver

Laravel 5.3+ project to monitor changes in Whois and DNS records.
21
2
6
Package Data
Maintainer Username: Snaver
Maintainer Contact: git@snaver.net (Richard)
Package Create Date: 2017-02-22
Package Last Update: 2017-03-02
Language: PHP
License: MIT
Last Refreshed: 2024-11-14 15:09:10
Package Statistics
Total Downloads: 21
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 2
Total Watchers: 6
Total Forks: 1
Total Open Issues: 0

Sauron

Laravel 5.3 project to monitor changes in Whois and DNS records.

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.

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.

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.

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