WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

@mozilla.org/network/dns-service;1

This component implements the following interfaces:

Constants

If set, this flag suppresses the internal DNS lookup cache.
PRUint32 nsIDNSService.RESOLVE_BYPASS_CACHE = 1
If set, the canonical name of the specified host will be queried.
PRUint32 nsIDNSService.RESOLVE_CANONICAL_NAME = 2

Properties

readonly AUTF8String nsIDNSService.myHostName

Methods

InterfaceMethod
nsIDNSService nsICancelable asyncResolve ( AUTF8String hostName , PRUint32 flags , nsIDNSListener listener , nsIEventTarget listenerTarget )
nsIObserver void observe ( nsISupports subject , char* topic , PRUnichar* data )
nsIDNSService nsIDNSRecord resolve ( AUTF8String hostName , PRUint32 flags )
nsIRunnable void run ( )

Reference documentation is generated from Mozilla's source.