» vultr_dns_domain

Provides a Vultr DNS Domain resource. This can be used to create, read, modify, and delete DNS Domains.

» Example Usage

Create a new DNS Domain

resource "vultr_dns_domain" "my_domain" {
    domain = "domain.com"
    server_ip = "66.42.94.227"
}

» Argument Reference

The following arguments are supported:

  • domain - (Required) Name of domain.
  • server_ip - (Optional) Server IP you want associated to domain. If omitted this will create a domain with no records.

» Attributes Reference

The following attributes are exported:

  • id - The ID is the name of the domain.
  • domain - Name of domain.
  • server_ip - Server IP you want associated to domain.

» Import

DNS Domains can be imported using the Dns Domain domain, e.g.

terraform import vultr_dns_domain.name domain.com