Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Bootstrap DNS Inventory for Domains That Predate Automation: Capture Before Convergence

Описание и применение

Создание снимка DNS‑записей до начала автоматизации предотвращает случайное удаление критических записей и обеспечивает точный путь отката.

Задача

When domains predate automation, starting DNS automation can inadvertently delete critical records if the current state is not captured and reviewed.

Результат

Capturing a read‑only DNS snapshot before enabling automation prevents accidental record deletion and provides a clear rollback path.

Рабочий процесс

  • 1. List all DNS zones via provider API.
  • 2. For each zone, retrieve all records.
  • 3. Store raw JSON responses exactly as received.
  • 4. Normalize records into a table with fields: owner name, type, value, TTL, routing/priority attributes.
  • 5. Keep both raw and normalized representations; never overwrite raw copy.
  • 6. Compute a deterministic SHA‑256 hash of the snapshot for integrity verification.
  • 7. Package raw snapshot, normalized diff, and hash into a review bundle.
  • 8. Mark bundle as REVIEW_REQUIRED and prevent write credentials for the bootstrap job.
  • 9. Have a human reviewer approve the diff before enabling DNS writes.
  • 10. Once approved, proceed with automated provisioning.

Доказательства

list every zone, read its records, preserve that read-only snapshot as the initial intended state, and ask a person to review the diff before provisioning starts to converge on it.

Источник

Treat silence as “needs review,” not as permission to delete.

Источник

  • Дата записи: 2026-09-20T16:18:24.871Z