Dns Record
generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "porkbun_dns_record Data Source - terraform-provider-porkbun" subcategory: "" description: |- Retrieve a single record for a particular record ID.
porkbun_dns_record (Data Source)
Retrieve a single record for a particular record ID.
Example Usage
data "porkbun_dns_record" "test" {
domain = "jiancodes.com"
id = "123456"
}
Schema
Required
domain(String) The domain name.id(String) The record ID.
Read-Only
content(String) The record value.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.