DNS_INTERFACE_SETTINGS_EX structure (netioapi.h)

Represents the DNS settings that can be configured on a given interface by calling the SetInterfaceDnsSettings function or retrieved for a given interface by calling the GetInterfaceDnsSettings function.

Syntax

typedef struct _DNS_INTERFACE_SETTINGS_EX {
  DNS_INTERFACE_SETTINGS SettingsV1;
  ULONG                  DisableUnconstrainedQueries;
  PWSTR                  SupplementalSearchList;
} DNS_INTERFACE_SETTINGS_EX;

Members

SettingsV1

Type: DNS_INTERFACE_SETTINGS

SettingsV1.Version must be set to DNS_INTERFACE_SETTINGS_VERSION2.

SettingsV1.Flags is configured in the same way as DNS_INTERFACE_SETTINGS::Flags, with the additional following bitmap option:

DNS_SETTING_SUPPLEMENTAL_SEARCH_LIST (0x0800). Configures the connection-specific DNS supplemental suffix search list for the given adapter via the SupplementalSearchList member.

DisableUnconstrainedQueries

Type: ULONG

Reserved.

SupplementalSearchList

Type: PWSTR

A NULL-terminated wide string containing a series of comma- or space-separated search names. For example, L"contoso1.com contoso2.com", or L"contoso1.com, contoso2.com".

Requirements

Requirement Value
Minimum supported client Windows 10 Build 19041
Minimum supported server Windows 10 Build 19041
Header netioapi.h (include Iphlpapi.h)

See also