CC: Tony Finch MIME-Version: 1.0 X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD autolearn=ham version=3.3.1 X-Cam-Antivirus: no malware found content-type: TEXT/PLAIN; charset="utf-8" Message-ID: X-X-Sender: fanf2@hermes-2.csi.cam.ac.uk X-Cam-Spamdetails: not scanned Received: from mx.pao1.isc.org (mx.pao1.isc.org [149.20.64.53]) by bugs.isc.org (Postfix) with ESMTP id 17A7320EE277 for ; Fri, 16 Jul 2010 17:30:53 +0000 (UTC) Received: from ppsw-32.csi.cam.ac.uk (ppsw-32.csi.cam.ac.uk [131.111.8.132]) by mx.pao1.isc.org (Postfix) with ESMTP id 02C4FC942A for ; Fri, 16 Jul 2010 17:30:40 +0000 (UTC) (envelope-from fanf2@hermes.cam.ac.uk) Received: from hermes-2.csi.cam.ac.uk ([131.111.8.54]:33916) by ppsw-32.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.158]:25) with esmtpa (EXTERNAL:fanf2) id 1OZokB-0003f2-1G (Exim 4.72) (return-path ); Fri, 16 Jul 2010 18:30:39 +0100 Received: from fanf2 (helo=localhost) by hermes-2.csi.cam.ac.uk (hermes.cam.ac.uk) with local-esmtp id 1OZokB-0006qB-C7 (Exim 4.67) (return-path ); Fri, 16 Jul 2010 18:30:39 +0100 Delivered-To: bind9-bugs@bugs.isc.org Subject: bogus "file not found" error from dnssec-dsfromkey User-Agent: Alpine 2.00 (LSU 1167 2008-08-23) Return-Path: X-Original-To: bind9-bugs@bugs.isc.org Sender: Tony Finch Date: Fri, 16 Jul 2010 18:30:39 +0100 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mx.pao1.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: US-ASCII Content-Length: 1362 dnssec-dsfromkey incorrectly reports "file not found" if it is given a filename that doesn't end in .key: $ dig +noall +answer dnskey . >root-dnskey $ dnssec-dsfromkey root-dnskey >root-ds dnssec-dsfromkey: fatal: invalid keyfile name root-dnskey: file not found $ mv root-dnskey root-dnskey.key $ dnssec-dsfromkey root-dnskey.key >root-ds $ dnssec-dsfromkey -? Usage: dnssec-dsfromkey options [-K dir] keyfile dnssec-dsfromkey options [-K dir] [-c class] -s dnsname dnssec-dsfromkey options -f zonefile (as zone name) dnssec-dsfromkey options -f zonefile zonename Version: 9.7.1-P2 Options: -v -K : directory in which to find key file or keyset file -a algorithm: digest algorithm (SHA-1 or SHA-256) -1: use SHA-1 -2: use SHA-256 -l: add lookaside zone and print DLV records -s: read keyset from keyset- file -c class: rdata class for DS set (default: IN) -f file: read keyset from zone file -A: when used with -f, include all keys in DS set, not just KSKs Output: DS or DLV RRs $ Tony. -- f.anthony.n.finch http://dotat.at/ FAIR ISLE FAEROES: CYCLONIC BECOMING SOUTHWESTERLY 5 TO 7, OCCASIONALLY GALE 8 AT FIRST, DECREASING 4 AT TIMES. MODERATE OR ROUGH, OCCASIONALLY VERY ROUGH AT FIRST. RAIN OR SQUALLY SHOWERS. MODERATE, OCCASIONALLY POOR.