Vultr DocsLatest Content


How to Delete a Domain from Vultr DNS

Updated on 12 September, 2025

Learn how to permanently remove a domain from your Vultr DNS management system.


Deleting a domain removes it and all existing DNS records such as zones from Vultr DNS. DNS records cannot be recovered when a domain is deleted from Vultr DNS.

Follow this guide to delete a domain from Vultr DNS using the Vultr Customer Portal, API, CLI, or Terraform.

  • Vultr Customer Portal
  • Vultr API
  • Vultr CLI
  • Terraform
  1. Navigate to Products, expand the Network group and click DNS to view all domains in your account.
  2. Click Delete Domain next to your target domain.
  3. Click Delete Domain in the confirmation prompt to delete the target domain.
  1. Send a GET request to the List DNS domains endpoint and note the target domain in your output.

    console
    $ curl "https://api.vultr.com/v2/domains" \
       -X GET \
       -H "Authorization: Bearer ${VULTR_API_KEY}"
    
  2. Send a DELETE request to the Delete Domain endpoint to delete the domain.

    console
    $ curl "https://api.vultr.com/v2/domains/{dns-domain}" \
      -X DELETE \
      -H "Authorization: Bearer ${VULTR_API_KEY}"
    
  1. List all domains available in your Vultr account and note the target domain.

    console
    $ vultr-cli dns domain list
    
  2. Delete the domain.

    console
    $ vultr-cli dns domain delete <domain>
    
  1. Open your Terraform configuration where the domain is defined.

  2. Remove the vultr_dns_domain resource block, or destroy it by target.

    terraform
    resource "vultr_dns_domain" "example" {
        domain = "example.com"
    }
    
    # To delete, either remove this block from configuration
    # or run: terraform destroy -target vultr_dns_domain.example
    
  3. Apply the configuration and observe the following output:

    Apply complete! Resources: 0 added, 0 changed, 1 destroyed.

Comments

No comments yet.