dns_ns_record_set (Data Source)

Use this data source to get DNS NS records of the host.

Example Usage

data "dns_ns_record_set" "google" {
  host = "google.com"
}

output "google_nameservers" {
  value = join(",", data.dns_ns_record_set.google.nameservers)
}

Schema

Required

Read-Only