Cobra Forum

Plesk Panel => system admin => Topic started by: Administrator on Jan 02, 2023, 09:36 AM

Title: Introduction to Vultr DNS
Post by: Administrator on Jan 02, 2023, 09:36 AM
Vultr offers free DNS hosting for customers' domains. Vultr's nameservers are on an AnyCAST network to ensure fast DNS resolution. You are not required to use Vultr DNS when using other Vultr services, but it's fast, free, and easy to use. Here's how.

1. Create a new DNS Zone

https://pix.cobrasoft.org/image/I1at
https://pix.cobrasoft.org/images/2023/01/02/AddDomain2-1.png
[/list]

The created domain has default A, MX, and NS records, and a wildcard CNAME for the domain.

2. Create DNS Records

To add DNS records, use the fields at the top of the DNS record list.
Fill in the appropriate values, as described below, then click the + icon in the Actions column. All records use the TTL value, which is the "time to live" value, or the amount of time other DNS servers cache the DNS record. You do not usually need to modify this value.

3. Set the Domain's Nameserver

Change your domain's nameserver (NS) records, at the domain registrar where your domain name was purchased, to Vultr's primary and secondary name servers:

Only these two nameservers should be listed for your domain at your registrar. Delete any other nameservers to prevent conflicts. The specific instructions vary depending on your registrar, we recommend searching for "register nameserver ns records at YOUR_REGISTRAR_NAME" to locate step-by-step instructions for your registrar. Some registrars refer to this setting as your "personal nameservers, "custom nameservers", or "authoritative nameservers".

When you change your domain's NS records to Vultr's name servers, all domain services are affected. Make sure your Vultr DNS records are correct before updating the NS records at your registrar.

DNS Record Types

A

An A (Address) record points the domain or subdomain to an IPv4 address.


AAAA

AAAA (Quad A) records works the same as A records, except for IPv6.

CAA

The CAA (Certification Authority Authorization) record specifies which certificate authorities can issue certificates for the domain.
                 
CNAME

CNAME (Canonical Name) records create aliases that point to A or AAAA records for DNS redirect. They can also point to CNAME records, but this results in multiple, inefficient DNS lookups.
                 
foo.example.org is now an alias for bar.example.org.

MX

MX (Mail Exchanger) records direct email to a mail server. MX records always point to a fully-qualified domain name, never to an IP address.

                 Multiple MX records, pointing to multiple mail servers, may exist for example:
pic
SMTP servers will attempt delivery to mail.example.org (priority 10) first. Then, if delivery fails, mail2.example.org.

NS

The NS (Name Server) record specifies the authoritative nameservers for a domain or a subdomain.
                 Vultr correctly sets the NS records to the default name servers when you create a DNS zone. The default name servers are:
                 
Do not change these records unless creating a "vanity nameserver". If you create vanity nameservers, there is no guarantee that the IP addresses for ns1.vultr.com and ns2.vultr.com won't change in the future.

SRV

SRV (Service) records assist with service discovery for protocols such as VoIP and LDAP.
                                                       Example: _sip._tls
                                                       Example: 1 443 sipserver.example.org
                       
SSHFP

An SSHFP (Secure Shell fingerprint) record identifies SSH keys that are associated with a hostname. You should secure SSHFP records with DNSSEC.
                                              
Quote1 1 6580deadbeef0920be418551eb9978b830f82935
[/list]
The valid values for Algorithm and Fingerprint are below. For more details, please see our step-by-step guide guide Use SSHFP Records to Verify SSH Host Keys.

Algorithm
There are four different algorithms, each represented by an integer:
       
Fingerprint type

There are two fingerprint types, represented by an integer:
               
 You can use ssh-keygen to generate SSHFP records with the -r parameter, followed by the hostname.
Quote$ ssh-keygen -r test.example.org

test.example.org IN SSHFP 1 1 65809317c6510920be418551eb9978b830f82935

TXT

TXT (Text) records can store arbitrary string attributes for various purposes.
                       
SOA Information
           
Use the Zone Settings tab of the Manage DNS Domain page to modify SOA information.
pic

Limitations

The following limitations apply to Vultr DNS:
             
Enabling DNSSEC

Vultr allows you to enable DNSSEC for any domain on your account. Navigate to the Zone Settings tab within the Vultr DNS control panel and toggle the DNSSEC switch on.
pic

You will have to provide your domain's registrar with the DS records listed on the Zone Settings page to finish DNSSEC setup. These records are unique to each domain, and cannot be recovered in the event you disable DNSSEC.

Once the records are set with your registrar, verify the DNSSEC setup with a tool like DNSViz.

Using Vultr DNS with cPanel

Vultr DNS cannot be used with cPanel in an automated fashion. If you run a cPanel server and plan on using Vultr DNS, you will need to manually add/edit your DNS zones and records. cPanel DNS clustering does not support Vultr's API.

Manage DNS via API

The Vultr API offers several endpoints to manage DNS.

DNS Domains
           
DNS Records
           
SOA
                         
DNSSEC
         
FAQ
                        Yes. Vultr runs its own AnyCAST network for DNS.
                        Yes. However, you need to manually add domains and DNS records, as explained in this document's
              cPanel section.
                        Vanity nameserver support is currently bound by the limitations listed in the "Limitations"
              section of this document. There are no immediate plans to remove any of these limitations.
                        Yes. Records and domain names containing Unicode characters are automatically converted to
              punycode.
                        Yes. You can enable it for any domain on your account. For more information regarding DNSSEC, see
              Enabling DNSSEC.


             
[/list]