You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Provides details about a specific Rrset in Oracle Cloud Infrastructure Dns service
8
+
---
9
+
10
+
# Data Source: oci_dns_rrset
11
+
This data source provides details about a specific Rrset resource in Oracle Cloud Infrastructure Dns service.
12
+
13
+
Gets a list of all records in the specified RRSet. The results are
14
+
sorted by `recordHash` by default.
15
+
16
+
17
+
## Example Usage
18
+
19
+
```hcl
20
+
data "oci_dns_rrset" "test_rrset" {
21
+
#Required
22
+
domain = "${var.rrset_domain}"
23
+
rtype = "${var.rrset_rtype}"
24
+
zone_name_or_id = "${oci_dns_zone.test_zone.id}"
25
+
26
+
#Optional
27
+
compartment_id = "${var.compartment_id}"
28
+
}
29
+
```
30
+
31
+
## Argument Reference
32
+
33
+
The following arguments are supported:
34
+
35
+
*`compartment_id` - (Optional) The OCID of the compartment the resource belongs to.
36
+
*`domain` - (Required) The target fully-qualified domain name (FQDN) within the target zone.
37
+
*`rtype` - (Required) The type of the target RRSet within the target zone.
38
+
*`zone_name_or_id` - (Required) The name or OCID of the target zone.
39
+
*`zone_version` - (Optional) The version of the zone for which data is requested.
40
+
41
+
42
+
## Attributes Reference
43
+
44
+
The following attributes are exported:
45
+
46
+
*`items` -
47
+
* `domain` - The fully qualified domain name where the record can be located.
48
+
* `is_protected` - A Boolean flag indicating whether or not parts of the record are unable to be explicitly managed.
49
+
* `rdata` - The record's data, as whitespace-delimited tokens in type-specific presentation format. All RDATA is normalized and the returned presentation of your RDATA may differ from its initial input. For more information about RDATA, see [Supported DNS Resource Record Types](https://docs.cloud.oracle.com/iaas/Content/DNS/Reference/supporteddnsresource.htm)
50
+
* `record_hash` - A unique identifier for the record within its zone.
51
+
* `rrset_version` - The latest version of the record's zone in which its RRSet differs from the preceding version.
52
+
* `rtype` - The canonical name for the record's type, such as A or CNAME. For more information, see [Resource Record (RR) TYPEs](https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-4).
53
+
* `ttl` - The Time To Live for the record, in seconds.
0 commit comments