| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 0f903bb commit de5e235
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -158,7 +158,9 @@ Valid values for `rrtype` are: | |||
| 158 | 158 | * `'NAPTR'` - name authority pointer record | |
| 159 | 159 | ||
| 160 | 160 | The `callback` function has arguments `(err, addresses)`. When successful, | |
| 161 | - `addresses` will be an array. The type of each item in `addresses` is | ||
| 161 | + `addresses` will be an array, except when resolving an SOA record which returns | ||
| 162 | + an object structured in the same manner as one returned by the | ||
| 163 | + [`dns.resolveSoa()`][] method. The type of each item in `addresses` is | ||
| 162 | 164 | determined by the record type, and described in the documentation for the | |
| 163 | 165 | corresponding lookup methods. | |
| 164 | 166 | ||
@@ -379,6 +381,7 @@ uses. For instance, _they do not use the configuration from `/etc/hosts`_. | |||
| 379 | 381 | [`dns.lookup()`]: #dns_dns_lookup_hostname_options_callback | |
| 380 | 382 | [`dns.resolve()`]: #dns_dns_resolve_hostname_rrtype_callback | |
| 381 | 383 | [`dns.resolve4()`]: #dns_dns_resolve4_hostname_callback | |
| 384 | + [`dns.resolveSoa()`]: #dns_dns_resolvesoa_hostname_callback | ||
| 382 | 385 | [`Error`]: errors.html#errors_class_error | |
| 383 | 386 | [Implementation considerations section]: #dns_implementation_considerations | |
| 384 | 387 | [supported `getaddrinfo` flags]: #dns_supported_getaddrinfo_flags | |
| Back | FazBrowse Home | New Git URL |
0 commit comments