mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
DOCS: Fix typos, word usage, and inline code in docs (#1805)
This commit is contained in:
@@ -55,7 +55,7 @@ anything at a particular label, therefore DNSControl prevents you from
|
||||
adding records at a label that is `IGNORE_NAME`'ed.
|
||||
|
||||
Use `IGNORE_NAME("@")` to ignore at the domain's apex. Most providers
|
||||
insert magic or unchangable records at the domain's apex; usually `NS`
|
||||
insert magic or unchangeable records at the domain's apex; usually `NS`
|
||||
and `SOA` records. DNSControl treats them specially.
|
||||
|
||||
# Errors
|
||||
|
@@ -8,7 +8,7 @@ parameters:
|
||||
|
||||
PTR adds a PTR record to the domain.
|
||||
|
||||
The name is normally a the relative label for the domain, or a FQDN that ends with `.`. If magic mode is enabled (see below) it can also be an IP address, which will be replaced by the proper string automatically, thus
|
||||
The name is normally a relative label for the domain, or a FQDN that ends with `.`. If magic mode is enabled (see below) it can also be an IP address, which will be replaced by the proper string automatically, thus
|
||||
saving the user from having to reverse the IP address manually.
|
||||
|
||||
Target should be a string representing the FQDN of a host. Like all FQDNs in DNSControl, it must end with a `.`.
|
||||
|
@@ -9,7 +9,7 @@ example `REV('1.2.3.0/24')` returns `3.2.1.in-addr.arpa.` and
|
||||
`REV('2001:db8:302::/48)` returns `2.0.3.0.8.b.d.0.1.0.0.2.ip6.arpa.`.
|
||||
This is used in `D()` functions to create reverse DNS lookup zones.
|
||||
|
||||
This is a convenience function. You could specify `D('3.2.1.in-addr.arpa`,
|
||||
This is a convenience function. You could specify `D('3.2.1.in-addr.arpa',
|
||||
...` if you like to do things manually but why would you risk making
|
||||
typos?
|
||||
|
||||
@@ -26,7 +26,7 @@ If the address does not include a "/" then `REV` assumes /32 for IPv4 addresses
|
||||
and /128 for IPv6 addresses.
|
||||
|
||||
Note that the lower bits (the ones outside the netmask) must be zeros. They are not
|
||||
zeroed out automatically. Thus, `REV('1.2.3.4/24') is an error. This is done
|
||||
zeroed out automatically. Thus, `REV('1.2.3.4/24')` is an error. This is done
|
||||
to catch typos.
|
||||
|
||||
{% capture example %}
|
||||
|
@@ -64,8 +64,8 @@ D("example.tld", REG, DSP, ...
|
||||
"~all"
|
||||
],
|
||||
flatten: [
|
||||
"spf-basic.fogcreek.com", // Rational: Being deprecated. Low risk if it breaks.
|
||||
"450622.spf05.hubspotemail.net" // Rational: Unlikely to change without warning.
|
||||
"spf-basic.fogcreek.com", // Rationale: Being deprecated. Low risk if it breaks.
|
||||
"450622.spf05.hubspotemail.net" // Rationale: Unlikely to change without warning.
|
||||
]
|
||||
}),
|
||||
);
|
||||
|
Reference in New Issue
Block a user