Project

General

Profile

Dns » History » Revision 9

Revision 8 (Per Amundsen, 05/04/2017 01:43 AM) → Revision 9/10 (Per Amundsen, 12/14/2019 09:41 AM)

_Added in 1.5_ 

 */dns [-46ch] <nick|address>* 

 Resolves an ip address/hostname or nick to a ip address/hostname. 

 See also [[$dns]], [[on DNS]]. 

 _Same as [[/resolve]]._ 

 *Switches* 

 -4 - Include ipv4 addresses. 
 -6 - Include ipv6 addresses. 
 -c - Clears all queued dns queries. 
 -h - Force <nick|address> to be a address. 
 -a - Print all ip addresses found if input was a hostname. *(AdiIRC only)* (AdiIRC only) 

 *Parameters* 

 <nick|address> - The nick or address to lookup. 

 *Example* 

 <pre> 
 ; Lookup nick. 
 /dns Nick 

 ; Lookup only ipv4 results. 
 /dns -4 Nick 

 ; Lookup only ipv6 results. 
 /dns -6 Nick 

 ; Lookup ip address 8.8.8.8 
 /dns 8.8.8.8 

 ; Lookup google.com 
 /dns google.com 

 ; Lookup nick!ident@host.com (host.com will be extracted) 
 /dns nick!ident@host.com 
 </pre>