In message <52a85d1b.2010...@pernau.at>, Klaus Darilion writes: > Hi! > > # named -V > BIND 9.9.3-rl.13204.02-P2 > > I have configured slave zones with inline signing: > > zone "mydomain.at" { > type slave; > file "/etc/bind/mydomain.at"; > masters { 1.2.3.4; }; > key-directory "/etc/bind/keys"; > auto-dnssec maintain; > inline-signing yes; > allow-transfer { 5.6.7.8; }; > also-notify { 5.6.7.8; }; > }; > > > # rndc refresh mydomain.at > rndc: 'refresh' failed: failure > not a slave or stub zone > > > For normal slave zones (unsigned) it works fine. Is this a known bug? > Where can I open a bug report? Any workarounds?
You can report bugs to bind9-b...@isc.org. That being said this one is trivial. diff --git a/bin/named/server.c b/bin/named/server.c index e7ea266..4b634f1 100644 --- a/bin/named/server.c +++ b/bin/named/server.c @@ -6729,7 +6729,7 @@ ns_server_notifycommand(ns_server_t *server, char *args, isc_buffer_t *text) { isc_result_t ns_server_refreshcommand(ns_server_t *server, char *args, isc_buffer_t *text) { isc_result_t result; - dns_zone_t *zone = NULL; + dns_zone_t *zone = NULL, *raw = NULL; const unsigned char msg1[] = "zone refresh queued"; const unsigned char msg2[] = "not a slave or stub zone"; dns_zonetype_t type; @@ -6741,6 +6741,12 @@ ns_server_refreshcommand(ns_server_t *server, char *args, isc_buffer_t *text) { if (zone == NULL) return (ISC_R_UNEXPECTEDEND); + dns_zone_getraw(zone, &raw); + if (raw != NULL) { + dns_zone_detach(&zone); + dns_zone_attach(raw, &zone); + dns_zone_detach(&raw); + } type = dns_zone_gettype(zone); if (type == dns_zone_slave || type == dns_zone_stub) { dns_zone_refresh(zone); > > > Thanks > Klaus > _______________________________________________ > Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe > from this list > > bind-users mailing list > bind-users@lists.isc.org > https://lists.isc.org/mailman/listinfo/bind-users -- Mark Andrews, ISC 1 Seymour St., Dundas Valley, NSW 2117, Australia PHONE: +61 2 9871 4742 INTERNET: ma...@isc.org _______________________________________________ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users