Re: [dnsext] BADVER/FORMERR

Dick Franks <rwfranks@acm.org> Tue, 15 November 2011 04:35 UTC

Return-Path: <rwfranks@gmail.com>
X-Original-To: dnsext@ietfa.amsl.com
Delivered-To: dnsext@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4C1F911E8191 for <dnsext@ietfa.amsl.com>; Mon, 14 Nov 2011 20:35:10 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.977
X-Spam-Level:
X-Spam-Status: No, score=-102.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_LOW=-1, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kesgBqDVxG9P for <dnsext@ietfa.amsl.com>; Mon, 14 Nov 2011 20:35:09 -0800 (PST)
Received: from mail-gx0-f172.google.com (mail-gx0-f172.google.com [209.85.161.172]) by ietfa.amsl.com (Postfix) with ESMTP id A047211E8160 for <dnsext@ietf.org>; Mon, 14 Nov 2011 20:35:09 -0800 (PST)
Received: by ggnr5 with SMTP id r5so1954855ggn.31 for <dnsext@ietf.org>; Mon, 14 Nov 2011 20:35:09 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=CxMXf0t1QIdjXYujAcx3Fv3oztbR6kwS6TH+rvHyy20=; b=Qtj4vT8TrhgC0jwYh8iWgwDiq3+obmcEhb5QN3TqBSK1hYtRClcrgIEOLbEo7tIRIj mme4W46ULnyHxegquxabq2/Pbg91LP6wW/+MVBySCSLIPuin2x4KgFeuyZxd8F1BWOeX batofChOS4GqBfDFxebecDPm+AHYvSXOqYdrk=
Received: by 10.182.2.225 with SMTP id 1mr5731265obx.30.1321331709096; Mon, 14 Nov 2011 20:35:09 -0800 (PST)
MIME-Version: 1.0
Sender: rwfranks@gmail.com
Received: by 10.182.216.69 with HTTP; Mon, 14 Nov 2011 20:34:48 -0800 (PST)
In-Reply-To: <20111114222302.F0159171B01D@drugs.dv.isc.org>
References: <20111111025007.B689B17061FA@drugs.dv.isc.org> <20111114222302.F0159171B01D@drugs.dv.isc.org>
From: Dick Franks <rwfranks@acm.org>
Date: Tue, 15 Nov 2011 04:34:48 +0000
X-Google-Sender-Auth: 0dkGPvKy63keLU8PoDbTey77OeU
Message-ID: <CAKW6Ri7Am5DjrYx+F_6FDE4-+Rh2+WuAptY6QyNNwtpOkbAcdw@mail.gmail.com>
To: Mark Andrews <marka@isc.org>
Content-Type: text/plain; charset="UTF-8"
Cc: Marc Lampo <marc.lampo@eurid.eu>, dnsext@ietf.org
Subject: Re: [dnsext] BADVER/FORMERR
X-BeenThere: dnsext@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: DNS Extensions working group discussion list <dnsext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/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: Tue, 15 Nov 2011 04:35:10 -0000

IMHO, we should consider separately whether FORMERR is a proper
response to a query with zero QDCOUNT.

The text of RFC1035 (4.1.2) describes the question section thus:

  The question section is used to carry the "question" in most queries,
  i.e., the parameters that define what is being asked.  The section
  contains QDCOUNT (usually 1) entries, each of the following format ...

This certainly does not exclude the possibility of an empty question
section in a query packet and hence there is no justification for
responding with FORMERR.

No additional legislation should be necessary; implementations which
return FORMERR in response to zero QDCOUNT are non-compliant with
RFC1035. Client-side code which relies upon such behaviour is
similarly non-compliant.


--Dick