Migrar dns 2003 server

De 33system wiki
Saltar a: navegación, buscar

<< Informatica

Migrar dns 2003 server a otro 2003

Teoría

Default How to export / import Windows server 2003 DNS zones DNS on Windows Server 2003 is stored in both registry and disk files. By transferring the registry and disk files you can skip retyping everything

Práctica

Export DNS Info

  • Use REGEDIT and navigate to: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DNS Server\Zones
  • Right-Click the key ZONES and export to a .reg file.
    • Alternatively, use command line:
      regedit /e c:\dns.reg "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DNS Server"
  • Copy *.dns from: %windir%\system32\dns
  • Each domain has a .DNS file, but you should skip cache.dns as this contains cached DNS lookups.


Import DNS

To import on Server 2003 or Server 2008, first create a test zone such as testdomain.com. The DNS server needs one zone created, but you can remove it after the import.

  • Copy the .DNS files into %windir%\system32\dns on the new server.
  • Next double click on the .REG file you created to load all the zones into the new server's registry.
  • Finally, restart the service DNS Server , and open the DNS manager. You should see all your domains listed with all the records loaded.

Documentación