egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[Solved] Eggdrop & DNS Lookups: What's the trick?
Goto page 1, 2  Next
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
prg0906
Voice


Joined: 22 Mar 2007
Posts: 12

PostPosted: Thu Mar 22, 2007 10:22 pm    Post subject: [Solved] Eggdrop & DNS Lookups: What's the trick? Reply with quote

Everything compiles without error, including the modules. The modules load without error. However, every connection attempt fails during DNS lookup.

What am I missing?


Respectfully,

Raven
Back to top
View user's profile Send private message
iamdeath
Master


Joined: 11 Feb 2005
Posts: 323
Location: *HeLL*

PostPosted: Thu Mar 22, 2007 10:27 pm    Post subject: Reply with quote

try using server you're connecting to with ip not host.
Back to top
View user's profile Send private message Visit poster's website
prg0906
Voice


Joined: 22 Mar 2007
Posts: 12

PostPosted: Thu Mar 22, 2007 11:30 pm    Post subject: Reply with quote

iamdeath wrote:
try using server you're connecting to with ip not host.


Thanks for the reply, IAD.

That's only a way around the problem. I could also comment out the loadmodule statement entirely. However, both of these solutions cripple the bot's responsiveness.

Besides, the module should work as intended, or it wouldn't have been included in the package. I would like to find and fix the problem rather than cripple the bot.

Any suggestions?
Back to top
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Thu Mar 22, 2007 11:51 pm    Post subject: Reply with quote

Quote:
# If you're using virtual hosting (your machine has more than 1 IP), you
# may want to specify the particular IP to bind to. You can specify either
# by hostname or by IP. You may also want to set the hostname here if
# Eggdrop has trouble detecting it when it starts up.
#set my-hostname "virtual.host.com"
#set my-ip "99.99.0.0"


Have you set the above?

You could also post a more descriptive error message.
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
prg0906
Voice


Joined: 22 Mar 2007
Posts: 12

PostPosted: Fri Mar 23, 2007 12:45 am    Post subject: Reply with quote

Alchera, this is what I see when I start eggdrop with the -n switch. The last 3 lines continue to repeat until I terminate the process.

Code:
Eggdrop v1.6.18 (C) 1997 Robey Pointer (C) 2006 Eggheads
[00:38] Allocated bind table unld (flags 1)
[00:38] Allocated bind table time (flags 1)
[00:38] Allocated bind table note (flags 0)
[00:38] Allocated bind table nkch (flags 1)
[00:38] Allocated bind table load (flags 1)
[00:38] Allocated bind table link (flags 1)
[00:38] Allocated bind table filt (flags 1)
[00:38] Allocated bind table disc (flags 1)
[00:38] Allocated bind table dcc (flags 0)
[00:38] Allocated bind table chpt (flags 1)
[00:38] Allocated bind table chon (flags 1)
[00:38] Allocated bind table chof (flags 1)
[00:38] Allocated bind table chjn (flags 1)
[00:38] Allocated bind table chat (flags 1)
[00:38] Allocated bind table bot (flags 0)
[00:38] Allocated bind table bcst (flags 1)
[00:38] Allocated bind table away (flags 1)
[00:38] Allocated bind table act (flags 1)
[00:38] Allocated bind table evnt (flags 1)
[00:38] --- Loading eggdrop v1.6.18 (Fri Mar 23 2007)
[00:38] Module loaded: dns
[00:38] Module loaded: channels
[00:38] Allocated bind table wall (flags 1)
[00:38] Allocated bind table raw (flags 1)
[00:38] Allocated bind table notc (flags 1)
[00:38] Allocated bind table msgm (flags 1)
[00:38] Allocated bind table msg (flags 0)
[00:38] Allocated bind table flud (flags 1)
[00:38] Allocated bind table ctcr (flags 1)
[00:38] Allocated bind table ctcp (flags 1)
[00:38] Module loaded: server
[00:38] Module loaded: ctcp
[00:38] Allocated bind table topc (flags 1)
[00:38] Allocated bind table splt (flags 1)
[00:38] Allocated bind table sign (flags 1)
[00:38] Allocated bind table rejn (flags 1)
[00:38] Allocated bind table part (flags 1)
[00:38] Allocated bind table nick (flags 1)
[00:38] Allocated bind table mode (flags 1)
[00:38] Allocated bind table kick (flags 1)
[00:38] Allocated bind table join (flags 1)
[00:38] Allocated bind table pubm (flags 1)
[00:38] Allocated bind table pub (flags 0)
[00:38] Allocated bind table need (flags 1)
[00:38] Module loaded: irc
[00:38] LANG: Section loaded: console
[00:38] LANG: 10 messages of 15 lines loaded from ./language/console.english.lang
[00:38] LANG: 10 adds, 0 updates to message table
[00:38] Module loaded: console          (with lang support)
[00:38] Module loaded: seen
[00:38] Module loaded: blowfish
[00:38] Userinfo TCL v1.07 loaded (URL BF GF IRL EMAIL DOB PHONE ICQ).
[00:38] use '.help userinfo' for commands.
[00:38] === ravenspet: 0 channels, 0 users.
[00:38] main: entering loop
[00:38] Trying server irc.efnet.org:6667
[00:39] DNS resolve failed for irc.efnet.org
[00:39] Failed connect to irc.efnet.org (DNS lookup failed)
[00:39] Trying server irc.efnet.org:6667
[00:39] DNS resolve failed for irc.efnet.org
[00:39] Failed connect to irc.efnet.org (DNS lookup failed)
[00:40] Trying server irc.efnet.org:6667
[00:40] DNS resolve failed for irc.efnet.org
[00:40] Failed connect to irc.efnet.org (DNS lookup failed)
Back to top
View user's profile Send private message
prg0906
Voice


Joined: 22 Mar 2007
Posts: 12

PostPosted: Fri Mar 23, 2007 1:03 am    Post subject: Reply with quote

Same results from .console +rv command in telnet:

Code:
*** ravensgrace joined the party line.
[01:00] Trying server irc.efnet.org:6667
[01:00] Failed connect to irc.efnet.org (DNS lookup failed)
[01:00] #ravensgrace# console +rv
Set your console to *: mkcobxs (msgs, kicks/modes, cmds, mi
er).
[01:01] Trying server irc.efnet.org:6667
[01:01] Failed connect to irc.efnet.org (DNS lookup failed)
Back to top
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Fri Mar 23, 2007 1:05 am    Post subject: Reply with quote

It appears irc.efnet.org is offline. Try any of the following:

irc.efnet.us - random US
irc.efnet.ca - random CA
irc.efnet.eu - random EU

EFnet Server Information
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
prg0906
Voice


Joined: 22 Mar 2007
Posts: 12

PostPosted: Fri Mar 23, 2007 7:46 am    Post subject: Reply with quote

Same results. Sad I can connect fine with irc. The errors are occurring during lookup, and those addresses all resolve fine.
Back to top
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Fri Mar 23, 2007 8:11 am    Post subject: Reply with quote

ravensgrace wrote:
Same results. Sad I can connect fine with irc. The errors are occurring during lookup, and those addresses all resolve fine.

You connect via an IRC client to a Network from your own box? The eggdrop is on a shell account?
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
prg0906
Voice


Joined: 22 Mar 2007
Posts: 12

PostPosted: Fri Mar 23, 2007 9:33 am    Post subject: Reply with quote

Both are on my box.
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Fri Mar 23, 2007 11:27 am    Post subject: Reply with quote

This issue has been discussed many times before, check out the search results.
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
prg0906
Voice


Joined: 22 Mar 2007
Posts: 12

PostPosted: Fri Mar 23, 2007 11:48 am    Post subject: Reply with quote

Actually, posting was my last resort. I searched the forums first, and I tried a google search. None of the suggestions I found resolved the problem. I guess I shall keep looking elsewhere. Thanks, everyone, for trying to help.
Back to top
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Fri Mar 23, 2007 7:41 pm    Post subject: Reply with quote

Re-compile your eggdrop (latest source) ensuring all the necessary packages are available and that may just fix itself.
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
DragnLord
Owner


Joined: 24 Jan 2004
Posts: 711
Location: C'ville, Virginia, USA

PostPosted: Sat Mar 24, 2007 8:30 am    Post subject: Reply with quote

sounds to me like you need to check your resolv.conf
Back to top
View user's profile Send private message
prg0906
Voice


Joined: 22 Mar 2007
Posts: 12

PostPosted: Sat Mar 24, 2007 9:09 am    Post subject: Reply with quote

DL, that was the first place I looked, even before searching, and my correct nameserver is present. (I couldn't reach this site if all my lookups failed. Confused)

I'm downloading fresh sources as I type, and recompiling as suggested.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help All times are GMT - 4 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber