From f0a4834be5ea9c37aac22a772b5323526c65eca8 Mon Sep 17 00:00:00 2001 From: Zhang Huangbin Date: Thu, 22 Oct 2015 20:45:33 +0800 Subject: [PATCH] Typo. --- en_US/installation/0-setup.dns.md | 19 +++++++++++++++++-- html/setup.dns.html | 15 +++++++++++++-- 2 files changed, 30 insertions(+), 4 deletions(-) diff --git a/en_US/installation/0-setup.dns.md b/en_US/installation/0-setup.dns.md index 970353df..e1a6c2c1 100644 --- a/en_US/installation/0-setup.dns.md +++ b/en_US/installation/0-setup.dns.md @@ -226,14 +226,29 @@ __Note__: BIND ([The most widely used Name Server Software](http://www.isc.org/d can handle this kind of multi-line format, so you can paste it in your domain zone file directly. -* Add a `TXT` type DNS record for domain name `dkim._domainkey.mydomain.com`, +* Add `TXT` type DNS record for domain name `dkim._domainkey.mydomain.com`, set value to the line you copied above: `v=DKIM1; p=...`. > WARNING: A usual mistake is adding this DKIM record to domain name > `mydomain.com`, this is wrong. Please make sure you added to domain name > `dkim._domainkey.mydomain.com`. -* After you added this in DNS, type below command to verify it: +* After you added this in DNS, verify it with `dig` or `nslookup`: + +``` +$ dig -t txt dkim._domainkey.mydomain.com + +$ nslookup -type=txt dkim._domainkey.foodmall.com +``` + +Sample output: + +``` +dkim._domainkey.mydomain.com. 600 IN TXT "v=DKIM1\;p=..." + +``` + +And verify it with Amavisd: ```shell # amavisd testkeys diff --git a/html/setup.dns.html b/html/setup.dns.html index 0aff125c..e03e9608 100644 --- a/html/setup.dns.html +++ b/html/setup.dns.html @@ -229,7 +229,7 @@ can handle this kind of multi-line format, so you can paste it in your domain zone file directly.

+
$ dig -t txt dkim._domainkey.mydomain.com
+
+$ nslookup -type=txt dkim._domainkey.foodmall.com
+
+ +

Sample output:

+
dkim._domainkey.mydomain.com. 600 IN TXT    "v=DKIM1\;p=..."
+
+
+ +

And verify it with Amavisd:

# amavisd testkeys
 TESTING: dkim._domainkey.mydomain.com       => pass