From WikiChip
Editing mirc/commands/dns
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
This page supports semantic in-text annotations (e.g. "[[Is specified as::World Heritage Site]]") to build structured and queryable content provided by Semantic MediaWiki. For a comprehensive description on how to use annotations or the #ask parser function, please have a look at the getting started, in-text annotation, or inline queries help pages.
Latest revision | Your text | ||
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. | |
− | 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 | ||
== Synopsis == | == Synopsis == | ||
Line 6: | Line 5: | ||
== Switches == | == Switches == | ||
− | * '''-4''' - allows IPv4 results to be returned | + | * '''-4''' - allows IPv4 results to be returned |
− | * '''-6''' - allows IPv6 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 | * '''-c''' - clears all currently queued DNS requests, except for the one currently in progress | ||
* '''-h''' - forces /dns to treat the parameter as a hostname | * '''-h''' - forces /dns to treat the parameter as a hostname | ||
Line 13: | Line 12: | ||
== Parameters == | == Parameters == | ||
* '''[nick|address]''' - the nick or address you want to look up | * '''[nick|address]''' - the nick or address you want to look up | ||
+ | |||
== Example == | == Example == | ||
<syntaxhighlight lang="mIRC">;using default setting for ipv6 | <syntaxhighlight lang="mIRC">;using default setting for ipv6 | ||
Line 21: | Line 21: | ||
/dns -6 Ouims | /dns -6 Ouims | ||
;both | ;both | ||
− | /dns -46 Ouims | + | /dns -46 Ouims</syntaxhighlight> |
− | |||
− | |||
== Compatibility == | == Compatibility == | ||
Added: 3.8 | Added: 3.8 | ||
+ | |||
+ | Added On: 25/11/95 | ||
+ | |||
+ | <small>Note: Individual switches were not taken into consideration.</small> | ||
+ | |||
== See also == | == See also == | ||
− | * | + | * [[List of commands - mIRC|List of commands]] |
+ | * [[List of identifiers - mIRC|List of identifiers]] | ||
+ | * [[$dns identifier - mIRC|$dns]] | ||
+ | |||
+ | [[Category:mIRC commands]] |