我正在使用带有 DNSBLOG 的 postfix 来防止垃圾邮件。postfix主配置文件配置如下:
postscreen_dnsbl_sites =
zen.spamhaus.org=127.0.0.[2..11]*3
b.barracudacentral.org=127.0.0.2*2
DNSBLOG 预先配置了 zen.spamhaus.org,运行良好,但 b.barracudacentral.org 却出现一些错误。
sudo tail -1000 /var/log/syslog | grep barracuda
Feb 18 21:02:34 my_server postfix/dnsblog[1831262]: warning: dnsblog_query: lookup error for DNS query xxx.xxx.xxx.xxx.b.barracudacentral.org: Host or domain name not found. Name service error for name=xxx.xxx.xxx.xxx.b.barracudacentral.org type=A: Host not found, try again
Feb 20 16:11:59 my_server postfix/dnsblog[1930512]: warning: dnsblog_query: lookup error for DNS query xxx.xxx.xxx.xxx.b.barracudacentral.org: Host or domain name not found. Name service error for name=xxx.xxx.xxx.xxx.b.barracudacentral.org type=A: Host not found, try again
Feb 21 06:03:10 my_server postfix/dnsblog[1958310]: warning: dnsblog_query: lookup error for DNS query xxx.xxx.xxx.xxx.b.barracudacentral.org: Host or domain name not found. Name service error for name=xxx.xxx.xxx.xxx.b.barracudacentral.org type=A: Host not found, try again
Feb 21 14:04:50 my_server postfix/postscreen[1974685]: warning: dnsblog reply timeout 10s for b.barracudacentral.org
Feb 21 14:04:51 my_server postfix/dnsblog[1974686]: warning: dnsblog_query: lookup error for DNS query xxx.xxx.xxx.xxx.b.barracudacentral.org: Host or domain name not found. Name service error for name=xxx.xxx.xxx.xxx.b.barracudacentral.org type=A: Host not found, try again
Feb 21 17:03:23 my_server postfix/postscreen[1981146]: warning: dnsblog reply timeout 10s for b.barracudacentral.org
Feb 21 17:03:25 my_server postfix/dnsblog[1981147]: warning: dnsblog_query: lookup error for DNS query xxx.xxx.xxx.xxx.b.barracudacentral.org: Host or domain name not found. Name service error for name=xxx.xxx.xxx.xxx.b.barracudacentral.org type=A: Host not found, try again
Feb 22 13:46:04 my_server postfix/dnsblog[2024748]: addr xxx.xxx.xxx.xxx listed by domain b.barracudacentral.org as 127.0.0.2
我用 xxx.xxx.xxx.xxx 替换了真实 IP
DNS 似乎无法解析 b.barracudacentral.org。当我这样做时
nslookup b.barracudacentral.org
Server: 212.227.123.16
Address: 212.227.123.16#53
Non-authoritative answer:
*** Can't find b.barracudacentral.org: No answer
nslookup b.barracudacentral.org 8.8.8.8
Server: 8.8.8.8
Address: 8.8.8.8#53
Non-authoritative answer:
*** Can't find b.barracudacentral.org: No answer
nslookup b.barracudacentral.org 8.8.8.8
Server: 8.8.8.8
Address: 8.8.8.8#53
Non-authoritative answer:
*** Can't find b.barracudacentral.org: No answer
使用不同网络中的不同服务器/主机,我得到的结果相同。我该如何解决此问题?
答案1
看起来 b.barracudacentral.org 不是 barracudacentral.org 上的有效名称。至少到目前为止,它无法解析。