powerDNS-我该如何修复从属接收的格式错误的 Qdomain?

powerDNS-我该如何修复从属接收的格式错误的 Qdomain?

这是我的系统日志文件,

/var/log/syslog

Mar  8 18:10:56 ns2 pdns[4205]: Received a malformed qdomain from 74.125.183.72, '192.243.111.209;.anim.ga': sending servfail
Mar  8 18:11:01 ns2 pdns[4205]: Received a malformed qdomain from 74.125.183.199, '192.243.111.209;.anim.ga': sending servfail
Mar  8 18:11:01 ns2 pdns[4205]: Received a malformed qdomain from 74.125.72.143, '192.243.111.209;.anim.ga': sending servfail
Mar  8 18:11:01 ns2 pdns[4205]: Received a malformed qdomain from 74.125.72.7, '192.243.111.209;.anim.ga': sending servfail
Mar  8 18:11:04 ns2 pdns[4205]: Received a malformed qdomain from 74.125.72.129, '192.243.111.209;.anim.ga': sending servfail
Mar  8 18:11:04 ns2 pdns[4205]: Received a malformed qdomain from 74.125.183.65, '192.243.111.209;.anim.ga': sending servfail
Mar  8 18:11:04 ns2 pdns[4205]: Received a malformed qdomain from 74.125.72.137, '192.243.111.209;.anim.ga': sending servfail
Mar  8 18:11:07 ns2 pdns[4205]: Received a malformed qdomain from 74.125.183.76, '192.243.111.209;.anim.ga': sending servfail
Mar  8 18:11:07 ns2 pdns[4205]: Received a malformed qdomain from 74.125.72.149, '192.243.111.209;.anim.ga': sending servfail
Mar  8 18:11:07 ns2 pdns[4205]: Received a malformed qdomain from 74.125.183.67, '192.243.111.209;.anim.ga': sending servfail

我的MYSQL记录表:

+----+-----------+---------+------+-----------------+------+------+-------------+-----------+------+
| id | domain_id | name    | type | content         | ttl  | prio | change_date | ordername | auth |
+----+-----------+---------+------+-----------------+------+------+-------------+-----------+------+
|  1 |         1 | anim.ga | SOA  | NULL            | NULL | NULL |  1457472468 | NULL      | NULL |
|  2 |         1 | anim.ga | NS   | ns1.anim.ga     | NULL | NULL |  1457472468 | NULL      | NULL |
|  3 |         1 | anim.ga | NS   | ns2.anim.ga     | NULL | NULL |  1457472468 | NULL      | NULL |
|  4 |         1 | anim.ga | A    | 192.243.111.209 | NULL | NULL |  1457472468 | NULL      | NULL |
+----+-----------+---------+------+-----------------+------+------+-------------+-----------+------+
4 rows in set (0.00 sec)

我的域名表:

+----+---------+--------+------------+--------+-----------------+---------+
| id | name    | master | last_check | type   | notified_serial | account |
+----+---------+--------+------------+--------+-----------------+---------+
|  1 | anim.ga | NULL   |       NULL | MASTER |            NULL | NULL    |
+----+---------+--------+------------+--------+-----------------+---------+
1 row in set (0.00 sec)

最后的配置文件:

#################################
# Autogenerated configuration file template
#################################
# allow-axfr-ips    If enabled, restrict zonetransfers to originate from these
#                   IP addresses
#
# allow-axfr-ips=
default-soa-mail=admin.anim.ga
default-soa-name=ns1.anim.ga
launch=gmysql
soa-minimum-ttl=3600
soa-refresh-default=10800
soa-retry-default=3600
slave=yes
#master=yes;

我将为您提供您可能需要的任何其他东西。

答案1

这些 IP 是 Google 的,我敢打赌它们属于 8.8.8.8 集群。您看到的查询 - 人们实际上将它们发送到 8.8.8.8,可能是因为某处配置错误。您无法在 PowerDNS 中阻止这种情况。您可以通过禁用log-dns-details(即log-dns-details=off)来隐藏该消息。

相关内容