https://github.com/becklyn/domain-checker
Checks domains and their A records.
https://github.com/becklyn/domain-checker
Last synced: 3 months ago
JSON representation
Checks domains and their A records.
- Host: GitHub
- URL: https://github.com/becklyn/domain-checker
- Owner: Becklyn
- License: bsd-3-clause
- Created: 2018-05-24T14:30:48.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-05-19T16:32:30.000Z (about 5 years ago)
- Last Synced: 2025-01-14T03:13:55.460Z (4 months ago)
- Language: PHP
- Size: 13.7 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
Domain Checker
===============A simple CLI tool to check where A records of a given domain list point to. Can also validate, that they point to the correct IP.
Installation
------------```bash
composer global require becklyn/domain-checker
```Usage
-----Call the CLI command in the directory containing the config.
```bash
# use with default filename "domains.yaml"
domain-checker# or use with other file name
domain-checker check other-file.yaml
```Config File
-----------The config file defines the domains to check and optionally the desired target IP:
```yaml
ip: 127.0.0.1 # optionaldomains:
- example.org
- sub.example.com
```If only a domain without subdomain is given, both the main domain and the "www." subdomain are automatically added.
So in the example config, the following domains will be checked:
- `example.org`
- `www.example.org`
- `sub.example.com`