mIRC Home    About    Download    Register    News    Help

Print Thread
#172909 17/03/07 10:09 PM
Joined: Jul 2006
Posts: 107
L
LonDart Offline OP
Vogon poet
OP Offline
Vogon poet
L
Joined: Jul 2006
Posts: 107
Found a thread from 2 years ago asking similar question, but there was no resolution.

I have mIRC set to 'on connect always get local host' via server.
I connect, auth to the network bot, then dcc channel bot. Works fine.

Occasionally, more often lately, my host isn't resolved to an IP.
Wrote an alias to deal with the situation, and it works just fine too.

Curiosity Question: Is this an issue with the DNS server the IRC server is using,
or one referenced by my machine?

Scripting Question: Is there a way to automate this?

Normally I see in my status
Local host: <alphanumeric host> (<numeric IP>)

Other times I see
Local host: <alphanumeric host> (unknown)

and then
* Unable to resolve local host
when the dcc chat fails.

I tried grabbing the 'Unable to' msg with TEXT, NOTICE, and SNOTICE, but they all failed.

By the time I thought to look for raws with debug, the error wasn't occuring, so found
no raw corresponding to * Unable to resolve local host.

Did see a raw 302
<- :SERVER 302 nick :nick=+ident@host
so it appears that mirc is adding the parenthetical IP or unknown.

I suspect I'm out of luck on automating it, (Life is SO hard smile ), but thought I'd throw it out here.
I'm frequently impressed with the responses I see on this forum.


LonDart
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
1) This is a lag issue between the DNS server and the IRC server (as it's lag, there's not much that can be done).
2) Try using
Code:
on *:notice:*unable to resolve local host*:*:{
<your code for automation>
}



Link Copied to Clipboard