This article explains how to enable or disable the DKIM record on a per domain basis.
Follow the steps:
- When you are using WHM interface, there is a global option to enable SPF & DKIM records to all domains on the server.
- Log in to WHM.
- Select “DNS Functions” category and click on the “Enable DKIM/SPF globally” sub-option.
- Yet, utilising the cPanel API calls; you can enable or disable the DKIM record for specific domains. There is no method to accomplish this via the WHM interface.
- To carry out this process, you must possess a working knowledge of the cPanel API calls.
- You can execute these calls using the command-line interface or access them through WHM’s terminal feature, enabling the performance of precise cPanel operations.
- Now, to enable or disable a DKIM record for a domain, you will have to refer the following commands-
- To enable DKIM-
whmapi1 enable_dkim domain=cptest-2.com - To disable DKIM-
whmapi1 disable_dkim domain=cptest-2.com
- To enable DKIM-
Hope you enjoyed reading our KB. If you are looking forward for such informative KBs, do visit our KB section on regular basis.