From: "Simon Ferrett" X-PHP-Originating-Script: 20001:class-phpmailer.php Return-Path: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RP_MATCHES_RCVD,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.0 From www@isc.org Fri Jun 30 23:52:42 2017 Date: Fri, 30 Jun 2017 23:52:39 +0000 Message-ID: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mx.pao1.isc.org X-Original-To: bind9-bugs@bugs.isc.org Subject: 9.11.1-P2, 9.10.5-P2 - "key" option for also-notify/masters broken when using masters name Delivered-To: bind9-bugs@bugs.isc.org X-RT-Incoming-Encryption: Not encrypted Received: from mx.pao1.isc.org (mx.pao1.isc.org [IPv6:2001:4f8:0:2::2b]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx.pao1.isc.org", Issuer "COMODO RSA Organization Validation Secure Server CA" (not verified)) by bugs.isc.org (Postfix) with ESMTPS id E892BD78ACA for ; Fri, 30 Jun 2017 23:52:41 +0000 (UTC) Received: from iscwebprod.isc.org (iscwebprod.isc.org [IPv6:2001:4f8:1:d::16]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx.pao1.isc.org (Postfix) with ESMTPS id C361B3493D3 for ; Fri, 30 Jun 2017 23:52:39 +0000 (UTC) Received: from www (uid 80) (envelope-from www@iscwebprod.isc.org) id 7b7d08 by iscwebprod.isc.org (DragonFly Mail Agent v0.11); Fri, 30 Jun 2017 23:52:39 +0000 MIME-Version: 1.0 To: bind-bugs@isc.org X-Mailer: PHPMailer 5.2.22 (https://github.com/PHPMailer/PHPMailer) content-type: text/plain; charset="utf-8" X-Wpcf7-Content-Type: text/plain X-RT-Original-Encoding: utf-8 X-RT-Interface: Email Content-Length: 1379 Bug Report from www.isc.org: Name: Simon Ferrett Email: sferrett@slacker.com Software Version: 9.11.1-P2, 9.10.5-P2 OS: linux (centOS 6) Subject:"key" option for also-notify/masters broken when using masters name Bug Detail =========== From the configuration reference: also-notify [ port ip_port] [ dscp ip_dscp] { ( masters | ip_addr [ port ip_port ] ) [ key key_name ] ; ... } ; In my configuration the following works: view test { allow-recursion { any; }; zone "myzone.example" { type master; also-notify { 1.1.1.1 key trusted-key; }; file "trusted/db.myzone.example"; }; }; But the following fails (ie: if I use the name of a masters config rather than an IP address in the also-notify section): masters mlist { 1.1.1.1; }; view test { allow-recursion { any; }; zone "myzone.example" { type master; also-notify { mlist key trusted-key; }; file "trusted/db.myzone.example"; }; }; 30-Jun-2017 16:43:59.070 /home/dns-master/data/conf/qs.conf:12: unexpected token 'trusted-key' The failing config works with version 9.10.3-P2 however... so when I upgraded my configs that were using masters by name and tsig keys (in "also-notify" and "masters" zone options) began failing with "unexpected token" Thanks- Simon. --- This email was received through isc.org Bug Submission Form