DnsMode — PyQt Documentation v6.9.0 (original) (raw)

PyQt6.QtWebEngineCore.QWebEngineGlobalSettings.DnsMode

Description

TODO

Attributes

secureMode: SecureDnsMode

This variable holds The DNS mode used for the host resolution..

Set secureMode to SecureOnly to only allow DNS-over-HTTPS host resolution using servers from serverTemplates.

Set secureMode to SecureWithFallback to enable DNS-over-HTTPS host resolution using servers from serverTemplates, with a fallback to the system DNS.


serverTemplates: Iterable[Optional[str]]

This variable holds A list of server URI templates used for secure DNS-over-HTTPS host resolution..

The serverTemplates structure member lists URI templates. An example of a URI template is https://dns.google/dns-query{?dns}.

Methods

__init__()

TODO


__init__(DnsMode)

TODO