Add non-canonical PTR record support
Fix unit tests