dns_srv_record_set (Data Source)

Use this data source to get DNS SRV records for a service.

Example Usage

data "dns_srv_record_set" "sip" {
  service = "_sip._tcp.example.com."
}

output "sipserver" {
  value = data.dns_srv_record_set.sip.srv.0.target
}

Schema

Required

Read-Only

Nested Schema for srv

Read-Only: