Author Topic: How to add external domain DKIM records  (Read 4275 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
How to add external domain DKIM records
« on: January 25, 2021, 07:26:21 AM »
I have an External SMTP server and want to add DKIM of that domain with different selector.

But after saving the TXT record the "+" sign has been removed and contain "enter" character. The value of DKIM is under 255 characters, so it no need to split.

For further explain I added the records below:

I add below TXT record

v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDKmAOLmsa8SeP86gTRF4G6+iK34e2bo7Qp37LhcRDOeFlxdhm5N49iIa6TeV5HCQI2vXxkzlXGxVV60UbpKHNaf9ArWLvg8Goy1CyHD22d9nWL+QBShmnzg9uWJZXexd1P1dy4kOJRDbI3SyFanjOGQF+HVdmBrJdIRsrSGh9BEQIDAQAB

after click on save, showing below record

v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDKmAOLmsa8SeP86gTRF4G6 iK34e2bo7Qp37LhcRDOeFlxdhm5N49iIa6TeV5HCQI2vXxkzlXGxVV60UbpKHNaf9ArWLvg8Goy1CyHD22d9nWL QBShmnzg9uWJZXexd1P1dy4kOJRDbI3SyFanjOGQF HVdmBrJdIRsrSGh9BEQIDAQAB

Re: How to add external domain DKIM records
« Reply #1 on: January 25, 2021, 09:58:11 AM »
Ironically, the clue to the solution is in your question - a number of times.
Try a search for "Split DNS record" (another clue.)

Offline
*
Re: How to add external domain DKIM records
« Reply #2 on: January 25, 2021, 10:32:06 AM »
 ;D ;D Thank you very much cynique for your clue!

I manually edit record in the DNS Functions => List DNS Zone => mydomain.com.db file and restart the BIND DNS Server from Admin Panel.

Now the DKIM is validate without spiting because as I described above it is under 255 characters.

My problem is solved but it is still a question that's why it were not properly save from User panel.

Re: How to add external domain DKIM records
« Reply #3 on: January 25, 2021, 11:19:42 AM »
You're welcome.  :)
The DNS editor is full of bugs. It can't be particularly easy to code for, with variable record length and fields (ex. MX record).
I've previously mentioned bugs with the trailing point used to terminate/delimit a FQDN. Just yesterday, I needed to manually edit a domain for the records to be corrected.
The GUI is a useful tool but nowhere near the polished cPanel version, which appears to have much in the way of syntax checking.
Think of it as a quick means to add in records, then go and check the file for obvious mistakes (missing TTL, for example).
« Last Edit: January 25, 2021, 11:21:54 AM by cynique »

Offline
*
Re: How to add external domain DKIM records
« Reply #4 on: January 26, 2021, 05:15:44 AM »
I am also Administrate different cPanel Servers but new to Centos Web Panel and I appreciate the efforts of senior persons on this forum like you who spare quality time to educate and solve the problem of others.

Thank you once again for further clarify about DNS zone!