Dns Records
generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "porkbun_dns_records Data Source - terraform-provider-porkbun" subcategory: "" description: |- Retrieve all editable DNS records associated with a domain.
porkbun_dns_records (Data Source)
Retrieve all editable DNS records associated with a domain.
Example Usage
data "porkbun_dns_records" "example" {
domain = "jiancodes.com"
}
Schema
Required
domain(String) The domain name.
Optional
filter(Attributes) Record filter. (see below for nested schema)
Read-Only
records(Attributes Set) All editable DNS records. (see below for nested schema)
Nested Schema for filter
Optional:
subdomain(String) Record subdomain. Also requires:type.type(String) Record type. Valid values:A,MX,CNAME,ALIAS,TXT,NS,AAAA,SRV,TLSA,CAA,HTTPS,SVCB.
Nested Schema for records
Read-Only:
content(String) The record value.id(String) The record ID.name(String) The full name of the record being created, including the subdomain and the domain itself.notes(String) Notes for the DNS record. Not served in DNS.priority(Number) The priority forMXandSRVrecords. Defaults to 0 if omitted.ttl(Number) Time to live in seconds. Minimum is determined by account settings (typically 600). Defaults to the account minimum if omitted or 0.type(String) The DNS record type.