mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-30 17:50:14 +01:00
libnm-core: add 'use-vc' DNS option
The option forces the use of TCP for DNS resolutions.
This commit is contained in:
parent
2b394d0092
commit
d6d42e0825
2 changed files with 2 additions and 0 deletions
|
|
@ -59,6 +59,7 @@ const NMUtilsDNSOptionDesc _nm_utils_dns_option_descs[] = {
|
|||
{ NM_SETTING_DNS_OPTION_SINGLE_REQUEST, FALSE, FALSE },
|
||||
{ NM_SETTING_DNS_OPTION_SINGLE_REQUEST_REOPEN, FALSE, FALSE },
|
||||
{ NM_SETTING_DNS_OPTION_NO_TLD_QUERY, FALSE, FALSE },
|
||||
{ NM_SETTING_DNS_OPTION_USE_VC, FALSE, FALSE },
|
||||
{ NULL, FALSE, FALSE }
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -163,6 +163,7 @@ void nm_ip_route_set_attribute (NMIPRoute *route,
|
|||
#define NM_SETTING_DNS_OPTION_SINGLE_REQUEST "single-request"
|
||||
#define NM_SETTING_DNS_OPTION_SINGLE_REQUEST_REOPEN "single-request-reopen"
|
||||
#define NM_SETTING_DNS_OPTION_NO_TLD_QUERY "no-tld-query"
|
||||
#define NM_SETTING_DNS_OPTION_USE_VC "use-vc"
|
||||
|
||||
struct _NMSettingIPConfig {
|
||||
NMSetting parent;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue