DKIM and SPF in bind.

Ken D'Ambrosio ken at jots.org
Sun Dec 22 06:46:17 UTC 2019


Hey, all.  I'm trying to set up DKIM on my Ubuntu 18.04 server, but no 
dice.  Here are the pertinent lines:

jots.org.                     IN TXT "v=spf1 mx a ptr ~all"
_domainkey.jots.org.          IN TXT "o=!;"
default._domainkey.jots.org.  IN TXT ("v=DKIM1;k=rsa;p="
   "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvZ4GAao1k"
   "LJxIVbWO3NUFULCSm0QjdcbvjulkVockuHxIwLcMOChWHfrPweoIY"
   "3DT2TmU6IiI80YKSIensUw1KLtsSvXLjw0jWekvZ1/fLU5F5Bfzvx"
   "f79rxpKTw/kctV6WmRKxEB8rYNNLjtakuiFs2xMnha+7jUxEbtTui"
   "nSbmG4f09FbA37CvXJElqZP/034mXtPOp7os2Z")

NOTE: I tried doing the key on a single line, and kept getting a syntax 
error when starting bind.  Go figure.  Regardless, this doesn't give me 
what I wanted it to:

root at basidium:/etc/bind/named# host -t txt jots.org localhost
Using domain server:
Name: localhost
Address: 127.0.0.1#53
Aliases:

jots.org descriptive text "v=spf1 mx a ptr ~all"
===================================
I mean, I'm glad SPF is there, but where's DKIM?  I don't seem to be 
throwing an error...

Thanks for any insights...

-Ken




More information about the ubuntu-users mailing list