How to Add a Domain to Vultr DNS

Updated on 12 September, 2025

The process of setting up and configuring a new server or service to make it ready for use.


Vultr DNS is a domain record management service that enables you to manage DNS records and zones using your domain. Vultr DNS uses Vultr's nameservers that run on the Anycast network to enable fast DNS resolution and application of domain changes.

Follow this guide to add a domain to Vultr DNS in your Vultr account using the Vultr Customer Portal, API, CLI, or Terraform.

Note
Point your domain's nameservers to ns1.vultr.com, ns2.vultr.com to manage it using Vultr DNS.
  • Vultr Customer Portal
  • Vultr API
  • Vultr CLI
  • Terraform
  1. Navigate to Products, expand the Network drop-down and select DNS from the list of options.
  2. Click Add Domain to set up a new domain.
  3. Enter your domain in the Domain field and click the Vultr instance drop-down to point the domain A record to your instance's IP address.
  4. Click Add to apply the new domain and its DNS records using Vultr DNS.
  1. Send a GET request to the List DNS Domains endpoint and verify all active domains in your Vultr account.

    console
    $ curl "https://api.vultr.com/v2/domains" \
      -X GET \
      -H "Authorization: Bearer ${VULTR_API_KEY}"
    
  2. Send a POST request to the Create DNS Domain endpoint to create a new domain to manage using Vultr DNS.

    console
    $ curl "https://api.vultr.com/v2/domains" \
       -X POST \
       -H "Authorization: Bearer ${VULTR_API_KEY}" \
       -H "Content-Type: application/json" \
       --data '{
         "domain" : "<domain>",
         "ip" : "<default-IP>",
         "dns_sec" : "enabled"
       }'
    

    Visit the Create DNS Domain API page to view additional attributes to to apply on the domain.

  1. List all domains in your Vultr account.

    console
    $ vultr-cli dns domain list
    
  2. Create a new domain to manage using Vultr DNS.

    console
    $ vultr-cli dns domain create --domain <domain> --ip <default-IP>
    

    Run vultr-cli dns domain create --help to view additional options to apply on the domain.

  1. Ensure the Vultr Terraform provider is configured in your Terraform project.

  2. Create a DNS domain and an A record, then apply.

    terraform
    resource "vultr_dns_domain" "example" {
        domain = "example.com"
    }
    
    resource "vultr_dns_record" "www" {
        domain = vultr_dns_domain.example.domain
        name   = "www"
        type   = "A"
        data   = "192.0.2.1"
        ttl    = 300
    }
    
  3. Apply the configuration and observe the following output:

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

Comments

No comments yet.