servercore_domains_rrset_v2
servercore_domains_rrset_v2
Provides information about an RRSet in DNS Hosting. For more information about RRSets, see the official Servercore documentation.
Example Usage
data "servercore_domains_rrset_v2" "rrset_1" {
name = "example.com."
type = "A"
zone_id = servercore_domains_zone_v2.zone_1.id
project_id = servercore_project_v2.project_1.id
}
Argument Reference
-
name
— (Required) RRSet name. -
type
— (Required) RRSet type. Available types areA
,AAAA
,TXT
,CNAME
,NS
,MX
,SRV
,SSHFP
,ALIAS
,CAA
. -
zone_id
— (Required) Unique identifier of the zone. Retrieved from the servercore_domains_zone_v2 resource. -
project_id
— (Required) Unique identifier of the associated project. Retrieved from the servercore_vpc_project_v2 resource. Learn more about Projects.
Attributes Reference
-
ttl
— RRSet time-to-live in seconds. -
comment
— Comment for the RRSet. -
managed_by
— RRSet owner. -
records
— List of records in the RRSet.-
content
— Record value. -
disabled
— Shows if the record is enabled or disabled.
-