Vultr DocsLatest Content


vultr_dns_domain

Updated on 15 September, 2025

A resource for managing Vultr DNS domains, allowing creation and configuration of domain records with an associated IP address.


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

hcl
resource "vultr_dns_domain" "my_domain" {
	domain = "domain.com"
	ip = "66.42.94.227"
}

Argument Reference

The following arguments are supported:

  • domain - (Required) Name of domain.
  • ip - (Optional) Instance IP you want associated to domain. If omitted this will create a domain with no records.
  • dns_sec - (Optional) The Domain's DNSSEC status. Valid options are enabled or disabled. Note disabled is default

Attributes Reference

The following attributes are exported:

  • id - The ID is the name of the domain.
  • domain - Name of domain.
  • date_created - The date the domain was added to your account.
  • dns_sec - The Domain's DNSSEC status

Import

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

terraform import vultr_dns_domain.name domain.com

Comments

No comments yet.