Dns » History » Version 7
Per Amundsen, 01/10/2017 06:57 AM
1 | 2 | Per Amundsen | _Added in 1.5_ |
---|---|---|---|
2 | |||
3 | 1 | Per Amundsen | */dns [-46ch] <nick|address>* |
4 | |||
5 | Resolves an ip address/hostname or nick to a ip address/hostname. |
||
6 | |||
7 | 5 | Per Amundsen | See also [[$dns]], [[on DNS]]. |
8 | 4 | Per Amundsen | |
9 | 3 | Per Amundsen | _Same as [[/resolve]]._ |
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 | 6 | Per Amundsen | ; Lookup nick. |
27 | 1 | Per Amundsen | /dns Nick |
28 | |||
29 | 6 | Per Amundsen | ; Lookup only ipv4 results. |
30 | 1 | Per Amundsen | /dns -4 Nick |
31 | |||
32 | 6 | Per Amundsen | ; Lookup only ipv6 results. |
33 | 1 | Per Amundsen | /dns -6 Nick |
34 | </pre> |