2.2.15.1.1 Constants
The following DNS Policy constants are used during a DNS Policy update. For details on how they affect DNS policy updates, see the UpdatePolicy operation in section 3.1.4.1.
Constant/value |
Description |
---|---|
DNS_RPC_FLAG_POLICY_CRITERIA_FQDN 0x00000001 |
Specifies that the criteria (section 2.2.15.2.4) for matching a DNS Policy is based on the query name in the question section of a DNS query in a DNS Operation ([RFC1034] section 3.7). |
DNS_RPC_FLAG_POLICY_CRITERIA_CLIENT_SUBNET 0x00000002 |
Specifies that the criteria (section 2.2.15.2.4) for matching a DNS Policy is based on the client subnet record, which is derived from the IP address of a resolver in a DNS Operation ([RFC1034]) section 2.4). |
DNS_RPC_FLAG_POLICY_CRITERIA_SERVER_IP 0x00000004 |
Specifies that the criteria (section 2.2.15.2.4) for matching a DNS Policy is based on the IP address on which the DNS server receives the DNS query in a DNS Operation. |
DNS_RPC_FLAG_POLICY_CRITERIA_QUERY_TYPE 0x00000008 |
Specifies that the criteria (section 2.2.15.2.4) for matching a DNS Policy is based on the QTYPE of a DNS query in a DNS Operation ([RFC1035] section 3.2.3). |
DNS_RPC_FLAG_POLICY_CRITERIA_TIME_OF_DAY 0x00000010 |
Specifies that the criteria (section 2.2.15.2.4) for matching a DNS Policy is based on the Time Of Day in start-time : end-time format where time is expressed in hh:mm, when the DNS server receives a DNS query during a DNS Operation. |
DNS_RPC_FLAG_POLICY_CRITERIA_TRANSPORT_PROTOCOL 0x00000020 |
Specifies that the criteria (section 2.2.15.2.4) for matching a DNS Policy is based on the Transport Layer Protocol (TCP or UDP) used to send a DNS query to the DNS server during a DNS Operation. |
DNS_RPC_FLAG_POLICY_CRITERIA_NETWORK_PROTOCOL 0x00000040 |
Specifies that the criteria (section 2.2.15.2.4) for matching a DNS Policy is based the Internet Protocol that is used (IPv4 or IPv6) to send a DNS Query to the DNS server during a DNS Operation. |
DNS_RPC_FLAG_POLICY_CRITERIA_EDNS_CLIENT_SUBNET 0x00000080 |
Usage of this flag will fail the request with DNS_ERROR_POLICY_INVALID_SETTINGS (9974) (section 2.2.1.1.5). |
DNS_RPC_FLAG_POLICY_CONDITION 0x00010000 |
Specifies that the criteria (section 2.2.15.2.4) for matching a DNS Policy is based on the DNS_RPC_POLICY_CONDITION (section 2.2.15.1.1.2) that connects the various criteria in a DNS operation. |
DNS_RPC_FLAG_POLICY_PROCESSING_ORDER 0x00020000 |
Specifies the processing order of a DNS policy. A processing order of a DNS Policy determines whether this policy is to be applied to the DNS operation, in case there are other DNS policies (DNS_RPC_POLICY (section 2.2.15.2.5)) at the same level that also match the DNS operation. |
DNS_RPC_FLAG_POLICY_CONTENT 0x00040000 |
Specifies the zone scope, cache scope, or server scope from which a DNS operation is to be performed in case the DNS Policy is a match. For more details about the Policy content, see DNS_RPC_POLICY_CONTENT (section 2.2.15.2.2). |