当存在超过100条相同RR类型的记录时,向其发起的DNS查询将会遭遇失败。这一情况下,尝试启动named/named-chroot服务也会以“记录过多”的错误信息告终。查阅日志记录,我们发现了以下错误信息。
Sep 25 11:23:40 shizhanxia.com bash[25560]: dns_master_load: db.10.reverse:4920: 246.164.10.10.in-addr.arpa: too many records Sep 25 11:23:40 shizhanxia.com bash[25560]: dns_master_load: db.10.reverse:5020: 247.164.10.10.in-addr.arpa: too many records Sep 25 11:23:40 shizhanxia.com bash[25560]: zone 10.in-addr.arpa/IN: loading from master file db.10.reverse failed: too many records Sep 25 11:23:40 shizhanxia.com bash[25560]: zone 10.in-addr.arpa/IN: not loaded due to errors. Sep 25 11:23:40 shizhanxia.com bash[25560]: _default/10.in-addr.arpa./IN: too many records Sep 25 11:23:40 shizhanxia.com systemd[1]: named.service: Control process exited, code=exited status=1 Sep 25 11:23:40 shizhanxia.com systemd[1]: named.service: Failed with result 'exit-code'
解决方案
原创文章,作者:保哥,如若转载,请注明出处:https://www.shizhanxia.com/2013.html