Skip to content

Commit e32adf1

Browse files
committed
net: fix example IPv4 in dns docs
1 parent 68c8472 commit e32adf1

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
```
@@ -820,9 +820,9 @@ addresses. If the port is the IANA default DNS port (53) it can be omitted.
820820

821821
```js
822822
dns.setServers([
823-
'4.4.4.4',
823+
'8.8.8.8',
824824
'[2001:4860:4860::8888]',
825-
'4.4.4.4:1053',
825+
'8.8.8.8:1053',
826826
'[2001:4860:4860::8888]:1053',
827827
]);
828828
```
@@ -937,9 +937,9 @@ section if a custom port is used.
937937

938938
```js
939939
[
940-
'4.4.4.4',
940+
'8.8.8.8',
941941
'2001:4860:4860::8888',
942-
'4.4.4.4:1053',
942+
'8.8.8.8:1053',
943943
'[2001:4860:4860::8888]:1053',
944944
]
945945
```
@@ -1389,9 +1389,9 @@ addresses. If the port is the IANA default DNS port (53) it can be omitted.
13891389

13901390
```js
13911391
dnsPromises.setServers([
1392-
'4.4.4.4',
1392+
'8.8.8.8',
13931393
'[2001:4860:4860::8888]',
1394-
'4.4.4.4:1053',
1394+
'8.8.8.8:1053',
13951395
'[2001:4860:4860::8888]:1053',
13961396
]);
13971397
```

0 commit comments

Comments
 (0)