Dns » History » Version 6
Per Amundsen, 11/14/2015 06:27 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 | |||
18 | *Parameters* |
||
19 | |||
20 | <nick|address> - The nick or address to lookup. |
||
21 | |||
22 | *Example* |
||
23 | |||
24 | <pre> |
||
25 | 6 | Per Amundsen | ; Lookup nick. |
26 | 1 | Per Amundsen | /dns Nick |
27 | |||
28 | 6 | Per Amundsen | ; Lookup only ipv4 results. |
29 | 1 | Per Amundsen | /dns -4 Nick |
30 | |||
31 | 6 | Per Amundsen | ; Lookup only ipv6 results. |
32 | 1 | Per Amundsen | /dns -6 Nick |
33 | </pre> |