Header menu logo fable-electron-docs-api

Options Type

Constructors

Constructor Description

Options(?queryType, ?source, ?cacheUsage, ?secureDnsPolicy)

Full Usage: Options(?queryType, ?source, ?cacheUsage, ?secureDnsPolicy)

Parameters:
    ?queryType : 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
?queryType : 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

this.cacheUsage

Full Usage: this.cacheUsage

Indicates what DNS cache entries, if any, can be used to provide a response. One of the following values:

this.queryType

Full Usage: this.queryType

Requested DNS query type. If unspecified, resolver will pick A or AAAA (or both) based on IPv4/IPv6 settings:

this.secureDnsPolicy

Full Usage: this.secureDnsPolicy

Controls the resolver's Secure DNS behavior for this request. One of the following values:

this.source

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:

Type something to start searching.