Skip to content

Commit caf71e0

Browse files
Uzlopakrichardlau
authored andcommitted
net: fix example IPv4 in dns docs
PR-URL: #51377 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Paolo Insogna <[email protected]>
1 parent 4372f6a commit caf71e0

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

doc/api/dns.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -167,9 +167,9 @@ section if a custom port is used.
167167

168168
```js
169169
[
170-
'4.4.4.4',
170+
'8.8.8.8',
171171
'2001:4860:4860::8888',
172-
'4.4.4.4:1053',
172+
'8.8.8.8:1053',
173173
'[2001:4860:4860::8888]:1053',
174174
]
175175
```
@@ -818,9 +818,9 @@ addresses. If the port is the IANA default DNS port (53) it can be omitted.
818818

819819
```js
820820
dns.setServers([
821-
'4.4.4.4',
821+
'8.8.8.8',
822822
'[2001:4860:4860::8888]',
823-
'4.4.4.4:1053',
823+
'8.8.8.8:1053',
824824
'[2001:4860:4860::8888]:1053',
825825
]);
826826
```
@@ -935,9 +935,9 @@ section if a custom port is used.
935935

936936
```js
937937
[
938-
'4.4.4.4',
938+
'8.8.8.8',
939939
'2001:4860:4860::8888',
940-
'4.4.4.4:1053',
940+
'8.8.8.8:1053',
941941
'[2001:4860:4860::8888]:1053',
942942
]
943943
```
@@ -1385,9 +1385,9 @@ addresses. If the port is the IANA default DNS port (53) it can be omitted.
13851385

13861386
```js
13871387
dnsPromises.setServers([
1388-
'4.4.4.4',
1388+
'8.8.8.8',
13891389
'[2001:4860:4860::8888]',
1390-
'4.4.4.4:1053',
1390+
'8.8.8.8:1053',
13911391
'[2001:4860:4860::8888]:1053',
13921392
]);
13931393
```

0 commit comments

Comments
 (0)