DOCS: Improve docs and error messages related to apex domains (#3690)

This commit is contained in:
Tom Limoncelli 2025-07-30 20:43:42 -04:00 committed by GitHub
parent 6cf92437a2
commit b0a57e5c3e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 8 additions and 8 deletions

View file

@ -690,10 +690,10 @@ declare function CNAME(name: string, target: string, ...modifiers: RecordModifie
* );
* ```
*
* **What is "@"** `@` is a special name that means the domain itself, otherwise
* known as the domain's apex, the bare domain, or the naked domain. In the
* above example, `example.com` has an `A` record at the apex of the domain
* (`"1.2.3.4"`).
* **What is "@"?** The label `@` is a special name that means the domain itself,
* otherwise known as the domain's apex, the bare domain, or the naked domain.
* In other words, if you want to put a DNS record at the apex of a domain, use an `"@"` for the label, not an empty string (`""`).
* In the above example, `example.com` has an `A` record with the value `"1.2.3.4"` at the apex of the domain.
*
* # Split Horizon DNS
*

View file

@ -47,10 +47,10 @@ D("other-example.com", REG_MY_PROVIDER, DnsProvider(DSP_MY_PROVIDER),
{% endcode %}
{% hint style="info" %}
**What is "@"** `@` is a special name that means the domain itself, otherwise
known as the domain's apex, the bare domain, or the naked domain. In the
above example, `example.com` has an `A` record at the apex of the domain
(`"1.2.3.4"`).
**What is "@"?** The label `@` is a special name that means the domain itself,
otherwise known as the domain's apex, the bare domain, or the naked domain.
In other words, if you want to put a DNS record at the apex of a domain, use an `"@"` for the label, not an empty string (`""`).
In the above example, `example.com` has an `A` record with the value `"1.2.3.4"` at the apex of the domain.
{% endhint %}
# Split Horizon DNS