Re: draft-jennings-app-dns-update-00

"Frank Ellermann" <hmdmhdfmhdjmzdtjmzdtzktdkztdjz@gmail.com> Tue, 08 July 2008 03:15 UTC

Return-Path: <apps-discuss-bounces@ietf.org>
X-Original-To: apps-discuss-archive@ietf.org
Delivered-To: ietfarch-apps-discuss-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 1AE1D3A697E; Mon, 7 Jul 2008 20:15:05 -0700 (PDT)
X-Original-To: apps-discuss@core3.amsl.com
Delivered-To: apps-discuss@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id CE9BC3A6973 for <apps-discuss@core3.amsl.com>; Mon, 7 Jul 2008 20:15:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.919
X-Spam-Level:
X-Spam-Status: No, score=0.919 tagged_above=-999 required=5 tests=[AWL=1.278, BAYES_00=-2.599, DATE_IN_PAST_03_06=0.044, FROM_LOCAL_NOVOWEL=3.196, RCVD_IN_DNSWL_LOW=-1]
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 eFH1LFN14QSp for <apps-discuss@core3.amsl.com>; Mon, 7 Jul 2008 20:15:03 -0700 (PDT)
Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by core3.amsl.com (Postfix) with ESMTP id EF1B73A68FD for <apps-discuss@ietf.org>; Mon, 7 Jul 2008 20:15:02 -0700 (PDT)
Received: from root by ciao.gmane.org with local (Exim 4.43) id 1KG3fT-0000jm-1O for apps-discuss@ietf.org; Tue, 08 Jul 2008 03:15:03 +0000
Received: from rain.gmane.org ([80.91.229.7]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <apps-discuss@ietf.org>; Tue, 08 Jul 2008 03:15:03 +0000
Received: from hmdmhdfmhdjmzdtjmzdtzktdkztdjz by rain.gmane.org with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <apps-discuss@ietf.org>; Tue, 08 Jul 2008 03:15:03 +0000
X-Injected-Via-Gmane: http://gmane.org/
To: apps-discuss@ietf.org
From: Frank Ellermann <hmdmhdfmhdjmzdtjmzdtzktdkztdjz@gmail.com>
Subject: Re: draft-jennings-app-dns-update-00
Date: Tue, 08 Jul 2008 01:43:07 +0200
Organization: <URL:http://purl.net/xyzzy>
Lines: 43
Message-ID: <g4u9hl$rh1$1@ger.gmane.org>
References: <20080707024501.AE0A33A6947@core3.amsl.com> <89A47DA0-8E2F-4247-A21F-E9B1777A0856@cisco.com>
Mime-Version: 1.0
X-Complaints-To: usenet@ger.gmane.org
X-Gmane-NNTP-Posting-Host: rain.gmane.org
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1914
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1914
X-BeenThere: apps-discuss@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: General discussion of application-layer protocols <apps-discuss.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/apps-discuss>
List-Post: <mailto:apps-discuss@ietf.org>
List-Help: <mailto:apps-discuss-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: apps-discuss-bounces@ietf.org
Errors-To: apps-discuss-bounces@ietf.org

Cullen Jennings wrote:

> a HTTP based API to update DNS records similar to the system at
> dyndns.org.  Be pleased to get peoples thoughts

Interesting.  I've implemented a simple dyndns update client, the
main trick is to get this right in hardware, and then stick to it
for some *decades* (sic!).  Discuss it also with the dyndns folks.

In the record parameters I miss MX and SPF among others.  I'm not
sure about "MUST https", how about SHOULD ?  Dyndns allows more
than one "host".  You have that as domain, clearly you don't want
to limit it to hosts, but allowing more than one might be good.

In the examples ITYM one "?" to start the query part with the 1st
name=value pair, but later the conventional separator is "&", not
"?".  

Apart from 0 and -1, do those indices actually work with DNS ?
What a client sees as second record might not be the second
record in a RR set from a server's POV.

Example 4.2 actually defines two MX records, it doesn't "update"
them.  If the index is supposed to be either -1, 0, or n+1 (for
n existing records) this might work.  But then index=1 has the
same effect as index=0, and n+1 has the same effect as index=-1,
so something is still odd with those indices.

How about s/index/action/ and:
action=0 kill all, optionally create new first
action=1 keep all, add new record

If action=1 matches an existing record it's a noop, no harm done.

A very interesting part in the dyndns protocol is that clients
MUST NOT update anything unless it has changed.  They go as far 
as demanding to maintain persistent state (surviving a reboot).

They also allow to omit the IP, taking the IP of the query as
default (when update clients cannot figure out what the public
IP is).

 Frank

_______________________________________________
Apps-Discuss mailing list
Apps-Discuss@ietf.org
https://www.ietf.org/mailman/listinfo/apps-discuss