exp:expstaticdns
Available since Exponential 6.0.15 (in development, not in a release yet).
Summary
Check the DNS records of a custom domain for GitHub Pages: the A, AAAA and CNAME records compared with GitHub's addresses, and what to change
Usage
./console exp:expstaticdns [options] php bin/php/expstaticdns.php [options] ./console exp:static:dns [options]
Aliases
exp:static:dns
Help
The output of ./console help exp:expstaticdns (the script run with --help), without the standard options:
Usage: bin/php/expstaticdns.php [OPTION]... [DOMAIN] The DNS check of a custom domain for GitHub Pages Looks the domain up and compares its records with what GitHub Pages needs: an apex domain (example.com) has the four A records 185.199.108.153 to 185.199.111.153 (and, optionally, the AAAA records), a subdomain (www.example.com) a CNAME to <owner>.github.io. It lists what to change. The owner comes from --owner, or from the Remote of the target whose CustomDomain is the domain. ./console exp:static:dns www.example.com ./console exp:static:dns example.com --owner=se7enxweb --format=json Options: --owner=VALUE The GitHub account or organization that owns the repository (the CNAME must name <owner>.github.io) --format=VALUE text (default) or json (the machine output exp-static/1)
Options
| Option | Value | Description |
|---|---|---|
| --owner | required | The GitHub account or organization that owns the repository (the CNAME must name <owner>.github.io) |
| --format | required | text (default) or json (the machine output exp-static/1) |
Arguments
[domain]
Standard options
Every script also takes the standard options of the script framework: --help, --quiet, --siteaccess, --debug, --colors, --no-colors, --logfiles, --no-logfiles, --verbose and --allow-root-user.
Source
bin/php/expstaticdns.php, kernel/private/classes/commands/expstaticdns.php
See also
Generated example: exp:expstaticdns
Added to the reference for Exponential 6.0.15.
Contributors
- Graham Brookins Updated
Comments
Add a comment