diff --git a/doc/api/dns.md b/doc/api/dns.md index d04dbd4a376..d6209fa19ef 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', ] ``` @@ -818,9 +818,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', ]); ``` @@ -935,9 +935,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', ] ``` @@ -1385,9 +1385,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', ]); ```