viewdns does not support reverse record lookups

removed ptr trigger, reformatted record type list and added test case.
fixed exit condition in js.