DNS_APPLICATION_SETTINGS structure (windns.h)

Represents per-application DNS settings.

Syntax

typedef struct _DNS_APPLICATION_SETTINGS {
  ULONG   Version;
  ULONG64 Flags;
} DNS_APPLICATION_SETTINGS;

Members

Version

Type: ULONG

Must be set to DNS_APP_SETTINGS_VERSION1.

Flags

Type: ULONG

A bitset containing the following options.

  • DNS_APP_SETTINGS_EXCLUSIVE_SERVERS (0x1). Use the custom DNS servers exclusively, and don't try the system-configured ones.

Requirements

Requirement Value
Minimum supported client Windows Build 22000
Minimum supported server Windows Build 22000
Header windns.h