Gandi launched a new platform called Live DNS a couple of years ago, it has been improving all the time. Is is part of their V5 upgrade. While Gandi have now added this to their GUI the V5 DNS API can be used to automate setting up signing your zone on their name servers. In business setup's this is useful or if like me you just like to learn. This guide is designed for a technical audience.

DNSSEC happens in two stages. First you generate your gets and get your DS record. You then add the DS records to the registry.

This guide assumes you are already using the new V5 Live DNS Service and you have your DNS records setup.

What is DNSSEC?

DNSSEC basically uses cryptography to validate that the answer a DNS server gives is genuine and has not been spoofed.

To setup DNSSEC:

Run the following using replacing YOUR-API-KEY-HERE with the one that can be found in the "Security" section in v5 admin panel. You will need to be able to make authenticated requests to the API. Replace with your domain

curl -v -X POST -H 'Content-Type: application/json' \
-d '{"flags": 257}' -H "X-Api-Key: YOUR-API-KEY-HERE" \

If all goes well you should see a message saying:

* Connection #0 to host left intact
{"message": "Domain Key Created"}

The most important thing to look for is the location as the image below shows.


We need this to get the DS record. To continue copy the location URL and then use the command

curl -H"X-Api-Key: YOUR-API"

All being well you will get a long record shown. simply copy the public_key part. This is your DS record. In Gandi V4 simply click the domain and then Manage DNSSEC. Add the DS key. The command above will give you the algorithm version, make sure you select it using the drop down.

Once they key is added go back to the manage DNSSEC screen. You will see a fingerprint. If everything has worked the digest field in your control panel and the fingerprint field should match from the command you ran above.