Project

General

Profile

Dns » History » Version 9

Per Amundsen, 12/14/2019 09:41 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 9 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 8 Per Amundsen
35
; Lookup ip address 8.8.8.8
36
/dns 8.8.8.8
37
38
; Lookup google.com
39
/dns google.com
40
41
; Lookup nick!ident@host.com (host.com will be extracted)
42
/dns nick!ident@host.com
43 1 Per Amundsen
</pre>