Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

exp:expstaticdns

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.

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/examples/commands/expstaticdns.md

On this page

exp:expstaticdns

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.

Script bin/php/expstaticdns.php, code in kernel/private/classes/commands/expstaticdns.php. Run it from the installation root, as the user the web server runs as:

./console exp:expstaticdns --help
./console exp:static:dns --help
php bin/php/expstaticdns.php --help

Help text

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

OptionValueHelp
--ownerrequiredThe GitHub account or organization that owns the repository (the CNAME must name <owner>.github.io)
--formatrequiredtext (default) or json (the machine output exp-static/1)

Read from the option definitions in the code (startup(), getOptions(), options() or ezcConsoleOption). Every script also takes the standard options of the script framework (--help, --siteaccess, --debug, --quiet, --allow-root-user ...).

Arguments: [domain].


Generated by ./console exp:help:examples from bin/php/expstaticdns.php, kernel/private/classes/commands/expstaticdns.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x