Skip to content

ElectronConfigureHostResolverOptions

Unofficial

Options for configuring host resolution (DNS and DNS-over-HTTPS).

Import:

import type { ElectronConfigureHostResolverOptions } from '@obsidian-typings/obsidian-catalyst-latest';

Signature:

export interface ElectronConfigureHostResolverOptions

Properties

PropertyTypeDescription
enableAdditionalDnsQueryTypes?booleanControls 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?booleanWhether the built-in host resolver is used in preference to getaddrinfo. Enabled by default on macOS, disabled by default on Windows and Linux.
secureDnsMode?stringConfigures the DNS-over-HTTP mode. Can be off, automatic or secure.
secureDnsServers?string[]A list of DNS-over-HTTP server templates.