summaryrefslogtreecommitdiff
path: root/doc/api/dns.md
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2018-02-20 15:10:10 -0800
committerBenjamin Gruenbaum <benji@peer5.com>2018-02-23 02:53:21 +0200
commit9cb96ac82808254e3322119eb1e6b2a7b847741e (patch)
tree7f3be41a7e2e3e28f5b3e87258d5fc37d92829ed /doc/api/dns.md
parent54cb3c5759919745c25554daffc613dbee230d37 (diff)
downloadandroid-node-v8-9cb96ac82808254e3322119eb1e6b2a7b847741e.tar.gz
android-node-v8-9cb96ac82808254e3322119eb1e6b2a7b847741e.tar.bz2
android-node-v8-9cb96ac82808254e3322119eb1e6b2a7b847741e.zip
doc: remove extraneous "for example" text
No need to announce obvious example code as being example code. Remove unneeded "for example" text as one small way to try to keep the docs more concise.. PR-URL: https://github.com/nodejs/node/pull/18890 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Matheus Marchini <matheus@sthima.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Diffstat (limited to 'doc/api/dns.md')
-rw-r--r--doc/api/dns.md6
1 files changed, 0 insertions, 6 deletions
diff --git a/doc/api/dns.md b/doc/api/dns.md
index c1ec1cfa51..cda4823e3c 100644
--- a/doc/api/dns.md
+++ b/doc/api/dns.md
@@ -114,8 +114,6 @@ Returns an array of IP address strings, formatted according to [rfc5952][],
that are currently configured for DNS resolution. A string will include a port
section if a custom port is used.
-For example:
-
<!-- eslint-disable semi-->
```js
[
@@ -369,8 +367,6 @@ function will contain an array of objects with the following properties:
* `order`
* `preference`
-For example:
-
<!-- eslint-skip -->
```js
{
@@ -558,8 +554,6 @@ Sets the IP address and port of servers to be used when performing DNS
resolution. The `servers` argument is an array of [rfc5952][] formatted
addresses. If the port is the IANA default DNS port (53) it can be omitted.
-For example:
-
```js
dns.setServers([
'4.4.4.4',