Project

General

Profile

Resolve » History » Version 7

Per Amundsen, 12/14/2019 09:41 AM

1 1 Per Amundsen
_Added in 1.5_
2
3
*/resolve [-46ch] <nick|address>*
4
5
Resolves an ip address/hostname or nick to a ip address/hostname.
6
7 3 Per Amundsen
See also [[$dns]], [[on DNS]].
8
9 2 Per Amundsen
_Same as [[/dns]]._
10
11 1 Per Amundsen
*Switches*
12
13
-4 - Include ipv4 addresses.
14
-6 - Include ipv6 addresses.
15
-c - Clears all queued dns queries.
16
-h - Force <nick|address> to be a address.
17 7 Per Amundsen
-a - Print all ip addresses found if input was a hostname. *(AdiIRC only)*
18 1 Per Amundsen
19
*Parameters*
20
21
<nick|address> - The nick or address to lookup.
22
23
*Example*
24
25
<pre>
26 4 Per Amundsen
; Lookup nick.
27 1 Per Amundsen
/resolve Nick
28
29 4 Per Amundsen
; Lookup only ipv4 results.
30 1 Per Amundsen
/resolve -4 Nick
31
32 4 Per Amundsen
; Lookup only ipv6 results.
33 1 Per Amundsen
/resolve -6 Nick
34 6 Per Amundsen
35
; Lookup ip address 8.8.8.8
36
/resolve 8.8.8.8
37
38
; Lookup google.com
39
/resolve google.com
40
41
; Lookup nick!ident@host.com (host.com will be extracted)
42
/resolve nick!ident@host.com
43 1 Per Amundsen
</pre>