DNS A Records»
Manage Microsoft DNS A Records using the KopiCloud AD Terraform Provider.
Resources»
Create a DNS A Record»
Create a DNS A Record for a computer
1 2 3 4 5 |
|
Output the created DNS A Record:
1 2 3 4 |
|
Output the Hostname of the created DNS A Record:
1 2 3 4 |
|
Schema
Optional:
hostname
(String) Computer Hostnameip_address
(String) IPv4 Addresszone_name
(String) DNS Zone Name
Read-Only:
id
(String) The ID of this Resourceresult
(List of Objects) Single DNS AAAA Record (see below for nested schema)
Data Sources»
List DNS A Records»
List All DNS A Records:
1 |
|
Returns All DNS A Records:
1 2 3 4 |
|
Filter DNS A Records with the Zone Name:
1 2 3 |
|
Returns all DNS A Records that matches the Zone Name:
1 2 3 4 |
|
Filter DNS A Records with an IP Address:
1 2 3 |
|
Returns all DNS A Records that matches the IP Address:
1 2 3 4 |
|
Filter DNS A Records with a Hostname:
1 2 3 |
|
Returns all DNS A Records that matches the Hostname:
1 2 3 4 |
|
Returns the IP Address of the 1st DNS A Record:
1 2 3 4 |
|
Schema
Optional:
hostname
(String) Computer Hostnameip_address
(String) IPv4 Addresszone_name
(String) DNS Zone Name
Read-Only:
id
(String) The ID of this Resourceresult
(List of Objects) Single DNS AAAA Record (see below for nested schema)
Nested Schema for Result»
Read-Only:
data
(String) IPv4 Addressname
(String) Computer Hostnametimestamp
(String) Timestamp of the Recordtype
(String) DNS Typezone
(String) DNS Zone Name
Notes»
Running this resource with terraform apply
will create a DNS A Record in the Microsoft DNS and running terraform destroy
will remove the DNS A Record from the DNS.
Source Code»
Source code available here