summaryrefslogtreecommitdiff
path: root/doc/api/dns.md
diff options
context:
space:
mode:
authorVse Mozhet Byt <vsemozhetbyt@gmail.com>2017-02-13 04:49:35 +0200
committerSam Roberts <vieuxtech@gmail.com>2017-02-20 13:11:11 -0800
commit52b253677a96021739d4c31ab4e3a01c3464e6db (patch)
treee29b83c574a9e6d015f2888040c09ebb38b0de10 /doc/api/dns.md
parentdfa8abe1b500b86ffb3951736c209e57d83ed3ed (diff)
downloadandroid-node-v8-52b253677a96021739d4c31ab4e3a01c3464e6db.tar.gz
android-node-v8-52b253677a96021739d4c31ab4e3a01c3464e6db.tar.bz2
android-node-v8-52b253677a96021739d4c31ab4e3a01c3464e6db.zip
doc: fix sorting in API references
PR-URL: https://github.com/nodejs/node/pull/11331 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
Diffstat (limited to 'doc/api/dns.md')
-rw-r--r--doc/api/dns.md18
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/api/dns.md b/doc/api/dns.md
index f705d96246..bb52ad0b5c 100644
--- a/doc/api/dns.md
+++ b/doc/api/dns.md
@@ -288,6 +288,15 @@ Uses the DNS protocol to resolve name server records (`NS` records) for the
contain an array of name server records available for `hostname`
(e.g. `['ns1.example.com', 'ns2.example.com']`).
+## dns.resolvePtr(hostname, callback)
+<!-- YAML
+added: v6.0.0
+-->
+
+Uses the DNS protocol to resolve pointer records (`PTR` records) for the
+`hostname`. The `addresses` argument passed to the `callback` function will
+be an array of strings containing the reply records.
+
## dns.resolveSoa(hostname, callback)
<!-- YAML
added: v0.11.10
@@ -340,15 +349,6 @@ be an array of objects with the following properties:
}
```
-## dns.resolvePtr(hostname, callback)
-<!-- YAML
-added: v6.0.0
--->
-
-Uses the DNS protocol to resolve pointer records (`PTR` records) for the
-`hostname`. The `addresses` argument passed to the `callback` function will
-be an array of strings containing the reply records.
-
## dns.resolveTxt(hostname, callback)
<!-- YAML
added: v0.1.27