Bob Proulx via Dng said on Sun, 28 Nov 2021 10:57:36 -0700
>Mike Tubby wrote:
>> ... but if you run a nameserver you may well need:
>>
>> /var/cache/bind
>>
>> as that's where your zonefiles are ;-)
>
>Sorry. No. I am curious what led you to that conclusion?
>
>By default in the Debian packaged configuration only the cached zone
>files downloaded on secondaries are located there. (The upstream BIND
>does not specify a default location. This is a distro package default
>location.) Since it is a package default the local admin may also
>change it to any other location they wish. But /var/cache is as good
>of a location as any for cached files.
>
>And therefore by all means delete that directory any time you feel
>like doing so and recreate it empty.
Now that I have this new information, I retract my particular insult
for BIND. I still don't like it for various reasons, but fair's fair;
at least they didn't put config in a cache directory.
SteveT
Steve Litt
Spring 2021 featured book: Troubleshooting Techniques of the Successful
Technologist
http://www.troubleshooters.com/techniques