Page 1 of 1

DKIM is in DNS but doesn't show for any tools, including dig

Posted: Mon Jan 02, 2017 3:55 am
by retronoodle

Code: Select all

dig -t txt mail._domainkey.mydomain.com
doesn't show my DKIM record - nor do any of the online tests.

It is clearly in the Vesta CP, however.

I have read most of the threads in this forum and have not been able to solve the issue.

Any help?

Thank you!

Re: DKIM is in DNS but doesn't show for any tools, including dig

Posted: Mon Jan 02, 2017 6:32 pm
by retronoodle
I have been checking all the online tools, and I get replies like this:
We were not able to retrieve your public key.
Please ensure that you inserted your DKIM TXT DNS record on your domain mydomain.com using the selector mail.
If you recently modified your DNS, please be patient and test again your Newsletter in 12 hours, it may take some time for the DNS to be propagated
It really feels like dns is not getting reported. Does anyone know how to dig for ALL TXT records?

Re: DKIM is in DNS but doesn't show for any tools, including dig

Posted: Mon Jan 02, 2017 6:34 pm
by retronoodle
Ok, I did a lookup of all TXT records here.

https://mxtoolbox.com/TXTLookup.aspx

It shows the spf but not the DKIM. Something is up with the way Vesta is handling these. It's not a matter of the record being incorrect, it's a matter of the record missing. But according to vesta it is there.

It's driving me crazy! Any help would be so much appreciated.

Thanks,
Tim

Re: DKIM is in DNS but doesn't show for any tools, including dig

Posted: Mon Jan 02, 2017 7:25 pm
by retronoodle
It also looks like Vesta is generating DKIM without

Code: Select all

v=DKIM1;
Is this ok?

[SOLVED - kinda] Re: DKIM is in DNS but doesn't show for any tools, including dig

Posted: Mon Jan 02, 2017 9:04 pm
by retronoodle
It started working when I added a . to the record after the domain name.

It may be something that VestaCP staff may want to add in there too, because Vesta doesn't seem to do that. Also adding in the DKIM1 like I mentioned above might be helpful.

Code: Select all

mail._domainkey.mydomain.com.
<--- the dot

Hope this helps someone else, at least.

Thanks

Re: DKIM is in DNS but doesn't show for any tools, including dig

Posted: Wed Feb 08, 2017 6:01 pm
by bhc
How do you add a . the record after the domain name?

edit: I just edited the dns/db file and restarted bind..

Is this a known bug?

Re: DKIM is in DNS but doesn't show for any tools, including dig

Posted: Sat May 06, 2017 4:04 pm
by cottager
Not sure if it's related, but if you check dkim off and back on again, the DNS entry gets malformed for mail._domainkey for that domain. You could select the content for it and copy/save it somewhere, then delete the mail._domainkey record in your DNS and recreate it and paste in the content you already copied/saved.

What happens when you check dkim off and on again is the dns record gets created as mail._domainkey.domain.com.domain.com, when it should be mail._domainkey.domain.com

more info here viewtopic.php?f=13&t=13533