2007/04/12

Экспорт/импорт DNS-службы в Windows 2000/2003

Dumpdns - отличный скрипт [16Kb], помогающий выполнить экспорт/импорт существующего DNS-сервиса (всей конфигурации, всех существующих зон, даже тех, что Active Directory-Integrated), функционирующего в Windows 2000/2003. Отлично помогает при переносе сервера на другое железо.
SYNTAX - DNSdump [IMPORT|EXPORT] [data directory] [optional install root]

* [IMPORT] imports a previously dumped DNS service configuration
* [EXPORT] exports the current DNS service configuration
* [data directory] is a local, writable directory path
* [install root] is the local absolute path used by the DNS service

* DNSdump requires -
- administrative permission
- local execution on the DNS server
- Windows 2000 or an uplevel operating system

* DNSdump provides import and export of -
- DNS service configuration
- Active Directory integrated zones
- standard zone files

* IMPORTANT NOTES -
- existing Active Directory zone content will NOT be overwritten during IMPORT
- DNS service and zone configuration WILL be overwritten during IMPORT
- zone files WILL be overwritten during IMPORT
- registry keys are purged prior to IMPORT

DNSdump - Ready to proceed, configuration as follows -

* Security context is "JSIINC\Jerry"
* Active Directory distinguished name is "DC=JSIINC,DC=COM"
* Mode of operation is "EXPORT"
* DNS installation root is "C:\WINDOWS\System32\DNS"
* Data directory is "d:\dnsdump"

STATUS - Processing the following tasks ...

- exporting registry keys
- backing up DNS files from "C:\WINDOWS\System32\DNS"
- exporting Active Directory integrated Zones
- preparing exported data for future import

1 comment:

TRSteep said...

Жалко я уже руками перенес :)