[bugfix] docker-compose下容器重启后备份文件存在导致dns server更新失败 #22
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
docker容器重启restart后,/etc/resolv.conf 恢复成使用docker的解析, dns-monitor.sh 检查如果/tmp/dns.conf.backup还存在,就不做更新。导致没有更新使用bind模块的dns服务器。 修复方法是,每次启动dns-monitor都保证删除备份文件。