[X] I have checked that the bug-fix I am reporting can be replicated, or that the feature I am suggesting isn't already present.
[X] I have checked that the issue I'm posting isn't already reported.
[X] I have checked that the issue I'm posting isn't already solved and no duplicates exist in closed issues and opened issues
[X] I have checked the pull requests tab for existing solutions/implementations to my issue/suggestion.
(BUG | ISSUE) Expected Behavior:
Bind cache files on slave servers should not be truncated when building a new configuration.
(BUG | ISSUE) Actual Behavior:
I have a hidden master and slave dns authoritative for some zones. If I change some options and build the config all file inside of /var/cache/bind/slave folder are emptied. Bind continues to run on slave without any issue but if I restart it, it renames all truncated files like db-* and recreates all cache files asking them to master server. But what if the master is down? I mean, is it correct to empty the cache while bind is running? I think it's correct to create an empty cache only if cache files don't exist.
(BUG | ISSUE) Steps to reproduce:
Build configuration to a running slave.
fM Version : 4.3.0 fmDNS Version : 5.2.1
In raising this issue, I confirm the following (please check boxes, eg [X]):
(BUG | ISSUE) Expected Behavior: Bind cache files on slave servers should not be truncated when building a new configuration.
(BUG | ISSUE) Actual Behavior: I have a hidden master and slave dns authoritative for some zones. If I change some options and build the config all file inside of /var/cache/bind/slave folder are emptied. Bind continues to run on slave without any issue but if I restart it, it renames all truncated files like db-* and recreates all cache files asking them to master server. But what if the master is down? I mean, is it correct to empty the cache while bind is running? I think it's correct to create an empty cache only if cache files don't exist.
(BUG | ISSUE) Steps to reproduce: Build configuration to a running slave.
Comment This is the temporary patch i use: