Overview
This article provides a comprehensive guide on how to add CAA (Certification Authority Authorization) DNS records in Plesk, both through the Plesk panel and the command line interface (CLI). It also covers the necessary pre-requirements and best practices to ensure smooth DNS management.
Pre-requirements
- Access to a Plesk server with administrative privileges.
- Basic understanding of DNS records, specifically CAA records.
- Familiarity with using the command line interface (CLI) for Linux.
Adding CAA Records via Plesk Panel
- Log into Plesk:
Access your Plesk control panel by entering your credentials.
- Navigate to DNS Settings:
Go to Domains -> example.com -> DNS Settings.
- Add a New Record:
Press the Add Record button.
- Configure CAA Record:
Set the Record Type to
CAA
, enter the required values, and hit the OK button. - Apply Changes:
Press the Update button to apply the changes.
Adding CAA Records via Linux CLI
- Connect to the Server:
Use SSH to connect to your server:
ssh user@your-server-ip
- Add CAA Record:
Run the following command to add the CAA record:
plesk bin dns --add example.com -caa caa_value -tag issue
Available options for the CAA record tag are
issue
,issuewild
, oriodef
.
Adding CAA Records via Windows CLI
- Connect to the Server:
Use Remote Desktop Protocol (RDP) to connect to your server.
- Open Command Prompt or PowerShell:
Start a Command Prompt or PowerShell as Administrator.
- Add CAA Record:
Run the following command:
plesk bin dns --add example.com -caa caa_value -tag issue
Available options for the CAA record tag are
issue
,issuewild
, oriodef
.
Gotchas to Avoid
- External DNS Servers: If your domain uses external DNS servers, remember that records must be added outside of Plesk.
- Correct Values: Ensure that the values entered for the CAA records are correct to avoid misconfigurations.
- Propagation Time: Be aware that changes to DNS records may take time to propagate across the internet.
This guide outlines the steps to add CAA DNS records in Plesk, both through the panel and via the command line. By following the outlined procedures and best practices, you can effectively manage your DNS records and ensure the proper functioning of your domain.