summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorUppinder Chugh <uppinderchugh@gmail.com>2017-04-07 16:03:33 +0530
committerVse Mozhet Byt <vsemozhetbyt@gmail.com>2017-04-09 01:13:52 +0300
commitc0953945a82d01250f27a9f3f07460983fe54a13 (patch)
tree255aa698f9b077a83939f4dfb45a7ef56dcaf337 /doc
parent8191af5b292aa5d5f07492105781b6cf1d91c42f (diff)
downloadandroid-node-v8-c0953945a82d01250f27a9f3f07460983fe54a13.tar.gz
android-node-v8-c0953945a82d01250f27a9f3f07460983fe54a13.tar.bz2
android-node-v8-c0953945a82d01250f27a9f3f07460983fe54a13.zip
doc: fix missing argument for dns.resolvePtr()
PR-URL: https://github.com/nodejs/node/pull/12256 Fixes: https://github.com/nodejs/node/issues/12161 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Roman Reiss <me@silverwind.io> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/api/dns.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/dns.md b/doc/api/dns.md
index 45d494eab3..329ff0c3ae 100644
--- a/doc/api/dns.md
+++ b/doc/api/dns.md
@@ -323,7 +323,7 @@ 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)
+## dns.resolvePtr(hostname, callback)
<!-- YAML
added: v6.0.0
-->