File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 77The ` dns ` module enables name resolution. For example, use it to look up IP
88addresses of host names.
99
10- Although named for the Domain Name System (DNS), it does not always use the DNS
11- protocol for lookups. [ ` dns.lookup() ` ] [ ] uses the operating system facilities to
12- perform name resolution. It may not need to perform any network communication.
13- Developers looking to perform name resolution in the same way that other
14- applications on the same operating system behave should use [ ` dns.lookup() ` ] [ ] .
10+ Although named for the [ Domain Name System (DNS)] [ ] , it does not always use the
11+ DNS protocol for lookups. [ ` dns.lookup() ` ] [ ] uses the operating system
12+ facilities to perform name resolution. It may not need to perform any network
13+ communication. Developers looking to perform name resolution in the same way
14+ that other applications on the same operating system behave should use
15+ [ ` dns.lookup() ` ] [ ] .
1516
1617``` js
1718const dns = require (' dns' );
@@ -1172,6 +1173,7 @@ uses. For instance, _they do not use the configuration from `/etc/hosts`_.
11721173[ `socket.connect()` ] : net.html#net_socket_connect_options_connectlistener
11731174[ `util.promisify()` ] : util.html#util_util_promisify_original
11741175[ DNS error codes ] : #dns_error_codes
1176+ [ Domain Name System (DNS) ] : https://en.wikipedia.org/wiki/Domain_Name_System
11751177[ Implementation considerations section ] : #dns_implementation_considerations
11761178[ RFC 8482 ] : https://tools.ietf.org/html/rfc8482
11771179[ RFC 5952 ] : https://tools.ietf.org/html/rfc5952#section-6
You can’t perform that action at this time.
0 commit comments