netwerk/dns/nsIDNSRequest.idl
nsISupports
void cancel();
Called to cancel a pending asynchronous DNS request. The listener will passed to asyncResolve will be notified immediately with a status code of NS_ERROR_ABORT.
cancel
None.