How do I Update My DNS Records?¶
DNS records are a set of information that you provide that connects your domain name to the server where you host your content. Providing correct DNS Records are a necessary step for a functional website.
DNS records are provided through your nameserver. Gandi provides nameservers free of charge to users who purchase domains with us. If you use an external nameserver, however, you will need to manage your DNS records through their interface.
If you originally purchased your domain using Gandi’s old interface then you may need to set your domains to use our LiveDNS, our latest version of nameservers. You can read about how to do this here.
There are several ways for you to edit your DNS records with Gandi. You can choose the method that most fits your needs, since all methods will produce the same results.
First, find your domain’s DNS records by following these steps:
- After logging in, click “Domain” in the left navigation menu.
- Click on the domain name you wish to manage.
- Select the “DNS Records” tab for that domain.
From here you can edit your DNS records one at a time in table mode, or edit the entire zone file in text mode.
In table mode you use Gandi’s interface to manage DNS records. You can do the following actions:
- Click the green pencil next to a record to edit the record.
- Click the red trash icon next to a record to delete the record.
- Click the green “Add” button above the table to add a new record.
With each option a dialog box will appear asking you for the necessary information. Once you confirm your choices the change will be made.
You can create a set of DNS records that will be applied to every domain name you purchase by using configuration templates. You can read in depth about how to use configuration templates here.
If you are using Gandi’s LiveDNS servers, you have the ability to create a backup of your DNS records. To do this, go to the “DNS Records” tab for the desired domain and click “Make a backup copy.” At this time this feature is only available for users using LiveDNS.
To restore your DNS records using an existing backup click “Restore from a backup.” You will then choose which backup to use, or choose to use the default Gandi LiveDNS records.
To learn about the different record types, what they are used for, and how to set them up with Gandi, visit the following pages:
- A records - Used to point your domain to a server with a static IP address.
- Alias record - Used to point your domain to another website address.
- CAA record - Used to provide information to certificate authority during the process of validating an SSL certificate.
- CNAME record - Used to point a subdomain to another website address.
- MX record - Used to point to a mail server.
- PTR record - Used for reverse DNS.
- SPF record - Former record type used for preventing spoofed emails. TXT records are now used.
- TXT record - Used for attaching text information to your domain. This is a flexible record type that serves multiple purposes.
Subdomains are the part directly in front of your domain name. For example in “docs.gandi.net” the subdomain starts with “docs”. In “www.gandi.net” the subdomain starts with “www”.
To make a subdomain you will first follow the above instructions to edit your DNS records.
You will want to then click the green “Add” button to add a record. When creating a subdomain you can either use an A record to point your subdomain to an IP address, or use a CNAME record to forward your subdomain to another website address. In the form you can specify the subdomain and the destination, then confirm.