Tag Archives: nameserver

How can I check if DKIM is configured

To check if dkim key is present in a certain domain you can use this command line tool:

dig txt <full_key_name> @<nameserver>

 

For instance:

dig txt key1._domainkey.joinyo.com @pdns01.domaincontrol.com

; <<>> DiG 9.7.3 <<>> txt key1._domainkey.joinyo.com @pdns01.domaincontrol.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 57040
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;key1._domainkey.joinyo.com.    IN    TXT

;; ANSWER SECTION:
key1._domainkey.joinyo.com. 3555 IN    TXT    “k=rsa\; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC3/ss2gtuJ8ZBXe/Byoiobcxjt ilMXW+ZJigAu0SCED7mHPBFMdiaxvElyC3BdLjzwR2PbpO+0yNdd1OJlSbVJ4wFS +DHgJLZJVMZIhTwDRbWa+AwPAKCVh+fPPRXM0ho1VO6SzlBUvJrNmxMIhXgIbumV 0CIZEHtbCYE/bhny8wIDAQAB”

;; Query time: 43 msec
;; SERVER: 216.69.185.50#53(216.69.185.50)
;; WHEN: Fri Nov  4 20:47:15 2011
;; MSG SIZE  rcvd: 285