Q: DKIM Add to DNS txt Record
Hi Folks,
I have a DKIM key to add and the service provider that I am using instructs me to put in the host name as "Host/Name: api._domainkey ".
However I cannot put underscore "_" in the server's DNS entry. So,is there any proper way to do this? I can successfully put SPF as a txt record though.
Any help is appreciated.
Best Regards,
Pyie
Mac Pro, OS X Server
Posted on Mar 15, 2016 8:27 PM
You need to hand edit the DNS server file. As you have found the Server.app program does not allow this.
First temporarily turn off the Mac DNS server in Server.app
Then launch Terminal.app and edit the appropriate file in -
/Library/Server/named/
e.g. db.yourdomain.com
Then add a line in that file looking like the following but with your values.
_domainkey.yourdomain.com. 10800 IN TXT "t=y; o=~; r=postmaster@yourdomain.com"
Note: You might have to do this both on your Mac DNS server and also on an external DNS server managed by your Internet provider, this depends on how your domain is setup.
Finally use Server.app to start your Mac DNS server again, it will then re-read the DNS files including the above addition.
Posted on Mar 16, 2016 3:48 AM