DNS Zones contain domain mapping information and essential DNS data associated with specific resources. Managing DNS Zone settings enables the activation of SOA (State of Authority) information and DNSSEC (Domain Name System Security Extensions) on a domain.
Follow this guide to manage domain DNS Zones using Vultr DNS, the Vultr Customer Portal, API, or CLI.
Navigate to Products, expand the Network group and click DNS to view all domains in your account.
Click your target domain to manage its DNS records.
Navigate to the Zone Settings tab.
Toggle the DNSSEC Settings status option to Enabled to generate a new DNS key and DS Records with cryptographic keys to submit to your domain registrar.
Replace ns1.vultr.com
with your primary name server if available and enter your domain administrator email address in the E-mail Address field.
Click Update SOA Record to apply the domain SOA Information.
Send a GET
request to the List DNS domains endpoint and note the target domain in your output.
$ curl "https://api.vultr.com/v2/domains" \
-X GET \
-H "Authorization: Bearer ${VULTR_API_KEY}"
Send a GET
request to the Get DNSSec Info endpoint to view the domain's DNSSec status.
$ curl "https://api.vultr.com/v2/domains/{dns-domain}/dnssec" \
-X GET \
-H "Authorization: Bearer ${VULTR_API_KEY}"
Send a PUT
request to the Update a DNS Domain endpoint to enable DNSSec on the domain.
$ curl "https://api.vultr.com/v2/domains/{dns-domain}" \
-X PUT \
-H "Authorization: Bearer ${VULTR_API_KEY}" \
-H "Content-Type: application/json" \
--data '{
"dns_sec" : "enabled"
}'
Send a GET
request to the Get SOA Information endpoint to view the domain's SOA configuration.
$ curl "https://api.vultr.com/v2/domains/{dns-domain}/soa" \
-X GET \
-H "Authorization: Bearer ${VULTR_API_KEY}"
Send a PATCH
request to the Update SOA Information endpoint to update the domain's SOA configuration.
$ curl "https://api.vultr.com/v2/domains/{dns-domain}/soa" \
-X PATCH \
-H "Authorization: Bearer ${VULTR_API_KEY}" \
-H "Content-Type: application/json" \
--data '{
"nsprimary" : "primary-nameserver",
"email" : "adminEmail"
}'
List all domains in your Vultr account and note the target domain.
$ vultr-cli dns domain list
View the domain's DNSSec status.
$ vultr-cli dns domain dnssec-info <domainName>
Enable DNSSec on the domain.
$ vultr-cli dns domain dnssec <domainName> --enabled enabled
View the domain's SOA information.
$ vultr-cli dns domain soa-info <domainName>
Update the domain's SOA information.
$ vultr-cli dns domain soa-update <domainName> --email <adminEmail>--ns-primary <primary-nameserver>