Options Type
Constructors
| Constructor |
Description
|
Full Usage:
Options(?queryType, ?source, ?cacheUsage, ?secureDnsPolicy)
Parameters:
QueryType
-
Requested DNS query type. If unspecified, resolver will pick A or AAAA (or both) based on IPv4/IPv6 settings:
?source : Source
-
The source to use for resolved addresses. Default allows the resolver to pick an appropriate source. Only affects use
of big external sources (e.g. calling the system for resolution or using DNS). Even if a source is specified, results
can still come from cache, resolving "localhost" or IP literals, etc. One of the following values:
?cacheUsage : CacheUsage
-
Indicates what DNS cache entries, if any, can be used to provide a response. One of the following values:
?secureDnsPolicy : SecureDnsPolicy
-
Controls the resolver's Secure DNS behavior for this request. One of the following values:
Returns: Options
|
|
Instance members
| Instance member |
Description
|
Full Usage:
this.cacheUsage
|
Indicates what DNS cache entries, if any, can be used to provide a response. One of the following values: |
Full Usage:
this.queryType
|
Requested DNS query type. If unspecified, resolver will pick A or AAAA (or both) based on IPv4/IPv6 settings: |
Full Usage:
this.secureDnsPolicy
|
Controls the resolver's Secure DNS behavior for this request. One of the following values: |
Full Usage:
this.source
|
The source to use for resolved addresses. Default allows the resolver to pick an appropriate source. Only affects use of big external sources (e.g. calling the system for resolution or using DNS). Even if a source is specified, results can still come from cache, resolving "localhost" or IP literals, etc. One of the following values: |
fable-electron-docs-api