Google Groups Home
Help | Sign in
Message from discussion What happens when DNS returns multiple IPs for netnews.attbi.com?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
John Green  
View profile
 More options Dec 6 2001, 10:27 am
Newsgroups: comp.dcom.modems.cable
From: John Green <johnpgr...@mail.com>
Date: Thu, 06 Dec 2001 15:28:33 GMT
Local: Thurs, Dec 6 2001 10:28 am
Subject: Re: What happens when DNS returns multiple IPs for netnews.attbi.com?

Susan K wrote:
> I am just trying to figure out what happens when
> DNS returns multiple IP addresses for a name.

> nslookup for netnews.attbi.com returns 4 IPs.
> ping to each of these returns different round-trip
> times and packet loss.

> When I run my news reader using the server "netnews.attbi.com"
> it seems to be selecting one of the slowest IPs identified by
> nslookup.

> I assume that some software is supposed to determine
> which of the 4 IPs is the best, but I don't know how it
> works or if it needs to be setup somehow. Is this program
> called BIND/resolver? How does it work?

<snip>

It's really up to the application software to handle multiple IP
addresses for a single host. Microsoft's IE, for example, tries the
first IP address in the list. If that IP doesn't repond in the time out
period, it then tries the next one, and so on. Other programs handle
things differently. Some programs remember which IP addresses worked or
didn't and continue to use or ignore those addresses. Some, like
Netscape Navigator, will periodically retry the failing IP addresses to
see if they've come back online. Some programs don't support multiple IP
addresses and just use the first or last IP in the list.

I don't know that there's much you can do as far as setup, other than
perhaps setting timeout values. Applications selecting a non-optimal
server is a common problem when systems use multiple IP addresses for
load balancing or failover. More sophisticated systems use dedicated
load balancing and failover software in front of the servers to solve
that problem.

The Berkeley Internet Name Domain (BIND) is a specific implementation of
DNS, widely used on UNIX and UNIX-like systems. The resolver is included
with BIND. More info on BIND can be had from:

http://www.isc.org/products/BIND

--
John


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google