Readonly
ODoHActivatedReturns true when we have valid ODoHConfigs to encrypt/decrypt oblivious DNS packets.
Readonly
currentThe TRRService's current confirmation state. This is mostly for testing purposes.
Readonly
currentReturns the value of the TRR Service's current default mode.
Readonly
currentReturns a string containing the URI currently used by the TRR service.
Readonly
heuristicReturns the result of the last TRR heuristic detection. Will be TRR_OK if no heuristics failed.
Readonly
mythe hostname of the operating system.
Readonly
trrreturns the current TRR domain.
Optional
aInstancePtr: objectA run time mechanism for interface discovery.
NS_OK if the interface is supported by the associated instance, NS_NOINTERFACE if it is not.
aInstancePtr must not be null.
[in] A requested interface IID
[out] A pointer to an interface pointer to receive the result.
Notifies the DNS service that we failed to connect to this alternative endpoint.
The owner name of this HTTPS RRs.
The domain name of this alternative endpoint.
kicks off an asynchronous host lookup.
An object that can be used to cancel the host lookup.
the hostname or IP-address-literal to resolve.
one of RESOLVE_TYPE_*.
a bitwise OR of the RESOLVE_ prefixed constants defined below.
a AdditionalInfo object that holds information about:
the listener to be notified when the result is available.
optional parameter (may be null). if non-null, this parameter specifies the nsIEventTarget of the thread on which the listener's onLookupComplete should be called. however, if this parameter is null, then onLookupComplete will be called on an unspecified thread (possibly recursively).
the originAttribute for this resolving, the DNS cache will be separated according to this originAttributes. This attribute is optional to avoid breaking add-ons.
Attempts to cancel a previously requested async DNS lookup
the hostname or IP-address-literal to resolve.
one of RESOLVE_TYPE_*.
a bitwise OR of the RESOLVE_ prefixed constants defined below.
the original listener which was to be notified about the host lookup result - used to match request information to requestor.
nsresult reason for the cancellation
the originAttribute for this resolving. This attribute is optional to avoid breaking add-ons.
Clears the DNS cache.
If true we will clear TRR cached entries too. Since these are resolved remotely it's not necessary to clear them when the network status changes, but it's sometimes useful to do so for tests or other situations.
called to synchronously resolve a hostname.
Since this method may block the calling thread for a long period of time, it may not be accessed from the main thread.
DNS record corresponding to the given hostname.
NS_ERROR_UNKNOWN_HOST if host could not be resolved.
NS_ERROR_NOT_AVAILABLE if accessed from the main thread.
the hostname or IP-address-literal to resolve.
a bitwise OR of the RESOLVE_ prefixed constants defined below.
the originAttribute for this resolving, the DNS cache will be separated according to this originAttributes. This attribute is optional to avoid breaking add-ons.
Generated using TypeDoc
nsIDNSService