mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-12-09 13:46:07 +08:00
DOCS: Improve docs and error messages related to apex domains (#3690)
This commit is contained in:
parent
6cf92437a2
commit
b0a57e5c3e
2 changed files with 8 additions and 8 deletions
8
commands/types/dnscontrol.d.ts
vendored
8
commands/types/dnscontrol.d.ts
vendored
|
|
@ -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
|
||||
*
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue