From fanf2@hermes.cam.ac.uk Wed May 13 12:43:31 2015 CC: "Tony Finch" MIME-Version: 1.0 X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL,T_RP_MATCHES_RCVD autolearn=ham autolearn_force=no version=3.4.0 X-Cam-Antivirus: no malware found content-type: TEXT/PLAIN; charset="utf-8" Message-ID: X-X-Sender: fanf2@hermes-1.csi.cam.ac.uk Received: from mx.ams1.isc.org (mx.ams1.isc.org [IPv6:2001:500:60::65]) by bugs.isc.org (Postfix) with ESMTP id 9E90571B68D for ; Wed, 13 May 2015 12:43:30 +0000 (UTC) Received: from ppsw-41.csi.cam.ac.uk (ppsw-41.csi.cam.ac.uk [131.111.8.141]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx.ams1.isc.org (Postfix) with ESMTPS id 4AC321FCACD for ; Wed, 13 May 2015 12:43:28 +0000 (UTC) Received: from hermes-1.csi.cam.ac.uk ([131.111.8.51]:43216) by ppsw-41.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.157]:25) with esmtpa (EXTERNAL:fanf2) id 1YsW0V-0006ex-Su (Exim 4.82_3-c0e5623) (return-path ); Wed, 13 May 2015 13:43:28 +0100 Received: from fanf2 by hermes-1.csi.cam.ac.uk (hermes.cam.ac.uk) with local id 1YsW0V-0006Qp-SW (Exim 4.72) (return-path ); Wed, 13 May 2015 13:43:27 +0100 Delivered-To: bind9-bugs@bugs.isc.org Subject: Master File syntax pedantry User-Agent: Alpine 2.00 (LSU 1167 2008-08-23) Return-Path: X-Original-To: bind9-bugs@bugs.isc.org Sender: "Tony Finch" Date: Wed, 13 May 2015 13:43:27 +0100 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mx.ams1.isc.org To: bind9-bugs@isc.org X-Cam-Scannerinfo: http://www.cam.ac.uk/cs/email/scanner/ From: "Tony Finch" X-RT-Original-Encoding: ascii X-RT-Interface: Email Content-Length: 1055 This is a very dubious bug report... RFC 1035 says: s make up a large share of the data in the master file. The labels in the domain name are expressed as character strings and separated by dots. is expressed in one or two ways: as a contiguous set of characters without interior spaces, or as a string beginning with a " and ending with a ". This implies that "you"."can"."write"."domain"."names"."like"."this". BIND's zone file parser treats this as a syntax error. nsupdate treats quoted labels as if you wrote \" instead of ". Opinion: I think that allowing RFC 1035 quoted labels is liable to cause confusion, so BIND's master file parser probably does the sensible thing. Ideally nsupdate should parse RRs the same way. Tony. -- f.anthony.n.finch http://dotat.at/ Shannon: Southeasterly becoming cyclonic 7 to severe gale 9, then westerly gale 8 to storm 10 later in far south. Moderate or rough, becoming very rough or high later in south. Rain or showers. Moderate, occasionally poor.