Data Source: oci_dns_rrset

This data source provides details about a specific Rrset resource in Oracle Cloud Infrastructure DNS service.

Gets a list of all records in the specified RRSet. The results are sorted by recordHash by default. For private zones, the scope query parameter is required with a value of PRIVATE. When the zone name is provided as a path parameter and PRIVATE is used for the scope query parameter then the viewId query parameter is required.

Example Usage

data "oci_dns_rrset" "test_rrset" {
    #Required
    domain = var.rrset_domain
    rtype = var.rrset_rtype
    zone_name_or_id = oci_dns_zone.test_zone.id

    #Optional
    compartment_id = var.compartment_id
    scope = var.rrset_scope
    view_id = oci_dns_view.test_view.id
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported: