Dns » History » Version 10
Per Amundsen, 02/16/2023 12:16 PM
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 | 10 | 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 | 9 | Per Amundsen | *Parameters* |
22 | 1 | Per Amundsen | |
23 | 10 | 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 | 6 | Per Amundsen | ; Lookup nick. |
31 | 1 | Per Amundsen | /dns Nick |
32 | |||
33 | 6 | Per Amundsen | ; Lookup only ipv4 results. |
34 | 1 | Per Amundsen | /dns -4 Nick |
35 | |||
36 | 6 | Per Amundsen | ; Lookup only ipv6 results. |
37 | 1 | Per Amundsen | /dns -6 Nick |
38 | 8 | Per Amundsen | |
39 | ; Lookup ip address 8.8.8.8 |
||
40 | /dns 8.8.8.8 |
||
41 | |||
42 | ; Lookup google.com |
||
43 | /dns google.com |
||
44 | |||
45 | ; Lookup nick!ident@host.com (host.com will be extracted) |
||
46 | /dns nick!ident@host.com |
||
47 | 1 | Per Amundsen | </pre> |