DnsMode Struct
struct QWebEngineGlobalSettings::DnsModeDnsMode構造体は、DNSホスト解決モードを指定する手段を提供する。詳細...
ヘッダ | #include <DnsMode> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS WebEngineCore) target_link_libraries(mytarget PRIVATE Qt6::WebEngineCore) |
qmake: | QT += webenginecore |
以来: | Qt 6.6 |
パブリック変数
QWebEngineGlobalSettings::SecureDnsMode | secureMode |
QStringList | serverTemplates |
詳細な説明
QWebEngineGlobalSettings::DnsMode 構造体は、DNS ホスト解決に使用される DNS モードと関連する DNS サーバーテンプレートを記述します。
メンバ変数の説明
QWebEngineGlobalSettings::SecureDnsMode DnsMode::secureMode
この変数は、ホスト解決に使用されるDNSモードを保持する。
serverTemplates からのサーバを使用した DNS-over-HTTPS ホスト解決のみを許可するには、secureMode をSecureDnsMode::SecureOnly に設定する。
serverTemplates からのサーバーを使用した DNS-over-HTTPS ホスト解決を、システム DNS へのフォールバックとともに有効にするには、secureMode をSecureDnsMode::SecureWithFallback に設定する。
QWebEngineGlobalSettings::SecureDnsModeも参照してください 。
QStringList DnsMode::serverTemplates
この変数は、安全なDNS-over-HTTPSホスト解決に使用されるサーバー URIテンプレートのリストを保持する。
serverTemplates
構造体メンバはURIテンプレートをリストする。URIテンプレートの例は https://dns.google/dns-query{?dns} である。
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.