(zone->type == dns_zone_redirect && zone->masters != NULL))
return (ISC_TRUE);
+ /* Inline zones are always dynamic. */
+ if (zone->type == dns_zone_master && zone->raw != NULL)
+ return (ISC_TRUE);
+
/* If !ignore_freeze, we need check whether updates are disabled. */
if (zone->type == dns_zone_master &&
(!zone->update_disabled || ignore_freeze) &&
* zone being reloaded. Do nothing - the database
* we already have is guaranteed to be up-to-date.
*/
- if (zone->type == dns_zone_master)
+ if (zone->type == dns_zone_master && !hasraw)
result = DNS_R_DYNAMIC;
else
result = ISC_R_SUCCESS;
goto cleanup;
}
-
/*
* If the file modification time is in the past
* set loadtime to that value.
isc_uint32_t serialmin, serialmax;
INSIST(zone->type == dns_zone_master);
+ INSIST(zone->raw == NULL);
if (serial == oldserial &&
zone_unchanged(zone->db, db, zone->mctx)) {