Compartir a través de


2.2.1.2.194 IP_DNS_PROXY_INTERFACE_INFO

The IP_DNS_PROXY_INTERFACE_INFO structure holds per-interface configuration for the DNS proxy. The configuration currently only allows the proxy to be disabled on a given interface. The proxy runs in promiscuous-interface mode so that all interfaces are added to it and it is enabled on all of them by default. Hence, the configuration need only be present for those interfaces on which the proxy is not to be run.

 typedef struct _IP_DNS_PROXY_INTERFACE_INFO {
   ULONG Flags;
 } IP_DNS_PROXY_INTERFACE_INFO, *PIP_DNS_PROXY_INTERFACE_INFO;

Flags: It MUST be a combination of the following values.

Value

Meaning

IP_DNS_PROXY_INTERFACE_FLAG_DISABLED

0x00000001

The DNS proxy is disabled on the interface. This flag overrides the rest of the flags. The DNS proxy will not be enabled on this interface regardless of other flags being present.

IP_DNS_PROXY_INTERFACE_FLAG_DEFAULT

0x00000002

The interface is marked as the default DNS proxy. All DNS queries will be sent over this interface.

DNS_INTERFACE_FLAG_DELETED

0x80000000

The DNS proxy is disabled on the interface.

DNS_INTERFACE_FLAG_BOUND

0x40000000

The DNS proxy socket is bound on the interface.

DNS_INTERFACE_FLAG_ENABLED

0x20000000

The DNS proxy is enabled on the interface.

DNS_INTERFACE_FLAG_CONFIGURED

0x10000000

The DNS proxy is configured on the interface.