record type validation

This adds validation for a, cname & soa records. This depends on #3