# DNS Security DNS / DNS Security ## Enable domain's DNSSEC key - [GET /activate_zone_key](https://api.docs.cpanel.net/specifications/whm.openapi/dns-security/activate_zone_key.md): This function activates a domain's DNSSEC security key. ## Create domain's DNSSEC zone key - [GET /add_zone_key](https://api.docs.cpanel.net/specifications/whm.openapi/dns-security/add_zone_key.md): This function generates a DNSSEC zone key for a domain. * Only servers that run PowerDNS can use DNSSEC. If you call this function on a server that doesn't use PowerDNS, you will receive an error. * After you enable DNSSEC on the domain, you add the Delegation of Signing (DS) records to your zone record and your registrar. * You modify the DNSSEC security key. To make any changes, you disable, delete, and re-create the DNSSEC security key. ## Disable domain's DNSSEC key - [GET /deactivate_zone_key](https://api.docs.cpanel.net/specifications/whm.openapi/dns-security/deactivate_zone_key.md): This function deactivates a domain's DNSSEC security key. Only servers that run PowerDNS can use DNSSEC. If you call this function on a server that doesn't use PowerDNS, you will receive an error. ## Disable DNSSEC on domain - [GET /disable_dnssec_for_domains](https://api.docs.cpanel.net/specifications/whm.openapi/dns-security/disable_dnssec_for_domains.md): This function disables DNSSEC on the domain. Only servers that run PowerDNS can use DNSSEC. If you call this function on a server that doesn't use PowerDNS, you will receive an error. - This action is . If you disable DNSSEC on the domain, you will lose the associated keys. You can only retrieve the keys by restoring them from a full back up of the account. - If you disable DNSSEC, you remove the Delegation of Signing (DS) records on your DNS server and with your registrar. ## Enable DNSSEC on domain - [GET /enable_dnssec_for_domains](https://api.docs.cpanel.net/specifications/whm.openapi/dns-security/enable_dnssec_for_domains.md): This function enables DNSSEC on the domain. * Only servers that run PowerDNS can use DNSSEC. If you call this function on a server that doesn't use PowerDNS, you will receive an error. * After you enable DNSSEC on the domain, you add the Delegation of Signing (DS) records on your DNS server and with your registrar. * You modify the DNSSEC security key. To make any changes, you disable, delete, and re-create the DNSSEC security key. ## Export domain's DNSSEC key - [GET /export_zone_key](https://api.docs.cpanel.net/specifications/whm.openapi/dns-security/export_zone_key.md): This function exports a DNSSEC security key to a domain. Only servers that run PowerDNS can use DNSSEC. If you call this function on a server that doesn't use PowerDNS, you will receive an error. ## Import DNSSEC key - [GET /import_zone_key](https://api.docs.cpanel.net/specifications/whm.openapi/dns-security/import_zone_key.md): This function imports a DNSSEC security key. Only servers that run PowerDNS can use DNSSEC. If you call this function on a server that doesn't use PowerDNS, you will receive an error. ## Remove DNSSEC key - [GET /remove_zone_key](https://api.docs.cpanel.net/specifications/whm.openapi/dns-security/remove_zone_key.md): This function removes a DNSSEC security key. Only servers that run PowerDNS can use DNSSEC. If you call this function on a server that doesn't use PowerDNS, you will receive an error.