This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

DNS Lookup failed - please read post before deleting ;)

Old posts that have not been replied to for several years.
c
ceepee
Voice
Posts: 7
Joined: Tue Dec 07, 2004 7:51 pm

DNS Lookup failed - please read post before deleting ;)

Post by ceepee »

I DID check the Search option, but found no answer for my problem.

i have the all-known 'DNS Lookup failed' problem but i've tried all of the following and nothing worked:

- commented/uncommented loadmodule dns
- created resolv.conf (used both 10.0.0.138 (router) as the ISP's nameserver IP)
- used multiple servernames as well as IP addresses in set servers {
- ident is enabled

but i still keep getting:
[00:58] Identd was Already On, Listening On Port 113, Replying as Puschkin***
[00:58] Trying server xs4all.nl.quakenet.org:6667
[00:58] Failed connect to xs4all.nl.quakenet.org (DNS lookup failed)
I'm running a mirc client on the same machine and it can connect to quakenet without any problems.

I can also resolve all the names manually under a dos window.

I'm completely lost here :( Apparently some people managed to resolve this problem but everywhere I find posts like 'OK, I've fixed it and ....' but no-one says what was wrong :)

/EDIT:

Oh yes, If I fill in an IP address in the 'set servers ( )' i get this weird error:
[01:05] Identd: Listening On Port 113, Replying as Puschkin***
[01:05] Trying server 194.109.129.222:6667
[01:05] Failed connect to 194.109.129.222 (Unforseen error 113)
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

unload dns module and try again
User avatar
YooHoo
Owner
Posts: 939
Joined: Thu Feb 13, 2003 10:07 pm
Location: Redwood Coast

Post by YooHoo »

port 113? is that a mirc thing, or what?
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

YooHoo wrote:port 113? is that a mirc thing, or what?
it's not a port, it's a socket error number
c
ceepee
Voice
Posts: 7
Joined: Tue Dec 07, 2004 7:51 pm

Post by ceepee »

Now I even get the unforseen error 113 when using the dns name of the irc server ...

is there anything else that must be present in the resolv.conf file except the string "nameserver IP_nameserver" ?

And do I use the internal IP of my router or the ip of my provider's primary dns server?
User avatar
YooHoo
Owner
Posts: 939
Joined: Thu Feb 13, 2003 10:07 pm
Location: Redwood Coast

Post by YooHoo »

ceepee wrote:do I use the internal IP of my router or the ip of my provider's primary dns server?
If you purchased a shell account from a provider, set my-hostname as well as my-ip accordingly. If you run eggdrop from your home, i.e. your router, read about set nat-ip in eggdrop.conf
:mrgreen:
c
ceepee
Voice
Posts: 7
Joined: Tue Dec 07, 2004 7:51 pm

Post by ceepee »

I tried that nat-IP setting as well ... both dyndns hostname as well as current IP address.

(of course filling an IP address there would be useless because I'd have to change it everytime my isp gives me a new IP)
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

YooHoo wrote:port 113? is that a mirc thing, or what?
mIRC's ident server connects through port 113 on startup then closes the port and listens on port 59. :)

ceepee are you running a Windrop by any chance? I ask because of this:
Identd: Listening On Port 113, Replying as Puschkin***
.. and the fact that winident.tcl emulates mIRC to connect to an IRC network.
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

ceepee wrote:Now I even get the unforseen error 113 when using the dns name of the irc server ...

is there anything else that must be present in the resolv.conf file except the string "nameserver IP_nameserver" ?

And do I use the internal IP of my router or the ip of my provider's primary dns server?
you put your IP in /etc/resolv.conf only if you run a local (caching) nameserver; otherwise, use your provider's nameserver(s)

did you try what I suggested? unloading dns module? (or loading it, if not loaded)
c
ceepee
Voice
Posts: 7
Joined: Tue Dec 07, 2004 7:51 pm

Post by ceepee »

Alchera wrote:ceepee are you running a Windrop by any chance? I ask because of this:
Identd: Listening On Port 113, Replying as Puschkin***
.. and the fact that winident.tcl emulates mIRC to connect to an IRC network.
Indeed, i'm running Windrop 1.6.17 (latest stable)
demond wrote:you put your IP in /etc/resolv.conf only if you run a local (caching) nameserver; otherwise, use your provider's nameserver(s)
Yep I tried both
demond wrote:did you try what I suggested? unloading dns module? (or loading it, if not loaded)
Yep, already said that in my first post even ;)

I assume you mean commenting/uncommenting the
loadmodule dns
line?
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

oops I didn't noticed that in your original post...

but since you use windrop, it wouldn't make any difference since modules are statically linked and loading/unloading has no meaning (if possible at all; I am not sure about that, never used a windrop)

I'd assume this mess is due to some weirdness in Cygwin's resolver lib (I believe windrop uses Cygwin as UNIX emulation layer), showing up in your specific circumstances/configuration

I'd report this as a bug to windrop developers
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

In the Command Prompt (XP): ipconfig /all

From the list copy the 1st IP in DNS Servers and pop into resolve.conf

Code: Select all

# resolv.conf
#
# search = domain list
# nameserver = DNS server list
#
#search super.net
nameserver your.dns.ip.here
Next (in your bot conf), put IP Address in >> set my-ip "your.ip.address.here"

winident1.2.tcl needs no editing at all.
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

Alchera wrote:In the Command Prompt (XP): ipconfig /all

From the list copy the 1st IP in DNS Servers and pop into resolve.conf

Code: Select all

# resolv.conf
#
# search = domain list
# nameserver = DNS server list
#
#search super.net
nameserver your.dns.ip.here
Next (in your bot conf), put IP Address in >> set my-ip "your.ip.address.here"

winident1.2.tcl needs no editing at all.
resolv.conf on Windows? Cygwin requires it?
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

ah, now I understand... that guy runs mIRC without problems because mIRC is a native winsock app, and windrop isn't - indeed, the likely suspect is Cygwin's resolv.conf
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

The resolve.conf I posted is all that it contains, just that one namerver line to point to his ISP's DNS server so it's nothing fancy and in conjunction with winident1.2.tcl it emulates mIRC's Identd server. Other things to possibly look at are router/firewall settings although they seem OK as he's got his eggdrop to attempt a connection to QuakeNet, albeit unsuccessfully:
Failed connect to xs4all.nl.quakenet.org (DNS lookup failed)
Using IP's to connect to some IRC networks will sometimes generate an error as the IP's usually do not resolve (basically because they don't really exist; used by the hub for linking purposes).

I am not familiar with QuakeNet but if they have a random server to connect to I'd suggest using that in the bots config file. DNS lookup failures usually indicate the server is no longer online or in existance.
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Locked