[SIP] DHCP option for SIP vs. for all SRV types in general

Jarno Rajahalme <jarno0@yahoo.com> Mon, 19 March 2001 23:35 UTC

Received: from lists.bell-labs.com (share.research.bell-labs.com [204.178.16.58]) by ietf.org (8.9.1a/8.9.1a) with SMTP id SAA25867 for <sip-archive@odin.ietf.org>; Mon, 19 Mar 2001 18:35:14 -0500 (EST)
Received: from share.research.bell-labs.com (localhost.localdomain [127.0.0.1]) by lists.bell-labs.com (Postfix) with ESMTP id 2A26B4436D; Mon, 19 Mar 2001 18:35:12 -0500 (EST)
Delivered-To: sip@lists.bell-labs.com
Received: from web13315.mail.yahoo.com (web13315.mail.yahoo.com [216.136.175.51]) by lists.bell-labs.com (Postfix) with SMTP id 870B144336 for <sip@lists.bell-labs.com>; Mon, 19 Mar 2001 18:31:27 -0500 (EST)
Message-ID: <20010319233127.9115.qmail@web13315.mail.yahoo.com>
Received: from [135.222.64.52] by web13315.mail.yahoo.com; Mon, 19 Mar 2001 15:31:27 PST
From: Jarno Rajahalme <jarno0@yahoo.com>
To: dhcp-v4@bucknell.edu
Cc: droms@bucknell.edu, schulzrinne@cs.columbia.edu, sip@lists.bell-labs.com, dhcp-v6@bucknell.edu
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Subject: [SIP] DHCP option for SIP vs. for all SRV types in general
Sender: sip-admin@lists.bell-labs.com
Errors-To: sip-admin@lists.bell-labs.com
X-BeenThere: sip@lists.bell-labs.com
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:sip-request@lists.bell-labs.com?subject=help>
List-Post: <mailto:sip@lists.bell-labs.com>
List-Subscribe: <http://lists.bell-labs.com/mailman/listinfo/sip>, <mailto:sip-request@lists.bell-labs.com?subject=subscribe>
List-Id: IETF SIP Mailing List <sip.lists.bell-labs.com>
List-Unsubscribe: <http://lists.bell-labs.com/mailman/listinfo/sip>, <mailto:sip-request@lists.bell-labs.com?subject=unsubscribe>
List-Archive: http://lists.bell-labs.com/pipermail/sip/
Date: Mon, 19 Mar 2001 15:31:27 -0800

Hi,

In the DHC meeting today I proposed defining a generic SRV DHC option,
rather than separate DHC option for all services using DNS SRV records.
In my opinion this would save a lot of work in future with new
protocols, as there would not be any need to define new DHC options.

In
http://www.cs.columbia.edu/~hgs/sip/drafts/draft-ietf-sip-dhcp-04.txt
the SIP DHC option is proposed. It is defined as simply:

<option code> <length> <string>

Where string can be e.g. 'server.example.com'.

RFC 2782 defines the DNS SRV resource records.

A more generalized solution would be to define the option code for SRV
('SRV' for now), and include the service and protocol with the domain
name, for example:

<SRV> <n> <_sip._udp.server.example.com>

Note that the string is exactly the string to be used with the DNS SRV
query. The server could be configured with an arbitrary number of these
options and return multiple of these to the client.

The client could ask for these with the same option, but including a
matching prefix, e.g.:

<SRV> <n> <_sip>    ; want all SIP SRV entries

or

<SRV> <n> <_sip._sctp> ; want all SIP SRV entries with SCTP transport

or simply

<SRV> <n> <>    ; want all SRV entries

Additionally, the client could include multiple of these options, for
example to ask for SIP and HTTP proxies, but not for anything else:

<SRV> <n> <_sip._sctp> ; want all SIP SRV entries with SCTP transport
<SRV> <n> <_http>      ; want all HTTP proxy entries

In my opinion this solution would be as simple as the SIP-only DHC, but
more generic, and would help other services to benefit from the same
DHC option without any adverse effect to clients or servers.

With regards,

     Jarno Rajahalme


__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/

_______________________________________________
This list is for continuing development of the SIP protocol.
The sip-implementor's list is the place to discuss implementation,
and to receive advice on understanding existing sip.
To subscribe to it, send mail to 
sip-implementors-request@cs.columbia.edu with "subscribe" in the body.