From WikiChip
Difference between revisions of "mirc/commands/dns"
< mirc‎ | commands

(Created page with "The '''/dns command''' resolves an address. If mIRC sees a "." in the name you specify it assumes it is an address and tries to resolve it. Otherwise it assumes it is a nickna...")
 
Line 1: Line 1:
The '''/dns command''' resolves an address. If mIRC sees a "." in the name you specify it assumes it is an address and tries to resolve it. Otherwise it assumes it is a nickname and performs a [[/userhost command - mIRC|/userhost]] to find the user's address and then resolves it. If you specify an IP address, it looks up the host name. You can queue multiple /dns requests, and you can view the current queue by using /dns with no parameters.</p>
+
The '''/dns command''' resolves an address. If mIRC sees a "." in the name you specify it assumes it is an address and tries to resolve it. Otherwise it assumes it is a nickname and performs a [[/userhost command - mIRC|/userhost]] to find the user's address and then resolves it. If you specify an IP address, it looks up the host name. You can queue multiple /dns requests, and you can view the current queue by using /dns with no parameters.
  
 
== Synopsis ==
 
== Synopsis ==

Revision as of 21:45, 2 December 2013

The /dns command resolves an address. If mIRC sees a "." in the name you specify it assumes it is an address and tries to resolve it. Otherwise it assumes it is a nickname and performs a /userhost to find the user's address and then resolves it. If you specify an IP address, it looks up the host name. You can queue multiple /dns requests, and you can view the current queue by using /dns with no parameters.

Synopsis

/dns [-46ch] [nick|address]

Switches

  • -4 - allows IPv4 results to be returned
  • -6 - allows IPv6 results to be returned
  • -c - clears all currently queued DNS requests, except for the one currently in progress
  • -h - forces /dns to treat the parameter as a hostname

Parameters

  • [nick|address] - the nick or address you want to look up

Example

;using default setting for ipv6
/dns Ouims
;specifically allowing for ipv4 results
/dns -4 Ouims
;specifically allowing for ipv6 results
/dns -6 Ouims
;both
/dns -46 Ouims

Compatibility

Added: 3.8

Added On: 25/11/95

Note: Individual switches were not taken into consideration.

See also