From owner-freebsd-questions@freebsd.org Thu Apr 11 15:57:23 2019 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 62A1F1587B12 for ; Thu, 11 Apr 2019 15:57:23 +0000 (UTC) (envelope-from byrnejb@harte-lyne.ca) Received: from mx32.harte-lyne.ca (mx32.harte-lyne.ca [216.185.71.32]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx32.harte-lyne.ca", Issuer "CA_HLL_ISSUER_2016" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id BE8896CC01 for ; Thu, 11 Apr 2019 15:57:12 +0000 (UTC) (envelope-from byrnejb@harte-lyne.ca) Received: from mx32.harte-lyne.ca (unknown [127.0.32.1]) by mx32.harte-lyne.ca (Postfix) with ESMTP id 21F8D14B08 for ; Thu, 11 Apr 2019 11:57:05 -0400 (EDT) X-Virus-Scanned: amavisd-new at harte-lyne.ca Received: from mx32.harte-lyne.ca ([127.0.32.1]) by mx32.harte-lyne.ca (mx32.harte-lyne.ca [127.0.32.1]) (amavisd-new, port 10024) with ESMTP id UpfOpttI_3MH for ; Thu, 11 Apr 2019 11:57:02 -0400 (EDT) Received: from webmail.harte-lyne.ca (webmail.hamilton.harte-lyne.ca [216.185.71.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx32.harte-lyne.ca (Postfix) with ESMTPSA id 4DF6014AF6 for ; Thu, 11 Apr 2019 11:57:02 -0400 (EDT) Received: from 216.185.71.44 (SquirrelMail authenticated user byrnejb_hll) by webmail.harte-lyne.ca with HTTP; Thu, 11 Apr 2019 11:57:02 -0400 Message-ID: <4e016c879f783ffda0993eed80293863.squirrel@webmail.harte-lyne.ca> Date: Thu, 11 Apr 2019 11:57:02 -0400 Subject: DNSSEC signatures From: "James B. Byrne" To: freebsd-questions@freebsd.org Reply-To: byrnejb@harte-lyne.ca User-Agent: SquirrelMail/1.4.23 [SVN] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Rspamd-Queue-Id: BE8896CC01 X-Spamd-Bar: -------- X-Spamd-Result: default: False [-8.47 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[byrnejb@harte-lyne.ca]; RBL_COMPOSITE_RCVD_IN_DNSWL_MED_DWL_DNSWL_LOW(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:216.185.71.0/26]; TO_DN_NONE(0.00)[]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; REPLYTO_ADDR_EQ_FROM(0.00)[]; DKIM_TRACE(0.00)[harte-lyne.ca:+]; RCVD_IN_DNSWL_MED(-0.20)[32.71.185.216.list.dnswl.org : 127.0.4.2]; HAS_X_PRIO_THREE(0.00)[3]; MX_GOOD(-0.01)[mx32.harte-lyne.ca,mx31.harte-lyne.ca,mx132.harte-lyne.ca]; DMARC_POLICY_ALLOW(-0.50)[harte-lyne.ca,quarantine]; NEURAL_HAM_SHORT(-0.98)[-0.980,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:12021, ipnet:216.185.64.0/20, country:CA]; IP_SCORE(-3.78)[ip: (-9.90), ipnet: 216.185.64.0/20(-4.94), asn: 12021(-3.96), country: CA(-0.09)]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[harte-lyne.ca:s=dkim_hll]; RCVD_COUNT_FIVE(0.00)[5]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; DWL_DNSWL_LOW(0.00)[harte-lyne.ca.dwl.dnswl.org : 127.0.4.1] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Apr 2019 15:57:23 -0000 We run Bind-9.11.6 on FreeBSD-12 as a hidden server. We have DNSSEC enabled for some of our domains. When we moved our zone files to a FreeBSD host with bind-9.11 we set the zone configuration file to auto maintain and to use inline signing for these zones. zone "example.com" { type master; file "/usr/local/etc/namedb/master/example.com.hosts"; auto-dnssec maintain; inline-signing yes; }; The files in "/usr/local/etc/namedb/master/" relating to this are: -rw-r--r-- 1 bind bind 479 Feb 19 21:17 Kexample.com.+008+34923.key -rw------- 1 bind bind 1200 Feb 19 21:17 Kexample.com.+008+34923.private -rw-r--r-- 1 bind bind 609 Mar 12 12:59 Kexample.com.+008+37852.key -rw------- 1 bind bind 1776 Mar 12 12:59 Kexample.com.+008+37852.private -rw-r--r-- 1 bind bind 479 Mar 12 12:59 Kexample.com.+008+55431.key -rw------- 1 bind bind 1200 Mar 12 12:59 Kexample.com.+008+55431.private -rw-r--r-- 1 bind bind 171 Mar 12 12:59 dsset-example.com. -rw-r--r-- 1 bind bind 1138275 Mar 12 12:59 example.com.hosts -rw-r--r-- 1 bind bind 512 Mar 22 17:28 example.com.hosts.jbk -rw-r--r-- 1 bind bind 1230649 Apr 3 08:51 example.com.hosts.signed -rw-r--r-- 1 bind bind 4268062 Apr 10 18:57 example.com.hosts.signed.jnl When I run named-checkconfig I get this: named-checkzone -j example.com /usr/local/etc/namedb/master/example.com.hosts /usr/local/etc/namedb/master/example.com.hosts:389: TTL set to prior TTL (300) /usr/local/etc/namedb/master/example.com.hosts:2014: signature has expired zone example.com/IN: brockley-2016.example.com/NS 'samba-67.brockley-2016.example.com' (out of zone) has no addresses records (A or AAAA) zone example.com/IN: brockley-2016.example.com/NS 'samba-68.brockley-2016.example.com' (out of zone) has no addresses records (A or AAAA) zone example.com/IN: brockley-2016.example.com/NS 'samba-69.brockley-2016.example.com' (out of zone) has no addresses records (A or AAAA) zone example.com/IN: loaded serial 2019030501 (DNSSEC signed) There are no other problems with these zones, yet. Does anyone know what steps that I have not taken that are required to get automatic inline zone resigning to work? Thanks -- *** e-Mail is NOT a SECURE channel *** Do NOT transmit sensitive data via e-Mail Do NOT open attachments nor follow links sent by e-Mail James B. Byrne mailto:ByrneJB@Harte-Lyne.ca Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3