nsIDNSRecord this interface represents the result of a DNS lookup. since a DNS query may return more than one resolved IP address, the record acts like an enumerator, allowing the caller to easily step through the list of IP addresses.
[scriptable, uuid(31c9c52e-1100-457d-abac-d2729e43f506)]
Attributes
Methods
this function copies the value of the next IP address into the
given PRNetAddr struct and increments the internal address iterator.
@param aPort
A port number to initialize the PRNetAddr with.
@throws NS_ERROR_NOT_AVAILABLE if there is not another IP address in
the record.
this function returns the value of the next IP address as a string and increments the internal address iterator. @throws NS_ERROR_NOT_AVAILABLE if there is not another IP address in the record.
