1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00

DOCS: The Javascript code examples are no longer tied to a DNS provider (#2443)

This commit is contained in:
Jeffrey Cafferata
2023-06-18 05:35:13 +02:00
committed by GitHub
parent 5b3bb312ea
commit 8656ffdbd5
24 changed files with 34 additions and 44 deletions

View File

@@ -8,8 +8,8 @@ ts_return: string
---
`REV` returns the reverse lookup domain for an IP network. For
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.`.
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()`](D.md) functions to create reverse DNS lookup zones.
This is a convenience function. You could specify `D("3.2.1.in-addr.arpa",