Resolve » History » Version 8
Per Amundsen, 02/16/2023 03:09 PM
1 | 1 | Per Amundsen | _Added in 1.5_ |
---|---|---|---|
2 | |||
3 | 8 | Per Amundsen | */resolve [-46cha] <nick|address>* |
4 | 1 | Per Amundsen | |
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 | 8 | Per Amundsen | table(ktable). |
14 | |*Switch*|*Description*| |
||
15 | | -4 | Include ipv4 addresses. | |
||
16 | | -6 | Include ipv6 addresses. | |
||
17 | | -c | Clears all queued dns queries. | |
||
18 | | -h | Force <nick<notextile>|</notextile>address> to be a address. | |
||
19 | | -a | Print all ip addresses found if input was a hostname. *(AdiIRC only)* | |
||
20 | 1 | Per Amundsen | |
21 | 7 | Per Amundsen | *Parameters* |
22 | 1 | Per Amundsen | |
23 | 8 | Per Amundsen | table(ktable). |
24 | |*Parameter*|*Description*| |
||
25 | | <nick<notextile>|</notextile>address> | The nick or address to lookup. | |
||
26 | 1 | Per Amundsen | |
27 | *Example* |
||
28 | |||
29 | <pre> |
||
30 | 4 | Per Amundsen | ; Lookup nick. |
31 | 1 | Per Amundsen | /resolve Nick |
32 | |||
33 | 4 | Per Amundsen | ; Lookup only ipv4 results. |
34 | 1 | Per Amundsen | /resolve -4 Nick |
35 | |||
36 | 4 | Per Amundsen | ; Lookup only ipv6 results. |
37 | 1 | Per Amundsen | /resolve -6 Nick |
38 | 6 | Per Amundsen | |
39 | ; Lookup ip address 8.8.8.8 |
||
40 | /resolve 8.8.8.8 |
||
41 | |||
42 | ; Lookup google.com |
||
43 | /resolve google.com |
||
44 | |||
45 | ; Lookup nick!ident@host.com (host.com will be extracted) |
||
46 | /resolve nick!ident@host.com |
||
47 | 1 | Per Amundsen | </pre> |