Marc Zucchelli on 21 Mar 2006 16:13:20 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

RE: [PLUG] DNS question


Often with me when a program takes a few seconds to
respond its usually a reverse dns issue, the program
finds the ip address, and then does a dns lookup on
the ip address to see if it matches the domain.  The
reason it takes a few seconds is because the IP
address doesnt have a reverse entry.

I'm not sure if this is your problem, but I just
wanted to mention it because it always seems to be the
issue when I'm doing stuff like this.

--- George Gallen <ggallen@slackinc.com> wrote:

> it's on a RH 7.2 system.
> 
> My /etc/nsswitch has:
> hosts:      files nisplus dns 
> 
> I'm assuming that files is /etc/hosts
> 
> /etc/resolv.conf is as:
> #search alpha.slackinc.com,slackinc.com
> #domain alpha.slackinc.com
> search slackinc.com
> domain slackinc.com
> nameserver 10.10.1.34
> #nameserver 10.10.1.35
> nameserver 172.16.20.103
> nameserver 172.16.20.106
> nameserver 172.16.20.109
> 
> (our system is alpha.slackinc.com) and not any of
> the IP's listed.
> Those are our internal DNS servers.
> 
> George
> 
> > -----Original Message-----
> > From: plug-bounces@lists.phillylinux.org
> > [mailto:plug-bounces@lists.phillylinux.org]On
> Behalf Of sean finney
> > Sent: Tuesday, March 21, 2006 10:15 AM
> > To: Philadelphia Linux User's Group Discussion
> List
> > Subject: Re: [PLUG] DNS question
> > 
> > 
> > hi george,
> > 
> > On Mon, Mar 20, 2006 at 03:47:54PM -0500, George
> Gallen wrote:
> > > If I type (from linux): ftp IP-ADDRESS-OF-SERVER
>  it comes right up
> > > If I type                   ftp lpgeorge, it
> pauses for 
> > about 2-3 seconds, then comes up
> > > 
> > > lpgeorge is defined in /etc/hosts as
> IP-ADDRESS-OF-SERVER
> > > and /etc/host.conf is order hosts,bind
> > 
> > what $linux are you using?  note that host.conf is
> (mostly) 
> > deprecated,
> > and you probably want to be looking at
> /etc/nsswitch.conf instead.
> > specifcally, i'd be interested in what comes
> before "files".
> > 
> > also, what domain names are involved in this
> network.  is there by
> > chance a .local domain[1]?  as other folks have
> said, a tcpdump would
> > provide more information.  also, the contents of
> /etc/resolv.conf
> > might be relevant (as well as trying the query
> against both
> > hosts in said file).
> > 
> > 
> > 	sean
> > 
>
___________________________________________________________________________
> Philadelphia Linux Users Group         --       
> http://www.phillylinux.org
> Announcements -
>
http://lists.phillylinux.org/mailman/listinfo/plug-announce
> General Discussion  --  
> http://lists.phillylinux.org/mailman/listinfo/plug
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug