Blame bind97-managed-keyfile.patch
|
Adam Tkac |
34adbe |
diff -up bind-9.7.0rc2/bin/named/server.c.managed-keyfile bind-9.7.0rc2/bin/named/server.c
|
|
Adam Tkac |
34adbe |
--- bind-9.7.0rc2/bin/named/server.c.managed-keyfile 2010-02-15 16:17:26.051369348 +0100
|
|
Adam Tkac |
34adbe |
+++ bind-9.7.0rc2/bin/named/server.c 2010-02-15 16:24:16.408368990 +0100
|
|
Adam Tkac |
34adbe |
@@ -3020,6 +3020,7 @@ configure_zone(const cfg_obj_t *config,
|
|
Adam Tkac |
34adbe |
*/
|
|
Adam Tkac |
34adbe |
|
|
Adam Tkac |
34adbe |
#define KEYZONE "managed-keys.bind"
|
|
Adam Tkac |
34adbe |
+#define KEYFILE "dynamic/managed-keys.bind"
|
|
Adam Tkac |
34adbe |
|
|
Adam Tkac |
34adbe |
static isc_result_t
|
|
Adam Tkac |
34adbe |
add_keydata_zone(dns_view_t *view, isc_mem_t *mctx) {
|
|
Adam Tkac |
34adbe |
@@ -3040,7 +3041,7 @@ add_keydata_zone(dns_view_t *view, isc_m
|
|
Adam Tkac |
34adbe |
CHECK(dns_zone_setorigin(zone, &zname));
|
|
Adam Tkac |
34adbe |
dns_name_free(&zname, mctx);
|
|
Adam Tkac |
34adbe |
|
|
Adam Tkac |
34adbe |
- CHECK(dns_zone_setfile(zone, KEYZONE));
|
|
Adam Tkac |
34adbe |
+ CHECK(dns_zone_setfile(zone, KEYFILE));
|
|
Adam Tkac |
34adbe |
|
|
Adam Tkac |
34adbe |
if (view->hints == NULL)
|
|
Adam Tkac |
34adbe |
dns_view_sethints(view, ns_g_server->in_roothints);
|