Public DNS
Record
Terraform reference for Record.
Schema Properties
| Property | Type | Description |
|---|---|---|
domain Required | string | The domain associated with the DNS record |
name | string | |
ttl Required | integer | Time to live for the record |
type Required | string | DNS record type (e.g., A, AAAA, CNAME, etc.) |
value Required | string | The actual DNS value (e.g., an IP address or CNAME target) |
zone_name Required | string | The DNS zone this record belongs to |
data "gi_public_dns_records" "filtered" { limit = 10 skip = 0 filter { field = "domain" operator = "eq" value = "example-value" } sort { field = "domain" descending = false }}# Access resultsoutput "record_list" { value = data.gi_public_dns_records.filtered.records[*].attributes.domain}