Skip to content

Commit 56220fb

Browse files
authored
DOCS: Clarify PTR example (#2792)
1 parent 447db0e commit 56220fb

File tree

1 file changed

+3
-3
lines changed
  • documentation/functions/domain

1 file changed

+3
-3
lines changed

documentation/functions/domain/PTR.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ then the name will be replaced with `4.3`. Note that the output
4848
of `REV("1.2.3.4")` is `4.3.2.1.in-addr.arpa.`, which means the following
4949
are all equivalent:
5050

51-
* `PTR(REV("1.2.3.4"), `
52-
* `PTR("4.3.2.1.in-addr.arpa."), `
53-
* `PTR("4.3",` // Assuming the domain is `2.1.in-addr.arpa`
51+
* `PTR(REV("1.2.3.4", ...`
52+
* `PTR("4.3.2.1.in-addr.arpa.", ...`
53+
* `PTR("4.3", ...` // Assuming the domain is `2.1.in-addr.arpa`
5454

5555
All magic is RFC2317-aware. We use the first format listed in the
5656
RFC for both [`REV()`](../global/REV.md) and `PTR()`. The format is

0 commit comments

Comments
 (0)