Leggi la traduzione italiana: Apri la traduzione italiana del sito
It is FORBIDDEN to copy these written contents (and screenshots/images) to other websites, without my permission and without crediting me and putting a link to this page (WITHOUT nofollow).

You can, on IRC, see which IP belongs to a user (whatever you need to know this for, obviously ). This is achieved, inside mIRC, with the /dns command. So, for example, if you want to know what IP is using your channelmate Jogi you can do:

/dns Jogi

and you will see, after some time, the IP and the IP name (if there is one) of Jogi in the Status window. So, what's he big deal you'll ask, a page just for this command? Not actually, because it may be annoyng to switch to the Status window every time you need to check the IP of a user. So here we'll make a script which will send a message to our current channel window with the regarding information.

You can use this addon to load the script from within mIRC, instead of writing the lines yourself.

If you want to add the lines yourself, here are the instructions.

Before we begin, let's recall that you need to press the button in mIRC to access the Remote panel, that is where you edit scripts.

What you need to write there is:

on *:DNS://echo -a Resolved $nick to: Name - $naddress , IP - $iaddress

and the output, after you add this line, press OK, and issue the /dns command on a user, will appear in the active window, and resemble this:

Resolved Joey42 to: Name - co3061808-a.eburwd1.vic.optushome.com.au , IP - 203.164.127.151

In the case the IPname was not available, the field after "Name -" would simply be empty.

You can check with this also the IP corresponding to websites. For example, if you want to know what IP is associated with www.microsoft.com just do:

/dns www.microsoft.com

and the output will be:

Resolved to: Name - www.microsoft.com , IP - 207.46.230.219

and as well see what IP name belongs to an IP you run into:

/dns 65.92.216.192

the output being:

Resolved to: Name - HSE-Montreal-ppp3473182.sympatico.ca , IP - 65.92.216.192

clear enough I'd say.

Now go on IRC and play a bit .

share su Facebook vota su OKNotizie salva su Segnalo vota su Diggita Digg This Condividi su Meemi segnala su Technotizie vota su Wikio vota su Fai Informazione Add To Del.icio.us Fav This With Technorati segnala su ziczac Stumble Upon Toolbar post<li>
If you liked this page, if you feel it added something to your life, then leave a comment below, it will be appreciated
comments    :: write ::
*Name:
Email:
Notify me about new comments on this page
Hide my email
*Text:

available chars.
verification code:     (refresh image)

CAPTCHA Image
Ephestione
25 Jan 2010, 20:50
As explained to the first user in the comments, it must be your chat server which gives back modified hostnames for "privacy" reasons.
In other words, when you connect to your IRC server, your real hostname is masked by the server so other users are not able to discover your real IP, unless a DCC session is initiated. Microsoft works as it is a public, resolvable hostname
Alco
25 Jan 2010, 20:10
Resolved Timothethug to: Name - Omerta-568f5e3b.dire ct-adsl.nl , IP -
Resolved Jap|Afk to: Name - Jap.users.omerta , IP -
Resolved Alco` to: Name - Alco-02309.users.ome rta , IP -

The only thing that does work is "www.microsoft.com"

How come? and is there something to fix it??
Ephestione
15 Jan 2010, 23:49
of course there is, mIRC had a very wide support for scripting language (and supposedly has a better one now, years after I used it), which I knew adequately back then. Now tho, even if I can assure you that it's possible, and quite easily combining events and file-write functions, I wouldn't have the sligthtest idea of the code to use :-/
drumm
15 Jan 2010, 23:40
Very nice explanation. Is there a way to send the DNS name and/or IP to a log file? Even when a user joins (on JOIN?) with a time stamp?
Ephestione
11 Jan 2010, 09:11
THat would be the chat program masking the original hostname of the client.
".ip" is not a regular top level domain, normal hostnames end with .con, .net, .it, .fr, .uk, .us, and so on
opcinjen
11 Jan 2010, 02:39
02:37:21 * Dns resolving ECA050A1.FEAC7A6B.B5 003D43.IP
02:37:21 * Dns unable to resolve ECA050A1.FEAC7A6B.B5 003D43.IP