Re: [dnsext] we need help to make names the same, was draft-yao-dnsext-identical-resolution-02 comment

Mark Andrews <marka@isc.org> Fri, 18 February 2011 04:32 UTC

Return-Path: <marka@isc.org>
X-Original-To: dnsext@core3.amsl.com
Delivered-To: dnsext@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id A51AB3A6D33 for <dnsext@core3.amsl.com>; Thu, 17 Feb 2011 20:32:07 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.583
X-Spam-Level:
X-Spam-Status: No, score=-2.583 tagged_above=-999 required=5 tests=[AWL=0.015, BAYES_00=-2.599, WEIRD_PORT=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Wh-yG+16QF+u for <dnsext@core3.amsl.com>; Thu, 17 Feb 2011 20:32:06 -0800 (PST)
Received: from mx.ams1.isc.org (mx.ams1.isc.org [IPv6:2001:500:60::65]) by core3.amsl.com (Postfix) with ESMTP id 63C0B3A6C24 for <dnsext@ietf.org>; Thu, 17 Feb 2011 20:32:06 -0800 (PST)
Received: from bikeshed.isc.org (bikeshed.isc.org [IPv6:2001:4f8:3:d::19]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "bikeshed.isc.org", Issuer "ISC CA" (verified OK)) by mx.ams1.isc.org (Postfix) with ESMTPS id E3ECE5F98EA; Fri, 18 Feb 2011 04:32:17 +0000 (UTC) (envelope-from marka@isc.org)
Received: from drugs.dv.isc.org (drugs.dv.isc.org [IPv6:2001:470:1f00:820:ea06:88ff:fef3:4f9c]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by bikeshed.isc.org (Postfix) with ESMTPSA id 87E36216C22; Fri, 18 Feb 2011 04:32:10 +0000 (UTC) (envelope-from marka@isc.org)
Received: from drugs.dv.isc.org (localhost [127.0.0.1]) by drugs.dv.isc.org (Postfix) with ESMTP id AB350A4D593; Fri, 18 Feb 2011 15:32:00 +1100 (EST)
To: mayer@gis.net
From: Mark Andrews <marka@isc.org>
References: <20110216032120.43474.qmail@joyce.lan><alpine.LSU.2.00.1102161143180.5244@hermes-1.csi.cam.ac.uk> <20110216212930.57D64A3F344@drugs.dv.isc.org><4D5D24F3.70206@gis.net> <20110217231720.1FCF3A49096@drugs.dv.isc.org><4D5DE54C.5010104@gis.net> <20110218034737.9B601A4D098@drugs.dv.isc.org> <4D5DF040.6030404@gis.net>
In-reply-to: Your message of "Thu, 17 Feb 2011 23:06:24 CDT." <4D5DF040.6030404@gis.net>
Date: Fri, 18 Feb 2011 15:32:00 +1100
Message-Id: <20110218043200.AB350A4D593@drugs.dv.isc.org>
Cc: John Levine <johnl@iecc.com>, dnsext@ietf.org
Subject: Re: [dnsext] we need help to make names the same, was draft-yao-dnsext-identical-resolution-02 comment
X-BeenThere: dnsext@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: DNS Extensions working group discussion list <dnsext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/dnsext>, <mailto:dnsext-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dnsext>
List-Post: <mailto:dnsext@ietf.org>
List-Help: <mailto:dnsext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dnsext>, <mailto:dnsext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 18 Feb 2011 04:32:07 -0000

In message <4D5DF040.6030404@gis.net>, Danny Mayer writes:
> On 2/17/2011 10:47 PM, Mark Andrews wrote:
> > In message <4D5DE54C.5010104@gis.net>, Danny Mayer writes:
> >> On 2/17/2011 6:17 PM, Mark Andrews wrote:
> >>> In message <4D5D24F3.70206@gis.net>, Danny Mayer writes:
> >>>> Even if there were I'm not convinced that it would be useful since there
> >>>> is no way on the RHS to specify the path. It can give you a name, a
> >>>> port, a weight and a priority but no path. There was a proposal for a
> >>>> URL RR but I cannot find it right now and I don't think the wg is
> >>>> considering it, at least it's not on the document list.
> >>>>
> >>>> Danny
> >>>
> >>> Which can be dealt with entirely at the HTTP/S layer.
> >>>
> >>
> >> Not for the purpose I'm looking to use it. For the particular purpose
> >> the SOAP Servlet path needs to be different from the regular login URL
> >> and there is no way to express that. It needs to be like an SRV record
> >> so that the particular SOAP service can be located.
> >>
> >>> People are using CNAME for 
> >>>
> >>> 	site -> hosting server
> >>>
> >>> this include "www.example.net CNAME example.net".
> >>>  
> >>> We need to support 
> >>>
> >>> 	site alias -> site { -> hosting server }
> >>>
> >>> 		 CNAME    NEW-TYPE
> >>>
> >>> Additionally people are too lazy to add records for each virtual
> >>> service in the DNS so they use "* CNAME server" which makes using
> >>> SRV hard as it requires prepended labels.
> >>>
> >>> To prevent breaking existing clients that use CNAME like NEW-TYPE
> >>> client would look for NEW-TYPE and only re-write the URL there is
> >>> a CNAME and a NEW-TYPE returned.
> >>>
> >>> The CNAME would be replace by NEW-TYPE + addresses records to
> >>> help with the transition.
> >>>
> >>> This is very much like the introduction of MX records.  At
> >>> some point you stop putting in address records.
> >>
> >> Maybe you can give an example of how to get to the following URL for a
> >> SOAP Service and a regular login otherwise for the same host and port
> >> number.
> >>
> >> http://ws.example.net:5678/Ws/SOAPServlet for SOAP Service and continue
> >> to allow regular http access to the URL http://ws.example.net/Ws/Servlet
> >> for people who need to just login. This is a real example BTW and the
> >> current implementation stores the SOAP service URL locally. If I could
> >> figure out a way of using SRV records I would.
> > 
> > It helps to use the right scheme (RFC3288).  It should be
> > "soap.beep://ws.example.net:5678/Ws/SOAPServlet" not
> > "http://ws.example.net:5678/Ws/SOAPServlet".
> > 
> > The client can then make appropriate DNS lookups. 
> > 
> > 	_soap_beep._tcp.ws.example.net SRV ....
> 
> 
> I don't care about the transport piece since that's on the LHS. It's the
> path that cannot be specified here. Where do I go to get the
> /Ws/SOAPServlet part? The path is going to be different for each site.
> I'd love to use SRV records particularly as Brian W implemented a Java
> DNS library (dnsjava from xbill) that supports SRV records.

That's the job of NAPTR records.
 
> Danny
-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: marka@isc.org