From 52b253677a96021739d4c31ab4e3a01c3464e6db Mon Sep 17 00:00:00 2001 From: Vse Mozhet Byt Date: Mon, 13 Feb 2017 04:49:35 +0200 Subject: doc: fix sorting in API references PR-URL: https://github.com/nodejs/node/pull/11331 Reviewed-By: James M Snell Reviewed-By: Sam Roberts --- doc/api/dns.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'doc/api/dns.md') 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) + + +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) - -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)