added check for duplicate PTR records