Added in 1.5

/resolve [-46cha] <nick|address>

Resolves an ip address/hostname or nick to a ip address/hostname.

See also $dns, on DNS.

Same as /dns.

Switches

Switch Description
-4 Include ipv4 addresses.
-6 Include ipv6 addresses.
-c Clears all queued dns queries.
-h Force <nick|address> to be a address.
-a Print all ip addresses found if input was a hostname. (AdiIRC only)

Parameters

Parameter Description
<nick|address> The nick or address to lookup.

Example

; Lookup nick.
/resolve Nick

; Lookup only ipv4 results.
/resolve -4 Nick

; Lookup only ipv6 results.
/resolve -6 Nick

; Lookup ip address 8.8.8.8
/resolve 8.8.8.8

; Lookup google.com
/resolve google.com

; Lookup nick!ident@host.com (host.com will be extracted)
/resolve nick!ident@host.com