Entrust Datacard

Entrust Certificate Services Support Knowledge Base

Last Modified: 2017-08-24 16:33:25.0

How to add a CAA record into a DNS zone file using BIND DNS

Article Number: 70951

User-added image

There is a video for this solution.


Requirements :
  • BIND DNS Software from ISC
  • Linux/Windows OS with BIND installed (in this example using Linux CentOS version 7)
  • DNS Server has been setup and function properly
Steps to setup:

1. Login to your DNS server using superuser as root.

2. Launch the terminal. If you don’t login as superuser then type: $ sudo –

You will be prompted for the password for your superuser. Type the password and you will be on the root prompt.

3. Check your BIND version. This is mandatory to determine which entry is applicable for your BIND version.
Standard BIND Zone File for BIND version 9.9.6 and higher
example.com.       CAA       0 issue "entrust.net"
 
Legacy BIND Zone File for BIND version below 9.9.6
example.com.        TYPE257 \# 18 00056973737565656E74727573742E6E6574
 
To check the Bind version type, use the command below :
named -v
User-added image

4. Locate your DNS zone file. This file by default is located under /var/named/ , however sometimes it is hidden for the security purposes. Please consult with your network administrator. In this example, the DNS zone file is under /var/named/ with the filename called entrustlab.com.zone

User-added image

5. WARNING ! Before you continue on the step below, please make sure you make a copy of your working DNS zone file in order to avoid any mishap happened.

Edit the zone file using the line text editor tool such as nano or vi
Example:
nano /var/named/entrustlab.com.zone
User-added image
The DNS zone file will be opened. You should see the current, already existing entry:

User-added image
6. Hit Enter at the end of the line with $TTL 86400 to give a line space below for new record entry.

User-added image

7. Copy and paste the entry below to the empty line space that created from step 6 above.
@   IN          TYPE257 \# 18 00056973737565656E74727573742E6E6574

User-added image

NOTE: If your DNS zone file is empty, then you need to type the entry starting from $ORIGIN with your own FQDN domain name.

8. Press Ctrl-X to save the modification. Answer Yes and then hit Enter to overwrite it into the same filename.
User-added image
User-added image

9. Restart your DNS service by typing:
service named restart

User-added image
NOTE: If you receive any error during the DNS service restart process, go back to your zone file and make sure you don’t have any typo on the entries. You can still refer back to your old working zone file that you backup on step 5.

To check the detail status of DNS service, type :
service named status

User-added image

10. To check if the CAA record has been updated correctly and can be queried, you can run the command:
Root # dig <yourdomainname> type257

User-added image

If you have any questions or concerns please contact the Entrust Certificate Services Support department for further assistance: 

Hours of Operation:
Sunday 8:00 PM ET to Friday 8:00 PM ET 
North America (toll free): 1-866-267-9297 
Outside North America: 1-613-270-2680 (or see the list below) 
NOTE: It is very important that international callers dial the UITF format exactly as indicated. Do not dial an extra "1" before the "800" or your call will not be accepted as an UITF toll free call.
 
CountryNumber
Australia0011 - 800-3687-7863
1-800-767-513
Austria00 - 800-3687-7863
Belgium00 - 800-3687-7863
Denmark00 - 800-3687-7863
Finland990 - 800-3687-7863 (Telecom Finland)
00 - 800-3687-7863 (Finnet)
France00 - 800-3687-7863
Germany00 - 800-3687-7863
Hong Kong001 - 800-3687-7863 (Voice)
002 - 800-3687-7863 (Fax)
Ireland00 - 800-3687-7863
Israel014 - 800-3687-7863
Italy00 - 800-3687-7863
Japan001 - 800-3687-7863 (KDD)
004 - 800-3687-7863 (ITJ)
0061 - 800-3687-7863 (IDC)
Korea001 - 800-3687-7863 (Korea Telecom)
002 - 800-3687-7863 (Dacom)
Malaysia00 - 800-3687-7863
Netherlands00 - 800-3687-7863
New Zealand00 - 800-3687-7863
0800-4413101
Norway00 - 800-3687-7863
Singapore001 - 800-3687-7863
Spain00 - 800-3687-7863
Sweden00 - 800-3687-7863 (Telia)
00 - 800-3687-7863 (Tele2)
Switzerland00 - 800-3687-7863
Taiwan00 - 800-3687-7863
United Kingdom00 - 800-3687-7863
0800 121 6078
+44 (0) 118 953 3088