DKIM Bind problems [message #132269] |
Wed, 12 October 2016 16:24  |
beachmat
Messages: 83 Registered: November 2010
|
|
|
|
I'm trying to create a DKIM public key on what I think is a Bind DNS server (Mac OS Server 5). I've followed the instructions in the manual about splitting the record, but Connect keeps saying the key is wrong. If I do nslookup -query=txt mail._domainkey.ourdomain.com, it looks ok apart from the quotes and spaces between the split parts. Can anyone suggest anything?
thanks
|
|
|
Re: DKIM Bind problems [message #132270 is a reply to message #132269] |
Wed, 12 October 2016 17:35   |
beachmat
Messages: 83 Registered: November 2010
|
|
|
|
Ok, I seem to have got the key working on the main domain. The problem now is an alias domain which Connect is saying has an invalid key, even though it's the same as the main domain.
The other weird thing is that if I enter the key as multi-line, so
("v=DKIM1;"
"p=part1"
"part2"
"part3"
"part4")
then go back to the zone file later, it has removed the quotes and line breaks.
[Updated on: Wed, 12 October 2016 17:38] Report message to a moderator
|
|
|
|
Re: DKIM Bind problems [message #132279 is a reply to message #132269] |
Wed, 12 October 2016 20:49   |
j.a.duke
Messages: 239 Registered: October 2006
|
|
|
|
beachmat wrote on Wed, 12 October 2016 10:24I'm trying to create a DKIM public key on what I think is a Bind DNS server (Mac OS Server 5). I've followed the instructions in the manual about splitting the record, but Connect keeps saying the key is wrong. If I do nslookup -query=txt mail._domainkey.ourdomain.com, it looks ok apart from the quotes and spaces between the split parts. Can anyone suggest anything?
thanks
I'm curious what you learn in resolving the problem-I've got the exact same issue, running an older version of OS X Server. nslookup for both internal & external name servers return the right stuff, but Connect is unhappy with whatever is returned to it.
Cheers,
Jon
|
|
|
Re: DKIM Bind problems [message #132285 is a reply to message #132279] |
Thu, 13 October 2016 11:46  |
beachmat
Messages: 83 Registered: November 2010
|
|
|
|
It's been working now since last night so hopefully it will stay that way (previously Connect was happy with the key then changed its mind). After much fiddling around the syntax that seems to work is
( "v=DKIM1;""p=part1""part2""part3""part4" )
As I say, I'm pretty sure if you enter it on multiple lines, the Server app later removes the line breaks and quotes. Another factor that I think was confusing matters is that despite me clearing the DNS cache and restarting the DNS service after each zone file change, there seems to be a delay in Connect picking the change up. After my previous message I had more or less given up, but checked again maybe 10 minutes later and it was working.
|
|
|