key is the domain name so just iterate over keys when writing zone file