SSL certificate maximum validity is being reduced to 200 days from March 2026. Read more →
DNS Normal ~5 min. read

DNS-validering af SSL-certifikater

Sådan validerer du domæneejerskab via DNS TXT- eller CNAME-records til DV-certifikater.

DNS-validering af SSL-certifikater

Introduction

This guide describe creating DNS TXT- and DNS CNAME-records on the most used DNS platforms.


The process will be similar on other platforms, but if you experience issues you are always welcome to contact us.


One the DNS record has been validated and the certificate issued that record will never be used again, and can safely be removed.

AWS

CNAME-record

  1. Login to your AWS control panel.


  1. Navigate to Route 53.


  1. Click Hosted zones and then the domain you wish to create a CNAME record for.


Select Domain Aws


  1. Click Create record.


New Dns Record Aws


  1. Enter the information you have received in an email.

Record name: The address the record should point from on your domain. Only enter the part that is not pre-filled. Remember the initial underscore. e.g.: _1f104a0bc617b3f5d05016e924c07fa7

Record type: Set to: CNAME - Routes traffic to another domain name and to some AWS resources.

Value: The address the record should point to at the issuer. e.g.: 24BA199E88C4D7A460F7BF28DDFB4AE8.57D5EDEE1A1935B34D4836A5867F9244.105087.sectigo.com

TTL: Set to: 3600

Routing policy: Set to: Simply routing


New Cname Record Aws


  1. Click Create records.

TXT-record

  1. Login to your AWS control panel.


  1. Navigate to Route 53.


  1. Click Hosted zones and then the domain you wish to create a TXT record for.


Select Domain Aws


  1. Click Create record.


New Dns Record Aws


  1. Enter the information you have received in an email.

Record name: The DNS name the certificate is to be validated on, if it is the base domain leave the field blank.

Record type: Set to: TXT - USed to verify email senders and for application-specific values

Value: The text string you have received.

TTL: Set to: 3600

Routing policy: Set to: Simply routing


New Txt Record Aws


  1. Click Create records.

Azure

CNAME-record

  1. Login to your Azure control panel.


  1. Navigate to DNS zone.


  1. Click the domain you wish to create a CNAME record for.


  1. Click Record set.


New Dns Record Azure


  1. Enter the information you got in the email on the right side.

Name: The address the record should point from on your domain. Only enter the part that is not pre-filled. Remember the initial underscore. e.g.: _1f104a0bc617b3f5d05016e924c07fa7

Type: Set to: CNAME - Link your subdomain to another record

Alias record set: Set to No

TTL: Set to 1 hour

Alias: The address the record should point to at the issuer. e.g.: 24BA199E88C4D7A460F7BF28DDFB4AE8.57D5EDEE1A1935B34D4836A5867F9244.105087.sectigo.com


New Cname Record Azure


  1. Click OK at the bottom.

TXT-record

  1. Login to your Azure control panel.


  1. Navigate to DNS zone.


  1. Click the domain you wish to create a TCT record for.


  1. Click Record set.


New Dns Record Azure


  1. Enter the information you got in the email on the right side.

Name: The DNS name the certificate is to be validated on, if it is on the base domain the field can be left blank or an @ can be entered.

Type: Set to: TXT - Text record type

TTL: Set to: 1 hour

Value: The text string you have received.


New Txt Record Azure


  1. Click OK at the bottom.

Domainnameshop

CNAME-record

  1. Login to your Domainnameshop control panel.


  1. Click My domains and then the domain you wish to add a record to.


Select Domain


  1. Click Manage DNS records


Manage Dns Records


  1. Click Show advanced settings to be able to add a CNAME record.


Advanced Settings


  1. Enter the information you have received in an email.

Host name: The address the record should point from on your domain. Only enter the part that is not pre-filled. Remember the initial underscore. e.g.: _1f104a0bc617b3f5d05016e924c07fa7

TTL: Set to: 1 hour

RR type: Set to: CNAME

Value: The address the record should point to at the issuer. e.g.: 24BA199E88C4D7A460F7BF28DDFB4AE8.57D5EDEE1A1935B34D4836A5867F9244.105087.sectigo.com



New C Name Record Domainnameshop


  1. Click the green plus to add the record.

TXT-record

  1. Login to your Domainnameshop control panel.


  1. Click My domains and then the domain you wish to add a record to.


Select Domain


  1. Click Manage DNS records


Manage Dns Records


  1. Click Show advanced settings to be able to add a TXT record.


Advanced Settings


  1. Enter the information you have received in an email.

Host name: The DNS name the certificate is to be validated on, if it is on the base domain the field can be left blank or an @ can be entered.

TTL: Set to: 1 hour

RR type: Set to: TXT

Value: The text string you have received.


New Txt Record Domainnameshop


  1. Click the green plus to add the record.

GratisDNS

CNAME-record

  1. Login to your GratisDNS control panel.


  1. Click DNS on the top bar.


Top Bar


  1. Click Ændre on the right side of the domain you wish to add a CNAME record to.


Change Dns Record


  1. Click Tilføj CNAME record.


New C Name Record


  1. Enter the information you have received in an email.

Host: The address the record should point from on your domain. Remember the initial underscore. e.g.: _1f104a0bc617b3f5d05016e924c07fa7.test.fairssl.dk

Cname: The address the record should point to at the issuer. e.g.: 24BA199E88C4D7A460F7BF28DDFB4AE8.57D5EDEE1A1935B34D4836A5867F9244.105087.sectigo.com

TTL: Set to: 3600


Change C Name Record


  1. Click Tilføj/Ændre CNAME record.

TXT-record

  1. Login to your GratisDNS control panel.


  1. Click DNS on the top bar.


Top Bar


  1. Click Ændre on the right side of the domain you wish to add a TXT record to.


Change Dns Record


  1. Click Tilføj TXT record.


New Txt Record


  1. Enter the information you have received in an email.

Host: The DNS name the certificate is to be validated on, e.g.: test.fairssl.dk

Text: The text string you have received.

TTL: Set to: 3600


Change Txt Record


  1. Click Tilføj/Ændre TXT record.

Verify DNS-record

You can verify that you have created the DNS record properly by running the following commands.

It will be the same on Linux and Mac, except you use the terminal instead of a command prompt.


  1. Press windowskey + r.

Enter cmd and press enter to open the command prompt.


  1. Run the following command to verify a TXT record:

Replace test.fairssl.dk with the domain you have added the TXT record to.


nslookup -type=txt test.fairssl.dk


Check Txt Record


  1. Run the following command to verify a CNAME record:

Insert the address you have added the record to.


nslookup -type=cname _1f104a0bc617b3f5d05016e924c07fa7.test.fairssl.dk


Check Cname Record

Strengthen your TLS security

Use the Mozilla SSL Configuration Generator to generate a secure TLS configuration with modern cipher suites and protocol settings.

Mozilla SSL Configuration Generator guide

Ready to create a free account?

Create a free account and issue your first certificate in under 10 minutes.