Export public DNS zone file to txt file

This topic contains 1 reply, has 2 voices, and was last updated by Profile photo of Don Jones Don Jones 6 months, 2 weeks ago.

  • Author
    Posts
  • #39262
    Profile photo of Peter Foote
    Peter Foote
    Participant

    I'm wanting to export the zone file at my old DNS registrar, so I can then easily rekey the info into my new registrar. When I spoke to their support people, they said I have to manually retype it, but given I've got dozens of records, I would prefer not to. I tried to use dnscmd but got error "RPC_S_SERVER_UNAVAILABLE 1722 0x6BA".

    Any suggestions?

    Thanks
    Pete

  • #39468
    Profile photo of Don Jones
    Don Jones
    Keymaster

    Dnscmd only runs against a local Microsoft DNS server. If your registrar doesn't provide an export mechanism, then there's not really anything you can do programmatically. You can _try_ running Nslookup and pulling all the records from the zone, but they may disallow that.

You must be logged in to reply to this topic.