事件類型: 警告
事件來源: DNS
事件 ID: 4521
描述: DNS 服務器嘗試從 Active Directory 載入區域時遇到錯誤 9002。
DNS 服務器將在下一個超時週期重試。可能由 AD 負載過高導致,屬暫時性情況。
DNS_ERROR_ZONE_DOES_NOT_EXIST (9002):DNS 服務嘗試從 AD 載入區域,但 AD 分割區 (DomainDnsZones / ForestDnsZones) 中找不到對應的區域物件。常見於:
net stop dns && net start dns參考微軟 KB 867464:
adsiedit.msc_msdcs、TrustAnchors 等林級區域。複寫至林中所有 DC/DNSCN=MicrosoftDNS,DC=DomainDnsZones,DC=contoso,DC=comcontoso.com, _msdcs.contoso.com)MicrosoftDNS →「新增」→「容器」→ 名稱 = 區域名 (如 contoso.com)dnsZoneType、dnsAllowUpdate 等 (參考正常 DC)ForestDnsZones 同理處理 _msdcs 區域repadmin /syncall /AdeP 強制複寫若分割區本身損壞,需重建:
# 在 DC 上執行
dnscmd /CreateDirectoryPartition ForestDnsZones
dnscmd /CreateDirectoryPartition DomainDnsZones
# 或使用 NTDSUTIL
ntdsutil
partition management
connections
connect to server DC2
quit
create nc ForestDnsZones contoso.com
create nc DomainDnsZones contoso.com
quit
quit
參考:Create Default DNS Application Directory Partitions
DomainDnsZonesCN=MicrosoftDNS,DC=DomainDnsZones,...Enterprise Domain Controllers、DNS Servers 群組擁有「讀取」、「寫入」、「建立子物件」權限| 模式 | 資料來源 | 適用場景 | 優點 | 缺點 |
|---|---|---|---|---|
| 從 Active Directory | AD 分割區 (DomainDnsZones/ForestDnsZones) | AD 整合區域、多 DC 環境 | 自動複寫、安全動態更新、單點管理 | 依賴 AD 複寫健康、啟動較慢 |
| 從登錄 | HKLM\SYSTEM\CurrentControlSet\Services\DNS\Parameters\Zones | 檔案區域、單一 DNS、故障排除 | 啟動快、不依賴 AD、適合修復 | 無自動複寫、手動同步、無安全動態更新 |
| 從檔案 | %systemroot%\system32\dns\*.dns | 傳統檔案區域、非 AD 環境 | 可攜性強、易備份編輯 | 無複寫、手動管理、易衝突 |
dnscmd /zoneexport contoso.com contoso.com.bakrepadmin /replsum、事件 ID 2087/2088