You spend 3 hours working on a named.conf, and then by mistake clear it and save it (thanks to vi)
Hypothetically - Is there a saved copy of the named.conf in the running instance that I could grab?
Since I'm not high-enough to make comments, I'll address my question in my answer, if that's ok.
First, is your instance of
Also, you can definitely dump the processes memory and extract the data you're looking for that way, but this would be significantly more tedious.
You can use LSOF if your process is still running
Whilst you've already accepted an answer to this question, I'm submitting this response as it may be useful to others that can't rely on the