TechnitiumSoftware / DnsServer

Technitium DNS Server
https://technitium.com/dns/
GNU General Public License v3.0
4.25k stars 418 forks source link

Feature Request - Promote seconday zone to primary #306

Closed blaxer closed 2 years ago

blaxer commented 3 years ago

It is a trick I use more times than I would care to admit but when changing to a new DNS server I will do a zone transfer to the new server as a secondary zone then promote it to primary then decom the original servers. I'm sure I could do this by editing the config files in Technitium but would be nice to have the option in the GUI.

ShreyasZare commented 3 years ago

Thanks for the request. There is even better option to do that with Technitium DNS server.

Just use the built-in DNS client tab, enter the primary name server as the server, enter the domain name, select type as AXFR, and hit import. The primary zone will be created with all records.

Shreyas Zare Technitium

On Mon, Sep 6, 2021, 20:28 blaxer @.***> wrote:

It is a trick I use more times than I would care to admit but when changing to a new DNS server I will do a zone transfer to the new server as a secondary zone then promote it to primary then decom the original servers. I'm sure I could do this by editing the config files in Technitium but would be nice to have the option in the GUI.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/TechnitiumSoftware/DnsServer/issues/306, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACMLM3F2RFNPAECM7TA3LDLUATJIBANCNFSM5DQT4C5A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

blaxer commented 3 years ago

Wow that was easy and worked perfectly thank you! Quick question though, what format are the zone files in?

ShreyasZare commented 3 years ago

The zone files are in binary format. All records are serialized in wire format in the file.

ShreyasZare commented 2 years ago

Closing this issue since there is a workaround available.