From owner-freebsd-questions Wed Nov 8 17:11:36 2000 Delivered-To: freebsd-questions@freebsd.org Received: from static.unixfreak.org (static.unixfreak.org [63.198.170.139]) by hub.freebsd.org (Postfix) with ESMTP id EBF3237B479 for ; Wed, 8 Nov 2000 17:11:33 -0800 (PST) Received: by static.unixfreak.org (Postfix, from userid 1000) id 0C5971F1F; Wed, 8 Nov 2000 17:11:32 -0800 (PST) Subject: Re: struct hostent In-Reply-To: <20001108193700.27213.qmail@web10702.mail.yahoo.com> "from satkal79@yahoo.com at Nov 8, 2000 11:37:00 am" To: satkal79@yahoo.com Date: Wed, 8 Nov 2000 17:11:32 -0800 (PST) Cc: freebsd-questions@FreeBSD.ORG From: Dima Dorfman Reply-To: dima@unixfreak.org X-Mailer: ELM [version 2.4ME+ PL82 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Message-Id: <20001109011132.0C5971F1F@static.unixfreak.org> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Guy, > wat really does the field h_addr_list in struct > hostent means? , is it the replicated DNS's ips > (serveral servers ) or a particular DNS server having > serveral ips (single - multihomed server) I believe it's the list of addresses assigned to the host. For example, if you do a DNS lookup on www.yahoo.com, you will see that it has multiple IP addresses assigned to one hostname. Hope this helps -- Dima Dorfman Finger dima@unixfreak.org for my public PGP key. "Love is the triumph of imagination over intelligence." -- Henry Louis Mencken To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message