Skip to main content

Module sync

Module sync 

Source
Expand description

Record-level sync between two configured DNS servers.

dns sync reads records from a source server, optionally rewrites IP addresses on A/AAAA records (e.g. external → internal), and writes the difference to a destination server. It is vendor-neutral: it goes through the shared core::dns traits, so any pair of supported vendors can sync.

Sync is additive — it adds records the destination is missing and updates record sets whose values differ, but never prunes whole names that exist only on the destination. It is dry-run by default; --apply commits the changes.

Functions§

run_sync
Run a record sync.