I have submitted the patch in Attachment #322140 for adding SRV/NAPTR support.
I have added resolveWithType(...) and asyncResolveWithType(...) API.
The sync API returns a nsISimpleEnumerator that is used as an iterator to the resolved records that could be of type nsIDNSSRVRecord/nsIDNSNAPTRRecord or nsIDNSRecord.
I have submitted the patch in Attachment #322140 for adding SRV/NAPTR support.
I have added resolveWithType (...) and asyncResolveWit hType(. ..) API. /nsIDNSNAPTRRec ord or nsIDNSRecord.
The sync API returns a nsISimpleEnumerator that is used as an iterator to the resolved records that could be of type nsIDNSSRVRecord