Ik heb de PowerDNS recursor op mijn VPS geïnstalleerd naar aanleiding van wat eigenaardigheden met de DNS van mijn leverancier (zie Spamhaus weigert RBL lookup). Als ik hun eigen DNS gebruik dan gaat het opzoeken van de SPF records goed:
Met PowerDNS in gebruik krijg ik echter een 'temperror' bij elke SPF record lookup:
Als ik dit google lijkt het dat het om UDP truncation zou kunnen gaan, maar als ik de 'udp truncation treshold' in PowerDNS verhoog van de standaardwaarde (1680 bytes) naar de aanbevolen maximumwaarde (4096) dan verdwijnen de foutmeldingen niet. Bovendien geeft een TXT record nslookup voor bv. Protonmail.com niet aan dat de reply truncated is (met PowerDNS op 1680 bytes, op 4096 bytes, of met de 'native' OVH DNS). Dit lijkt dus niet het probleem te zijn.
M'n firewall logt in- en uitgaande verbindingen maar er staat geen DNS-verkeer tussen dat geblokkeerd zou worden (zowel TCP als UDP DNS requests (poort 53) zijn uitgaand toegelaten in de firewall, en gerelateerd inkomend verkeer ook).
Als ik query logging inschakel bij PowerDNS krijg ik het volgende, maar ik zie daar niet direct een foutmelding instaan?
code:
1
| Feb 8 22:07:00 atalanta policyd-spf[22226]: prepend Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=185.70.40.22; helo=mail2.protonmail.ch; envelope-from=xxx.xxx@protonmail.com; receiver=<UNKNOWN> |
Met PowerDNS in gebruik krijg ik echter een 'temperror' bij elke SPF record lookup:
code:
1
| Feb 8 22:43:48 atalanta policyd-spf[22971]: prepend Received-SPF: Temperror (mailfrom) identity=mailfrom; client-ip=185.70.40.22; helo=mail2.protonmail.ch; envelope-from=xxx.xxx@protonmail.com; receiver=<UNKNOWN> |
Als ik dit google lijkt het dat het om UDP truncation zou kunnen gaan, maar als ik de 'udp truncation treshold' in PowerDNS verhoog van de standaardwaarde (1680 bytes) naar de aanbevolen maximumwaarde (4096) dan verdwijnen de foutmeldingen niet. Bovendien geeft een TXT record nslookup voor bv. Protonmail.com niet aan dat de reply truncated is (met PowerDNS op 1680 bytes, op 4096 bytes, of met de 'native' OVH DNS). Dit lijkt dus niet het probleem te zijn.
M'n firewall logt in- en uitgaande verbindingen maar er staat geen DNS-verkeer tussen dat geblokkeerd zou worden (zowel TCP als UDP DNS requests (poort 53) zijn uitgaand toegelaten in de firewall, en gerelateerd inkomend verkeer ook).
Als ik query logging inschakel bij PowerDNS krijg ik het volgende, maar ik zie daar niet direct een foutmelding instaan?
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
| feb 08 22:43:20 atalanta pdns_recursor[22918]: Feb 08 22:43:20 1 [37/1] question for 'tantalos.no-ip.net|A' from 127.0.0.1 feb 08 22:43:20 atalanta pdns_recursor[22918]: Feb 08 22:43:20 1 [38/2] question for 'tantalos.no-ip.net|AAAA' from 127.0.0.1 feb 08 22:43:20 atalanta pdns_recursor[22918]: Feb 08 22:43:20 1 [37/2] answer to question 'tantalos.no-ip.net|A': 1 answers, 0 additional, took 2 packets, 19.849 ms, 0 throttled, 0 timeouts, 0 tcp connections, rcode=0 feb 08 22:43:20 atalanta pdns_recursor[22918]: Feb 08 22:43:20 1 [38/2] answer to question 'tantalos.no-ip.net|AAAA': 0 answers, 0 additional, took 2 packets, 19.863 ms, 0 throttled, 0 timeouts, 0 tcp connections, rcode=0 feb 08 22:43:48 atalanta pdns_recursor[22918]: Feb 08 22:43:48 1 question answered from packet cache tag=0 from 127.0.0.1 feb 08 22:43:48 atalanta pdns_recursor[22918]: Feb 08 22:43:48 2 [46/1] question for '22.40.70.185.iadb.isipp.com|A' from 127.0.0.1 feb 08 22:43:48 atalanta pdns_recursor[22918]: Feb 08 22:43:48 2 [47/2] question for '22.40.70.185.wl.mailspike.net|A' from 127.0.0.1 feb 08 22:43:48 atalanta pdns_recursor[22918]: Feb 08 22:43:48 1 [39/1] question for '22.40.70.185.dnsbl.sorbs.net|A' from 127.0.0.1 feb 08 22:43:48 atalanta pdns_recursor[22918]: Feb 08 22:43:48 1 [40/2] question for '22.40.70.185.bl.spamcop.net|TXT' from 127.0.0.1 feb 08 22:43:48 atalanta pdns_recursor[22918]: Feb 08 22:43:48 2 [48/3] question for '22.40.70.185.zen.spamhaus.org|A' from 127.0.0.1 feb 08 22:43:48 atalanta pdns_recursor[22918]: Feb 08 22:43:48 2 [49/4] question for '22.40.70.185.sa-trusted.bondedsender.org|TXT' from 127.0.0.1 feb 08 22:43:48 atalanta pdns_recursor[22918]: Feb 08 22:43:48 1 [41/3] question for '22.40.70.185.sa-accredit.habeas.com|TXT' from 127.0.0.1 feb 08 22:43:48 atalanta pdns_recursor[22918]: Feb 08 22:43:48 2 [50/5] question for '22.40.70.185.bl.score.senderscore.com|A' from 127.0.0.1 feb 08 22:43:48 atalanta pdns_recursor[22918]: Feb 08 22:43:48 1 [42/4] question for '22.40.70.185.psbl.surriel.com|A' from 127.0.0.1 feb 08 22:43:48 atalanta pdns_recursor[22918]: Feb 08 22:43:48 2 [51/6] question for '22.40.70.185.bl.mailspike.net|A' from 127.0.0.1 feb 08 22:43:48 atalanta pdns_recursor[22918]: Feb 08 22:43:48 2 [52/7] question for '22.40.70.185.list.dnswl.org|A' from 127.0.0.1 feb 08 22:43:48 atalanta pdns_recursor[22918]: Feb 08 22:43:48 2 [51/7] answer to question '22.40.70.185.bl.mailspike.net|A': 0 answers, 1 additional, took 1 packets, 13.863 ms, 0 throttled, 0 timeouts, 0 tcp connections, rcode=3 feb 08 22:43:48 atalanta pdns_recursor[22918]: Feb 08 22:43:48 1 [42/4] answer to question '22.40.70.185.psbl.surriel.com|A': 0 answers, 1 additional, took 3 packets, 21.034 ms, 0 throttled, 0 timeouts, 0 tcp connections, rcode=3 feb 08 22:43:48 atalanta pdns_recursor[22918]: Feb 08 22:43:48 2 question answered from packet cache tag=0 from 127.0.0.1 feb 08 22:43:48 atalanta pdns_recursor[22918]: Feb 08 22:43:48 2 question answered from packet cache tag=0 from 127.0.0.1 feb 08 22:43:48 atalanta pdns_recursor[22918]: Feb 08 22:43:48 1 [40/3] answer to question '22.40.70.185.bl.spamcop.net|TXT': 0 answers, 1 additional, took 4 packets, 40.364 ms, 0 throttled, 0 timeouts, 0 tcp connections, rcode=3 feb 08 22:43:48 atalanta pdns_recursor[22918]: Feb 08 22:43:48 2 [47/6] answer to question '22.40.70.185.wl.mailspike.net|A': 1 answers, 1 additional, took 2 packets, 100.013 ms, 0 throttled, 0 timeouts, 0 tcp connections, rcode=0 feb 08 22:43:48 atalanta pdns_recursor[22918]: Feb 08 22:43:48 2 [49/5] answer to question '22.40.70.185.sa-trusted.bondedsender.org|TXT': 0 answers, 1 additional, took 4 packets, 114.724 ms, 0 throttled, 0 timeouts, 0 tcp connections, rcode=3 feb 08 22:43:48 atalanta pdns_recursor[22918]: Feb 08 22:43:48 2 [48/4] answer to question '22.40.70.185.zen.spamhaus.org|A': 0 answers, 1 additional, took 2 packets, 120.102 ms, 0 throttled, 0 timeouts, 0 tcp connections, rcode=3 feb 08 22:43:48 atalanta pdns_recursor[22918]: Feb 08 22:43:48 2 [46/3] answer to question '22.40.70.185.iadb.isipp.com|A': 0 answers, 1 additional, took 1 packets, 149.202 ms, 0 throttled, 0 timeouts, 0 tcp connections, rcode=3 feb 08 22:43:48 atalanta pdns_recursor[22918]: Feb 08 22:43:48 2 [52/2] answer to question '22.40.70.185.list.dnswl.org|A': 1 answers, 1 additional, took 3 packets, 164.336 ms, 0 throttled, 0 timeouts, 0 tcp connections, rcode=0 feb 08 22:43:48 atalanta pdns_recursor[22918]: Feb 08 22:43:48 2 [50/1] answer to question '22.40.70.185.bl.score.senderscore.com|A': 0 answers, 1 additional, took 6 packets, 241.467 ms, 0 throttled, 0 timeouts, 0 tcp connections, rcode=3 feb 08 22:43:48 atalanta pdns_recursor[22918]: Feb 08 22:43:48 1 [41/2] answer to question '22.40.70.185.sa-accredit.habeas.com|TXT': 0 answers, 1 additional, took 4 packets, 287.022 ms, 0 throttled, 0 timeouts, 0 tcp connections, rcode=3 feb 08 22:43:49 atalanta pdns_recursor[22918]: Feb 08 22:43:49 1 [39/1] answer to question '22.40.70.185.dnsbl.sorbs.net|A': 0 answers, 1 additional, took 7 packets, 355.983 ms, 0 throttled, 0 timeouts, 0 tcp connections, rcode=3 |
Got Leenucks? | Debian Bookworm x86_64 / ARM | OpenWrt: Empower your router | Blogje