The DnsMode struct provides means to specify the DNS host resolution mode. More...
| Header: | #include <DnsMode> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS WebEngineCore)target_link_libraries(mytarget PRIVATE Qt6::WebEngineCore) |
| qmake: | QT += webenginecore |
| Since: | Qt 6.6 |
| QWebEngineGlobalSettings::SecureDnsMode | secureMode |
| QStringList | serverTemplates |
The QWebEngineGlobalSettings::DnsMode structure describes the DNS mode and the associated DNS server template used for the DNS host resolution.
This variable holds the DNS mode used for the host resolution.
Set secureMode to SecureDnsMode::SecureOnly to only allow DNS-over-HTTPS host resolution using servers from serverTemplates.
Set secureMode to SecureDnsMode::SecureWithFallback to enable DNS-over-HTTPS host resolution using servers from serverTemplates, with a fallback to the system DNS.
See also QWebEngineGlobalSettings::SecureDnsMode.
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}.
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: