Files
Mateusz Filipowicz b9284f7758 docs: improve documentation for 1.0.0 release (#75)
* docs: add examples and recreate TF documentation

* update readme

* add information about experimental support of firewall zones
2025-03-22 19:13:16 +01:00

1.5 KiB

page_title, subcategory, description
page_title subcategory description
unifi_dns_records Data Source - terraform-provider-unifi Retrieves information about a all DNS records.

unifi_dns_records (Data Source)

Retrieves information about a all DNS records.

Example Usage

data "unifi_dns_records" "default" {
}

Schema

Optional

  • site (String) The name of the UniFi site where this resource should be applied. If not specified, the default site will be used.

Read-Only

Nested Schema for result

Optional:

  • name (String) DNS record name.
  • record (String) DNS record content.
  • site (String) The name of the UniFi site where this resource should be applied. If not specified, the default site will be used.

Read-Only:

  • enabled (Boolean) Whether the DNS record is enabled.
  • id (String) The unique identifier of this resource.
  • port (Number) The port of the DNS record.
  • priority (Number) Priority of the DNS records. Present only for MX and SRV records; unused by other record types.
  • ttl (Number) Time To Live (TTL) of the DNS record in seconds. Setting to 0 means 'automatic'.
  • type (String) The type of the DNS record.
  • weight (Number) A numeric value indicating the relative weight of the record.