From 6826637f11f7ba9c59c137a8fa9b5f14978c5f81 Mon Sep 17 00:00:00 2001 From: Uppinder Chugh Date: Fri, 7 Apr 2017 16:03:33 +0530 Subject: [PATCH] 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 Reviewed-By: Roman Reiss Reviewed-By: Luigi Pinca --- doc/api/dns.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/dns.md b/doc/api/dns.md index 45d494eab3bcf2..329ff0c3ae028a 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)