Writes a zonefile, rather than serving via own DNS impl.
TODO Configuration
DISCLAIMER I'm a Java coder. These are my first C/C++ lines of code. Expect every mistake you can think of.