Topic: [SOLVED]Amavisd-new DNS query timeout
==== Required information ====
- iRedMail version (check /etc/iredmail-release):
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- Related log if you're reporting an issue:
====
Hi all!
I'm trying to set up the dkim record on my godaddy domain
I just take the output of "amavisd-new showkeys" and put it into the txt record (like this guide http://www.iredmail.org/docs/setup.dns.html)
When i try amavisd-new testkey a get this:
TESTING#1: dkim._domainkey.cemmedue.com => invalid (public key: DNS query timeout for dkim._domainkey.cemmedue.com at /usr/share/perl5/Mail/DKIM/DNS.pm line 156.)
If i try dig -t txt dkim._domainkey.cemmedue.com i get:
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 32575
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;dkim._domainkey.cemmedue.com. IN TXT
;; ANSWER SECTION:
dkim._domainkey.cemmedue.com. 1350 IN TXT "v=DKIM1\; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDUVRaQDNIziC70MM80cLpxqX87qu41SLbip9je3bGMoDh7MJjep0R3+DNcA52PdOUyR4EMwj58t9cROb/0gRMk/6Qe11hufHPpw+rKK2zn4aX9Yidhn0ZBnjFGVw/pmf8TqzNpi/jAtEgsVpCrf7vI35aV037qunBZ4mh0rqSxvwIDAQAB"
;; Query time: 59 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: Fri Mar 4 18:40:21 2016
;; MSG SIZE rcvd: 286
If i try nslookup -type=txt dkim._domainkey.cemmedue.com i get
Server: 192.168.1.1
Address: 192.168.1.1#53
Non-authoritative answer:
dkim._domainkey.cemmedue.com text = "v=DKIM1\; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDUVRaQDNIziC70MM80cLpxqX87qu41SLbip9je3bGMoDh7MJjep0R3+DNcA52PdOUyR4EMwj58t9cROb/0gRMk/6Qe11hufHPpw+rKK2zn4aX9Yidhn0ZBnjFGVw/pmf8TqzNpi/jAtEgsVpCrf7vI35aV037qunBZ4mh0rqSxvwIDAQAB"
Authoritative answers can be found from:
Where is the error???
Thank you
Ale
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.