Add failing test before dedupping
Fix resolving external CNAME and dedupping them.

A dns reply cannot contain multiple, identical RRsets, filter
them out.