---
title: Provisioning
url: https://docs.vultr.com/products/network/dns/provisioning
description: Add your domain to Vultr DNS via Console, API, CLI, or Terraform, then point it to ns1.vultr.com and ns2.vultr.com.
publish_date: 2024-09-23T20:21:53.528533Z
last_updated: 2026-10-23T20:01:04.951331Z
---

> Index of every Vultr Docs page in markdown: https://docs.vultr.com/llms.txt

# How to Add a Domain to Vultr DNS

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 Console, API, CLI, or Terraform.

>[!NOTE]
>Point your domain's nameservers to `ns1.vultr.com`, `ns2.vultr.com` to manage it using Vultr DNS.

=== "Vultr Console"

    1. Navigate to **Products**, expand the **Network** drop-down and select **DNS** from the list of options.
    1. Click **Add Domain** to set up a new domain.
    1. 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.
    1. Click **Add** to apply the new domain and its DNS records using Vultr DNS.

=== "Vultr API"

    1. Send a `GET` request to the [**List DNS Domains** endpoint](https://www.vultr.com/api/#tag/dns/operation/list-dns-domains) 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}"
        ```

    1. Send a `POST` request to the [**Create DNS Domain** endpoint](https://www.vultr.com/api/#tag/dns/operation/create-dns-domain) 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](https://www.vultr.com/api/#tag/dns/operation/create-dns-domain) to view additional attributes to to apply on the domain.

=== "Vultr CLI"

    1. List all domains in your Vultr account.

        ```console
        $ vultr-cli dns domain list
        ```

    1. 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.

=== "Terraform"

    1. Ensure the [Vultr Terraform provider](https://registry.terraform.io/providers/vultr/vultr/latest/docs) is configured in your Terraform project.

    1. 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
        }
        ```

    1. Apply the configuration and observe the following output:

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