Skip to content
Snippets Groups Projects
Commit 60ecd13b authored by Jan Včelák's avatar Jan Včelák :rocket:
Browse files

server: fix DNSSEC scheduling on zone load

parent 1c6e101e
No related branches found
No related tags found
1 merge request!547NSEC3 resalt
......@@ -35,7 +35,7 @@
* function. This would require to split refresh event to zone load and zone
* publishing.
*/
static void schedule_dnssec(zone_t *zone, time_t refresh_at)
void schedule_dnssec(zone_t *zone, time_t refresh_at)
{
// log a message
......
......@@ -19,6 +19,7 @@
#include "knot/common/log.h"
#include "knot/conf/conf.h"
#include "knot/events/handlers.h"
#include "knot/zone/zone-load.h"
#include "knot/zone/zone.h"
#include "knot/zone/zonefile.h"
......@@ -102,7 +103,7 @@ int event_load(conf_t *conf, zone_t *zone)
/* Schedule zone resign. */
conf_val_t val = conf_zone_get(conf, C_DNSSEC_SIGNING, zone->name);
if (conf_bool(&val)) {
//schedule_dnssec(zone, dnssec_refresh);
schedule_dnssec(zone, dnssec_refresh);
}
/* Periodic execution. */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment