Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU

BLU Discuss list archive


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

[BLU] ssh delays



Try 'dig' (domain information groper)

dig -x <IP> to verify reverse lookups.  However, this will only query your
resolvers (/etc/resolv.conf servers).  Find out the authoritatitive NS for
your in-addr.arpa domain and query it:

dig -x <IP> @<authserver>

try dig -soa 0.Z.Y.X.in-addr.arpa to find the server responsible for your
block and put its IP in <authserver> above (no spaces after @sign).

HTH

----------------------
Chuck Young
Internet Systems Engineer
E-Services Consulting
Genuity Solutions
-----------------------------

> -----Original Message-----
> From: owner-discuss at Blu.Org [mailto:owner-discuss at Blu.Org]On Behalf Of
> Chris Janicki
> Sent: Friday, September 21, 2001 12:23 PM
> To: John Chambers
> Cc: discuss at Blu.Org
> Subject: Re: [BLU] ssh delays
>
>
>
> > Hmmm ...  I did some checking with nslookup on both ends of  a  link,
> > and  in  all  cases,  it  found  a name for the IP addresses within a
> > second. I also tried all the known host names with nslookup, and they
> > all got an address within a second.  This would seem to say that DNS,
> > forward and reverse, is working fine.
>
> 2-cents... I've read that nslookup does not use the same networking
> libraries/kernel routines/whatever that are used by applications (such as
> SSH).  So there is a possibility that nslookup may work, but yous
> application can still fail to reverse lookup.
>
> I've seen this happen before, where nslookup works, but my Java app
> stalls for 5-min, then continues merrily along.  It's a long shot, but if
> all else fails, try to write a small app to double-check the reverse
> lookup.  (I could write a small Java version of nslookup If you'd like.)
> -
> Subcription/unsubscription/info requests: send e-mail with
> "subscribe", "unsubscribe", or "info" on the first line of the
> message body to discuss-request at blu.org (Subject line is ignored).

-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).




BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org