# 

# exoscale_domain (Data Source)

Fetch Exoscale [DNS](https://community.exoscale.com/product/networking/dns/) Domains data.

Corresponding resource: [exoscale_domain]({{< ref "../resources/domain.md" >}}).

## Example Usage

```terraform
data "exoscale_domain" "my_domain" {
  name = "my.domain"
}

output "my_domain_id" {
  value = data.exoscale_domain.my_domain.id
}
```

Please refer to the [examples](https://github.com/exoscale/terraform-provider-exoscale/tree/master/examples/)
directory for complete configuration examples.

<!-- schema generated by tfplugindocs -->
## Schema

### Required

- `name` (String) The DNS domain name to match.

### Read-Only

- `id` (String) The ID of this resource.



