Re: ftp vs ping Name Resolution

From: Barry Margolin (barmar_at_alum.mit.edu)
Date: 08/13/04


Date: Thu, 12 Aug 2004 19:48:11 -0400

In article <e60d72ed.0408111823.ff03544@posting.google.com>,
 msargent100@hotmail.com (Mike) wrote:

> Hopefully an easy question.
>
> When I do a "ping svr-a" I see the name resolved to 123.x.x.x.
>
> However when I do a "ftp svr-a" I see the name resolved to 132.x.x.x
>
> My nsswitch.conf file for hosts is set to:
>
> files dns nisplus
>
>
> Why do I get different name resolution when I use the different commands?

Does svr-a have multiple addresses? If so, you may be seeing the result
of round-robin cycling through the addresses.

-- 
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***