Linux:绑定正在加载的主文件domain.tld.hosts:空间不足
时间:2020-02-23 14:44:21 来源:igfitidea点击:
错误信息 Bind loading master file domain.tld.hosts: ran out of space
绑定(命名)的DNS服务器在修改域TXT记录后无法重新加载或者重新启动?查看您的绑定日志文件(通常写入/var/log/messages),您可能会发现以下条目:
named: dns_rdata_fromtext: domain.tld.hosts:0: ran out of space named: zone domain.tld/IN: loading master file domain.tld.hosts: ran out of space named: _default/domain.tld/IN: ran out of space
问题可能是因为您的TXT记录字符串长度超过255个字符,这是限制,这说明了为什么它返回空间不足
错误消息的原因。
您可能有超过255个字符的TXT记录,但是没有一个字符串。
使用双引号()如下:
IN TXT "v=spf1 ip4:0.0.0.0/24 ip4:1.1.1.1/24" "include:smtp.domain.tld -all"