Data Source: oci_dns_rrsets

This data source provides the list of RRsets in Oracle Cloud Infrastructure DNS service.

Gets a list of all rrsets in the specified zone. You can optionally filter the results using the listed parameters. 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_rrsets" "test_rrsets" {
    #Required
    zone_name_or_id = oci_dns_zone.test_zone.id

    #Optional
    domain = var.rrset_domain
    domain_contains = var.rrset_domain
    rtype = var.rrset_rtype
    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:

Rrset Reference

The following attributes are exported: