Cannot resolve maps.rspamd.com

I have the same error in my rspamd log (every few seconds):

Feb 12 21:17:20 server rspamd[2284]: ; map; rspamd_map_dns_callback: cannot resolve maps.rspamd.com: query timed out

When i check dig @127.0.0.1 -p 10053 maps.rspamd.com i got:

[root@server ~]# dig @127.0.0.1 -p 10053 maps.rspamd.com

; <<>> DiG 9.11.4-P2-RedHat-9.11.4-9.P2.el7 <<>> @127.0.0.1 -p 10053 maps.rspamd.com
; (1 server found)
;; global options: +cmd
;; connection timed out; no servers could be reached

Is it a firewall problem? or what can i do?

thanks

strauch

if your server is connected to internet, you can take a beer

From time to time, maps.rspamd.com is not accessible, perhaps rspamd is a victim of its success

You can make a donation to rspamd also

I have the same problem on other server, but on port 53 (and not 10053) it is resolved fine.

I think there are some problems with unbound service…

1 Like

workable on the two ports here

We solved by adding a second resolve address in rspamd.conf… but I think the problem is not in rspamd, because also dig @127.0.0.1 -p 10053 google.com is not resolved fine.

root@prometheus ~]# dig @127.0.0.1 -p 10053 google.com

; <<>> DiG 9.11.4-P2-RedHat-9.11.4-9.P2.el7 <<>> @127.0.0.1 -p 10053 google.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 25331
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;google.com.			IN	A

;; ANSWER SECTION:
google.com.		300	IN	A	172.217.19.238

;; Query time: 8 msec
;; SERVER: 127.0.0.1#10053(127.0.0.1)
;; WHEN: Wed Feb 12 22:16:56 CET 2020
;; MSG SIZE  rcvd: 55

We have the same problem with servers on satellite connections. The dig to port 53 on google.com works but 10053 fails every time. Is there a way to get around this?

Feb 25 16:54:50 srv rspamd[3264]: <7n3qic>; map; rspamd_map_dns_callback: cannot resolve maps.rspamd.com: query timed out
Feb 25 16:54:51 srv rspamd[3264]: ; map; rspamd_map_dns_callback: cannot resolve maps.rspamd.com: query timed out
Feb 25 16:54:51 srv rspamd[3264]: ; map; rspamd_map_dns_callback: cannot resolve maps.rspamd.com: query timed out
Feb 25 16:54:51 srv rspamd[3264]: ; map; rspamd_map_dns_callback: cannot resolve maps.rspamd.com: query timed out
Feb 25 16:54:51 srv rspamd[3264]: ; map; rspamd_map_dns_callback: cannot resolve maps.rspamd.com: query timed out
Feb 25 16:54:52 srv rspamd[3264]: ; map; rspamd_map_dns_callback: cannot resolve maps.rspamd.com: query timed out
Feb 25 16:54:53 srv rspamd[3264]: ; map; rspamd_map_dns_callback: cannot resolve maps.rspamd.com: query timed out
Feb 25 16:54:54 srv rspamd[3264]: ; map; rspamd_map_dns_callback: cannot resolve maps.rspamd.com: query timed out
Feb 25 16:55:01 srv rspamd[3264]: <7n3qic>; map; rspamd_map_dns_callback: cannot resolve maps.rspamd.com: query timed out
Feb 25 16:55:02 srv rspamd[3264]: ; map; rspamd_map_dns_callback: cannot resolve maps.rspamd.com: query timed out
Feb 25 16:55:02 srv rspamd[3264]: ; map; rspamd_map_dns_callback: cannot resolve maps.rspamd.com: query timed out
Feb 25 16:55:02 srv rspamd[3264]: ; map; rspamd_map_dns_callback: cannot resolve maps.rspamd.com: query timed out
Feb 25 16:55:02 srv rspamd[3264]: ; map; rspamd_map_dns_callback: cannot resolve maps.rspamd.com: query timed out
Feb 25 16:55:03 srv rspamd[3264]: ; map; rspamd_map_dns_callback: cannot resolve maps.rspamd.com: query timed out
Feb 25 16:55:04 srv rspamd[3264]: ; map; rspamd_map_dns_callback: cannot resolve maps.rspamd.com: query timed out
Feb 25 16:55:05 srv rspamd[3264]: ; map; rspamd_map_dns_callback: cannot resolve maps.rspamd.com: query timed out
Feb 25 16:55:12 srv rspamd[3264]: <7n3qic>; map; rspamd_map_dns_callback: cannot resolve maps.rspamd.com: query timed out
Feb 25 16:55:13 srv rspamd[3264]: ; map; rspamd_map_dns_callback: cannot resolve maps.rspamd.com: query timed out
Feb 25 16:55:13 srv rspamd[3264]: ; map; rspamd_map_dns_callback: cannot resolve maps.rspamd.com: query timed out
Feb 25 16:55:13 srv rspamd[3264]: ; map; rspamd_map_dns_callback: cannot resolve maps.rspamd.com: query timed out
Feb 25 16:55:13 srv rspamd[3264]: ; map; rspamd_map_dns_callback: cannot resolve maps.rspamd.com: query timed out
Feb 25 16:55:14 srv rspamd[3264]: ; map; rspamd_map_dns_callback: cannot resolve maps.rspamd.com: query timed out
Feb 25 16:55:15 srv rspamd[3264]: ; map; rspamd_map_dns_callback: cannot resolve maps.rspamd.com: query timed out
Feb 25 16:55:16 srv rspamd[3264]: ; map; rspamd_map_dns_callback: cannot resolve maps.rspamd.com: query timed out
Feb 25 16:55:23 srv rspamd[3264]: <7n3qic>; map; rspamd_map_dns_callback: cannot resolve maps.rspamd.com: query timed out
Feb 25 16:55:24 srv rspamd[3264]: ; map; rspamd_map_dns_callback: cannot resolve maps.rspamd.com: query timed out
Feb 25 16:55:24 srv rspamd[3264]: ; map; rspamd_map_dns_callback: cannot resolve maps.rspamd.com: query timed out
Feb 25 16:55:24 srv rspamd[3264]: ; map; rspamd_map_dns_callback: cannot resolve maps.rspamd.com: query timed out
Feb 25 16:55:24 srv rspamd[3264]: ; map; rspamd_map_dns_callback: cannot resolve maps.rspamd.com: query timed out
Feb 25 16:55:25 srv rspamd[3264]: ; map; rspamd_map_dns_callback: cannot resolve maps.rspamd.com: query timed out
Feb 25 16:55:26 srv rspamd[3264]: ; map; rspamd_map_dns_callback: cannot resolve maps.rspamd.com: query timed out
Feb 25 16:55:27 srv rspamd[3264]: ; map; rspamd_map_dns_callback: cannot resolve maps.rspamd.com: query timed out
Feb 25 16:55:34 srv rspamd[3264]: <7n3qic>; map; rspamd_map_dns_callback: cannot resolve maps.rspamd.com: query timed out
Feb 25 16:55:35 srv rspamd[3264]: ; map; rspamd_map_dns_callback: cannot resolve maps.rspamd.com: query timed out
Feb 25 16:55:35 srv rspamd[3264]: ; map; rspamd_map_dns_callback: cannot resolve maps.rspamd.com: query timed out
Feb 25 16:55:35 srv rspamd[3264]: ; map; rspamd_map_dns_callback: cannot resolve maps.rspamd.com: query timed out
Feb 25 16:55:35 srv rspamd[3264]: ; map; rspamd_map_dns_callback: cannot resolve maps.rspamd.com: query timed out
Feb 25 16:55:36 srv rspamd[3264]: ; map; rspamd_map_dns_callback: cannot resolve maps.rspamd.com: query timed out
Feb 25 16:55:37 srv rspamd[3264]: ; map; rspamd_map_dns_callback: cannot resolve maps.rspamd.com: query timed out
Feb 25 16:55:38 srv rspamd[3264]: ; map; rspamd_map_dns_callback: cannot resolve maps.rspamd.com: query timed out
Feb 25 16:55:43 srv rspamd[3264]: <7n3qic>; map; rspamd_map_dns_callback: cannot resolve maps.rspamd.com: server fail
Feb 25 16:55:43 srv rspamd[3264]: ; map; rspamd_map_dns_callback: cannot resolve maps.rspamd.com: server fail