Class ResolverRule
A rule for a resolver. Specifying both qnameCoverConditions and clientAddressConditions is not allowed.
Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.
Inherited Members
Namespace: Oci.DnsService.Models
Assembly: OCI.DotNetSDK.Dns.dll
Syntax
[JsonConverter(typeof(ResolverRuleModelConverter))]
public class ResolverRule
Properties
ClientAddressConditions
Declaration
[Required(ErrorMessage = "ClientAddressConditions is required.")]
[JsonProperty(PropertyName = "clientAddressConditions")]
public List<string> ClientAddressConditions { get; set; }
Property Value
| Type | Description |
|---|---|
| List<string> | A list of CIDR blocks. In order for the rule action to apply, the query must come from a client within one of the CIDR blocks. |
Remarks
Required
QnameCoverConditions
Declaration
[Required(ErrorMessage = "QnameCoverConditions is required.")]
[JsonProperty(PropertyName = "qnameCoverConditions")]
public List<string> QnameCoverConditions { get; set; }
Property Value
| Type | Description |
|---|---|
| List<string> | A list of domain names. In order for the rule action to apply, the query must either match or be a subdomain of one of the listed domains. |
Remarks
Required