From a5608fc802dc76f66c6982794bfcc9a177887ae7 Mon Sep 17 00:00:00 2001 From: Jeremy Fleischman Date: Thu, 13 Mar 2025 11:50:56 -0500 Subject: [PATCH] docs/dns: update DKIM TXT instructions I recently went through this, and the generated file looks a bit different than was previously documented. I opted to be explicit about `k=rsa` (even though [the default is "rsa"](https://datatracker.ietf.org/doc/html/rfc6376#section-3.6.1)). I also opted to be explicit about `s=email` ([the default is "*"](https://datatracker.ietf.org/doc/html/rfc6376#section-3.6.1)). Honestly not sure what the consequences of this are, I don't know if DKIM is used for anything besides email. --- docs/setup-guide.rst | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/docs/setup-guide.rst b/docs/setup-guide.rst index 08de1b3..f359893 100644 --- a/docs/setup-guide.rst +++ b/docs/setup-guide.rst @@ -180,18 +180,19 @@ like :: - mail._domainkey IN TXT "v=DKIM1; k=rsa; s=email; p=" ; ----- DKIM mail for domain.tld + mail._domainkey IN TXT ( "v=DKIM1; k=rsa; " + "p=" ) ; ----- DKIM key mail for nixos.org where ``really-long-key`` is your public key. Based on the content of this file, we can add a ``DKIM`` record to the domain ``example.com``. -=========================== ===== ==== ============================== +=========================== ===== ==== ================================================ Name (Subdomain) TTL Type Value -=========================== ===== ==== ============================== -mail._domainkey.example.com 10800 TXT ``v=DKIM1; p=`` -=========================== ===== ==== ============================== +=========================== ===== ==== ================================================ +mail._domainkey.example.com 10800 TXT ``v=DKIM1; k=rsa; s=email; p=`` +=========================== ===== ==== ================================================ You can check this with