Windows DNS Server Backup & Restore

      Yorum yok Windows DNS Server Backup & Restore

Bu test itmakale.com.tr  Zone’u içindir.

DNS BACKUP

dnscmd  /zoneexport itmakale.com.tr backup\itmakale.com.tr.dns.bak

komutu çalışıtırıldığında

 %systemroot%\system32

dns altında backup klasörünün altına itmakale.com.tr.dns.bak dosyası oluşturur.
Oluşturulan dosya bir kez oluşur eğer silinmezse o dosya tekrar oluşturulmaz.

DNS RECOVERY

itmakale.com.tr zonu silinir.

 dnscmd  /zoneadd itmakale.com.tr /primary /file  backup\itmakale.com.tr.dns.bak /load
 komutu ile backup geri dönülür.
 dnscmd /zoneresettype itmakale.com.tr /dsprimary
 dnscmd /config itmakale.com.tr /allowupdate 2

Belirtilen komutlar ile dns özellikleri düzenlenir ve geri dönüş işlemi tamamlanır.

DNS’te Kullanılabilecek Toplu Komutlar

dnscmd dnsserver1 /zoneadd itmakale.com.tr /Primary
 dnscmd /recordadd itmakale.com.tr service1 A xxxx.xxxx.xxxx.xxxx
 dnscmd /recordadd itmakale.com.tr www A xxxx.xxxx.xxxx.xxxx
 dnscmd /recordadd itmakale.com.tr test1 A xxxx.xxxx.xxxx.xxxx

DNS Dump Script’ini Kullanarak Tüm DNS Zone’larının Yedeği Alınabilir.

DNS Dump V.2.0.3 Download

https://mxtoolbox.com/

Bir cevap yazın

E-posta hesabınız yayımlanmayacak. Gerekli alanlar * ile işaretlenmişlerdir

This site uses Akismet to reduce spam. Learn how your comment data is processed.