2015-06-11 20:27:26 +02:00
|
|
|
---
|
|
|
|
layout: "azure"
|
|
|
|
page_title: "Azure: azure_dns_server"
|
|
|
|
sidebar_current: "docs-azure-resource-dns-server"
|
|
|
|
description: |-
|
|
|
|
Creates a new DNS server definition to be used internally in Azure.
|
|
|
|
---
|
|
|
|
|
|
|
|
# azure\_dns\_server
|
|
|
|
|
|
|
|
Creates a new DNS server definition to be used internally in Azure.
|
|
|
|
|
|
|
|
## Example Usage
|
|
|
|
|
|
|
|
```
|
|
|
|
resource "azure_dns_server" "google-dns" {
|
2017-02-18 23:48:50 +01:00
|
|
|
name = "google"
|
|
|
|
dns_address = "8.8.8.8"
|
2015-06-11 20:27:26 +02:00
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
## Argument Reference
|
|
|
|
|
|
|
|
The following arguments are supported:
|
|
|
|
|
|
|
|
* `name` - (Required) The name of the DNS server reference. Changing this
|
|
|
|
forces a new resource to be created.
|
|
|
|
|
|
|
|
* `dns_address` - (Required) The IP address of the DNS server.
|
|
|
|
|
|
|
|
## Attributes Reference
|
|
|
|
|
|
|
|
The following attributes are exported:
|
|
|
|
|
|
|
|
* `id` - The DNS server definition ID. Coincides with the given `name`.
|