diff --git a/source4/dns_server/dnsserver_common.c b/source4/dns_server/dnsserver_common.c index ad91f96340a..fbe39d99bf0 100644 --- a/source4/dns_server/dnsserver_common.c +++ b/source4/dns_server/dnsserver_common.c @@ -1034,6 +1034,11 @@ WERROR dns_common_replace(struct ldb_context *samdb, * record. */ if (records[i].data.EntombedTime != 0) { + if (rec_count != 1) { + DBG_ERR("tombstone record has %u neighbour " + "records.\n", + rec_count - 1); + } was_tombstoned = true; } continue;