0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark AndrewsCopyright (C) 2011, 2016 Internet Systems Consortium, Inc. ("ISC")
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark AndrewsThis Source Code Form is subject to the terms of the Mozilla Public
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark AndrewsLicense, v. 2.0. If a copy of the MPL was not distributed with this
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrewsfile, You can obtain one at http://mozilla.org/MPL/2.0/.
7e9d7c58afaa1f10705de3697f9885b68a74a994Automatic Updater
7e9d7c58afaa1f10705de3697f9885b68a74a994Automatic Updater$Id: keydone,v 1.2 2011/10/19 23:46:56 tbox Exp $
b9abd7863696ec53c12b9620d02c52b5683cbcc0Mark Andrews
b9abd7863696ec53c12b9620d02c52b5683cbcc0Mark Andrews rndc keydone <rdata> zone [class [view]]
b9abd7863696ec53c12b9620d02c52b5683cbcc0Mark Andrews
b9abd7863696ec53c12b9620d02c52b5683cbcc0Mark Andrews e.g.
b9abd7863696ec53c12b9620d02c52b5683cbcc0Mark Andrews rndc keydone 0549E00001 example
b9abd7863696ec53c12b9620d02c52b5683cbcc0Mark Andrews
b9abd7863696ec53c12b9620d02c52b5683cbcc0Mark Andrews Last 4 characters need to be 0001 (00=no flags, 01=done)
b9abd7863696ec53c12b9620d02c52b5683cbcc0Mark Andrews First 2 characters (algorithm) not 00 (algorithm 0 which
b9abd7863696ec53c12b9620d02c52b5683cbcc0Mark Andrews is reserved, 00 => NSEC3PARAMETERS are encoded in the record)
b9abd7863696ec53c12b9620d02c52b5683cbcc0Mark Andrews All hexadecimal case insensitive. length 10.
b9abd7863696ec53c12b9620d02c52b5683cbcc0Mark Andrews Err: DNS_R_SYNTAX
b9abd7863696ec53c12b9620d02c52b5683cbcc0Mark Andrews
b9abd7863696ec53c12b9620d02c52b5683cbcc0Mark Andrews The control code will select the zone based on 'zone [class
b9abd7863696ec53c12b9620d02c52b5683cbcc0Mark Andrews [view]]'.
b9abd7863696ec53c12b9620d02c52b5683cbcc0Mark Andrews Err: DNS_R_NOTFOUND
b9abd7863696ec53c12b9620d02c52b5683cbcc0Mark Andrews
b9abd7863696ec53c12b9620d02c52b5683cbcc0Mark Andrews zone must be a master (signed inline == master) or normal
b9abd7863696ec53c12b9620d02c52b5683cbcc0Mark Andrews dynamic zone.
b9abd7863696ec53c12b9620d02c52b5683cbcc0Mark Andrews Err: DNS_R_NOTMASTER
b9abd7863696ec53c12b9620d02c52b5683cbcc0Mark Andrews
b9abd7863696ec53c12b9620d02c52b5683cbcc0Mark Andrews dns_zone_<something>(zone, text) which will send a event
b9abd7863696ec53c12b9620d02c52b5683cbcc0Mark Andrews to the zone so that the deletion gets run in the zone's
b9abd7863696ec53c12b9620d02c52b5683cbcc0Mark Andrews task. The event handler will delete the record, update the
b9abd7863696ec53c12b9620d02c52b5683cbcc0Mark Andrews SOA and write out the journal.
b9abd7863696ec53c12b9620d02c52b5683cbcc0Mark Andrews Err: ISC_R_NOMEMORY
b9abd7863696ec53c12b9620d02c52b5683cbcc0Mark Andrews
b9abd7863696ec53c12b9620d02c52b5683cbcc0Mark Andrews 'zone' can refer to a normal dynamic master zone or a inline
b9abd7863696ec53c12b9620d02c52b5683cbcc0Mark Andrews zone.
b9abd7863696ec53c12b9620d02c52b5683cbcc0Mark Andrews