From e32adf12553bfd6a9a8e241029ab0f0a095f61d9 Mon Sep 17 00:00:00 2001 From: uzlopak Date: Fri, 5 Jan 2024 05:21:42 +0100 Subject: [PATCH] net: fix example IPv4 in dns docs --- doc/api/dns.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/doc/api/dns.md b/doc/api/dns.md index 1a460598bcd5fb..b0ff62c2cd5d1b 100644 --- a/doc/api/dns.md +++ b/doc/api/dns.md @@ -167,9 +167,9 @@ section if a custom port is used. ```js [ - '4.4.4.4', + '8.8.8.8', '2001:4860:4860::8888', - '4.4.4.4:1053', + '8.8.8.8:1053', '[2001:4860:4860::8888]:1053', ] ``` @@ -820,9 +820,9 @@ addresses. If the port is the IANA default DNS port (53) it can be omitted. ```js dns.setServers([ - '4.4.4.4', + '8.8.8.8', '[2001:4860:4860::8888]', - '4.4.4.4:1053', + '8.8.8.8:1053', '[2001:4860:4860::8888]:1053', ]); ``` @@ -937,9 +937,9 @@ section if a custom port is used. ```js [ - '4.4.4.4', + '8.8.8.8', '2001:4860:4860::8888', - '4.4.4.4:1053', + '8.8.8.8:1053', '[2001:4860:4860::8888]:1053', ] ``` @@ -1389,9 +1389,9 @@ addresses. If the port is the IANA default DNS port (53) it can be omitted. ```js dnsPromises.setServers([ - '4.4.4.4', + '8.8.8.8', '[2001:4860:4860::8888]', - '4.4.4.4:1053', + '8.8.8.8:1053', '[2001:4860:4860::8888]:1053', ]); ```