RE: Thinking differently about the site local problem (was: RE: site local addresses (was Re: Fw: Welcome to the InterNAT...))

"Jeroen Massar" <jeroen@unfix.org> Mon, 31 March 2003 21:47 UTC

Received: from ran.ietf.org (ran.ietf.org [10.27.6.60]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA26340; Mon, 31 Mar 2003 16:47:04 -0500 (EST)
Received: from majordomo by ran.ietf.org with local (Exim 4.10) id 1907Ic-0007Ca-00 for ietf-list@ran.ietf.org; Mon, 31 Mar 2003 16:58:38 -0500
Received: from odin.ietf.org ([10.27.2.28] helo=ietf.org) by ran.ietf.org with esmtp (Exim 4.10) id 1907IR-0006y7-00 for ietf@ran.ietf.org; Mon, 31 Mar 2003 16:58:28 -0500
Received: from purgatory.unfix.org (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA26191 for <ietf@ietf.org>; Mon, 31 Mar 2003 16:42:01 -0500 (EST)
Received: from localhost (localhost [127.0.0.1]) by purgatory.unfix.org (Postfix) with ESMTP id C14A28ADA; Mon, 31 Mar 2003 23:44:25 +0200 (CEST)
Received: from limbo (limbo.unfix.org [10.100.13.33]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by purgatory.unfix.org (Postfix) with ESMTP id 0D40A8AD8; Mon, 31 Mar 2003 23:44:10 +0200 (CEST)
From: Jeroen Massar <jeroen@unfix.org>
To: 'Keith Moore' <moore@cs.utk.edu>
Cc: huitema@windows.microsoft.com, ietf@ietf.org
Subject: RE: Thinking differently about the site local problem (was: RE: site local addresses (was Re: Fw: Welcome to the InterNAT...))
Date: Mon, 31 Mar 2003 23:45:11 +0200
Organization: Unfix
Message-ID: <002301c2f7ce$d2c625c0$210d640a@unfix.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook, Build 10.0.3416
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
In-Reply-To: <20030331162356.52a63c86.moore@cs.utk.edu>
X-Virus-Scanned: by AMaViS @ purgatory.unfix.org
Content-Transfer-Encoding: 7bit
Sender: owner-ietf@ietf.org
Precedence: bulk
Content-Transfer-Encoding: 7bit

Keith Moore wrote:

> > > Well, that is emphatically *NOT* what application developers 
> > > do. They do not just observe that it does not work, they try
> > > to work around, e.g. routing messages to a different address,
> > > at a different time, through a third party, or through a
> > > different protocol. 
> > 
> > Indeed, correctly coded applications will use a getaddrinfo()
> > and then a connect() in a loop until succesful. 
> 
> it's perfectly reasonable to connect to an address without first
> doing a DNS lookup.

I think nobody can't help you if you are using hardcoded IP's.
The only case you have an IP without DNS is when you get it
passed from another layer/entity (eg in a FTP from the server).
In any other way if you have multiple targets you can also
try all of those in a loop similar to getaddrinfo().

> even when you need to do a DNS lookup,
> getaddrinfo() doesn't always do what you need.

Can you identify those so that getaddrinfo() can be expanded
to fix these cases?

Greets,
 Jeroen