Pre-requirements
- Access to your DNSSEC keys (ZSK or KSK) that need to be imported.
- Administrator access to your cPanel account.
- Familiarity with DNSSEC key formats and types (ZSK, KSK).
Steps to Import a DNSSEC Key into cPanel
- Log in to your cPanel account.
- Scroll down to the Domains section and click Zone Editor.
- In the Zone Editor interface, locate the domain you wish to import the DNSSEC key for, and click the DNSSEC button next to it.
- Click the Import Key button to open the Import DNSSEC Key interface.
- Select the key type to import:
- ZSK (Zone Signing Key): Responsible for signing individual records within a DNS zone.
- KSK (Key Signing Key): Used to sign the DNSKEY record, which authenticates the DNSSEC key itself.
- Enter the DNSSEC key information into the provided text box.
- Click Import to complete the process.
Gotchas to Avoid
- Ensure the DNSSEC key format is correct before importing to avoid configuration errors.
- Make sure you are importing the correct key type (ZSK or KSK) to avoid breaking the DNSSEC chain of trust.
- If importing a new KSK, remember to update the DS record at your domain registrar to avoid DNS resolution issues.
Linux Commands for DNSSEC Validation
dig +dnssec example.com
This command verifies that DNSSEC is functioning correctly after importing the key. Look for the presence of DNSSEC-related records such as RRSIG and DNSKEY in the output.