| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 9797969 commit a81ff70
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -174,7 +174,9 @@ Valid values for `rrtype` are: | |||
| 174 | 174 | * `'NAPTR'` - name authority pointer record | |
| 175 | 175 | ||
| 176 | 176 | The `callback` function has arguments `(err, addresses)`. When successful, | |
| 177 | - `addresses` will be an array. The type of each item in `addresses` is | ||
| 177 | + `addresses` will be an array, except when resolving an SOA record which returns | ||
| 178 | + an object structured in the same manner as one returned by the | ||
| 179 | + [`dns.resolveSoa()`][] method. The type of each item in `addresses` is | ||
| 178 | 180 | determined by the record type, and described in the documentation for the | |
| 179 | 181 | corresponding lookup methods. | |
| 180 | 182 | ||
@@ -437,6 +439,7 @@ uses. For instance, _they do not use the configuration from `/etc/hosts`_. | |||
| 437 | 439 | [`dns.lookup()`]: #dns_dns_lookup_hostname_options_callback | |
| 438 | 440 | [`dns.resolve()`]: #dns_dns_resolve_hostname_rrtype_callback | |
| 439 | 441 | [`dns.resolve4()`]: #dns_dns_resolve4_hostname_callback | |
| 442 | + [`dns.resolveSoa()`]: #dns_dns_resolvesoa_hostname_callback | ||
| 440 | 443 | [`Error`]: errors.html#errors_class_error | |
| 441 | 444 | [Implementation considerations section]: #dns_implementation_considerations | |
| 442 | 445 | [supported `getaddrinfo` flags]: #dns_supported_getaddrinfo_flags | |
| Back | FazBrowse Home | New Git URL |
0 commit comments