Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorryan <chai_xb@163.com>2021-10-26 14:02:53 +0300
committervoltrexmaster <mohammadkeyvanzade94@gmail.com>2021-10-28 19:22:57 +0300
commit17d0830cf88137eed940f81e4b86ad044d2b02da (patch)
tree175b2e4bec544dc6532b6a191f64939f406ab11f /doc/api/dns.md
parentf3125cf3019be3cd132a683fe735533bccf02981 (diff)
doc: fix markdown syntax and HTML tag misses
PR-URL: https://github.com/nodejs/node/pull/40608 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Voltrex <mohammadkeyvanzade94@gmail.com>
Diffstat (limited to 'doc/api/dns.md')
-rw-r--r--doc/api/dns.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/api/dns.md b/doc/api/dns.md
index bcbdeb9bbb7..c1089f2b244 100644
--- a/doc/api/dns.md
+++ b/doc/api/dns.md
@@ -344,7 +344,7 @@ records. The type and structure of individual results varies based on `rrtype`:
| `'TXT'` | text records | {string\[]} | [`dns.resolveTxt()`][] |
On error, `err` is an [`Error`][] object, where `err.code` is one of the
-[DNS error codes]().
+[DNS error codes][].
## `dns.resolve4(hostname[, options], callback)`
@@ -954,7 +954,7 @@ based on `rrtype`:
| `'TXT'` | text records | {string\[]} | [`dnsPromises.resolveTxt()`][] |
On error, the `Promise` is rejected with an [`Error`][] object, where `err.code`
-is one of the [DNS error codes]().
+is one of the [DNS error codes][].
### `dnsPromises.resolve4(hostname[, options])`
@@ -1224,7 +1224,7 @@ Performs a reverse DNS query that resolves an IPv4 or IPv6 address to an
array of host names.
On error, the `Promise` is rejected with an [`Error`][] object, where `err.code`
-is one of the [DNS error codes]().
+is one of the [DNS error codes][].
### `dnsPromises.setDefaultResultOrder(order)`