Bump auth zone serial when reloading /etc/hosts and friends.

This commit is contained in:
Simon Kelley committed 2016-08-05 16:54:58 +01:00
1 parent 094bfaeb4f
commit c8328ecde8
2 files changed
+6

No files matched your search

+2
View File
@@ -1226,6 +1226,8 @@ static void async_event(int pipe, time_t now)
switch (ev.event)
{
case EVENT_RELOAD:
daemon->soa_sn++; /* Bump zone serial, as it may have changed. */
#ifdef HAVE_DNSSEC
if (daemon->dnssec_no_time_check && option_bool(OPT_DNSSEC_VALID) && option_bool(OPT_DNSSEC_TIME))
{