ElectronConfigureHostResolverOptions
Unofficial
Options for configuring host resolution (DNS and DNS-over-HTTPS).
Import:
import type { ElectronConfigureHostResolverOptions } from '@obsidian-typings/obsidian-public-latest';Signature:
export interface ElectronConfigureHostResolverOptionsProperties
| Property | Type | Description | |
|---|---|---|---|
| enableAdditionalDnsQueryTypes? | boolean | Controls whether additional DNS query types (e.g. HTTPS, DNS type 65) are allowed besides the traditional A and AAAA queries when a request is made via insecure DNS. | |
| enableBuiltInResolver? | boolean | Whether the built-in host resolver is used in preference to getaddrinfo. Enabled by default on macOS, disabled by default on Windows and Linux. | |
| secureDnsMode? | string | Configures the DNS-over-HTTP mode. Can be off, automatic or secure. | |
| secureDnsServers? | string[] | A list of DNS-over-HTTP server templates. |