this method prints all the records for the domain matching the passed string
outputs the records to the passed printwriter object
better than toString because PrintWriter understands local system EOL conventions
Used to write the SOA and NS records to the db files
Note that the serial number is generated using the current date/time
in the form YYYYmmDDnn where nn is a unique number incremented every 15 minutes