How to adjust DNS records

In this tutorial, you will learn how to adjust the DNS records of your domain, whereas, in the previous tutorial, you have learned how to register a domain. When the registration is complete, it’s time to set up your domain records.

Prerequisites

For this tutorial you will need the following before you can adjust DNS records:

  1. An active Fuga Cloud account.
  2. The steps in the pervious tutorial: How to register a domain

Go to your Fuga dashboard and select services on the left menu, then click on DNS. After your request to add your domain to the Fuga cloud is approved, (check How to register a domain), your domain will be shown. Click on Manage records. You’ll get an overview of records. The first thing you will notice is that your domain will have an SOA (Start of authority) and NS (name server) record.

SOA

Start of Authority (SOA) is a way to provide information about the domain, like an email address, last updated, and how long the server needs to wait for refreshing.

NS

Name server (NS) specifies which name servers are authoritative, you see the two name servers you have added in the previous tutorial:

  • anycast-eu.dns.cyso.eu
  • unicast-eu.dns.cyso.nl

It's not possible to change the name servers

When you would like to add a new record, click on Create record, and a new window will appear.

Here you can add a new DNS record type, with its Record name, Time To Life (TTL), and data.

Record types

At 'record type', choose which record type you would like to use for your domain. We support the following record types:

  • A: Address record; is most commonly used to map hostnames to an IP address. 
  • AAAA: IPv6 Address record; is most commonly used to map hostnames to an IPv6 address.
  • CAA: Certification Authority Authorization record; Allows a domain name holder to specify one or more Certificates.
  • CNAME: Canonical Name; a record that maps from a domain name to another name.
  • MX: Mail exchange; uses mail servers to deliver email for a domain.
  • PTR: Pointer; are for reverse DNS lookups, matching a domain name to an IP instead of the other way around.
  • SPF: Sender Policy Framework; a record that lists the IP addresses that a domain expects to send email messages from users at that domain.
  • SRV: Service; used to reduce the user input for querying DNS records. It is not required to put a port at the end of the domain. (example.com:80)
  • SSHFP: SSH Host key fingerprints; identify the SSH key associated with a hostname.
  • TXT: Text; associates the domain with a particular text value.

Record name

When creating a record, first select a Record type and then the Record name. The domain name must end with a dot “.” to indicate this as an FQDN (Fully Qualified Domain name).

TTL

TTL (Time To Life) is an expiration timer for data. Higher TTL reduces the number of update requests.
For example, if you are sure you will not be changing a domain for 24 hours, you use a 24 hours (86400) TTL. The name server will then ask for confirmation every 24 hours, this can prevent latency of the website.
With a lower TTL, the name server will refresh the records at the user side sooner.

Data

With data, you add the data for a record type.

For example with:

  • A-Records you add the IPv4 address that matches the domain. 
  • AAAA records the IPv6 address.
  • CNAME records the domain name that maps from one domain to another.

Conclusion

In this tutorial, you have learned how to add a new DNS record, and you have gained knowledge of the meaning and working of the different DNS record types.