$ dns-zone-recovery

DNS Zone Recovery Tool

Probes live DNS for a domain's existing records and reconstructs an RFC1035 zone file which is useful for migrating or rebuilding a zone you've lost the source for.

Controls which NS records appear in the generated zone file. Use discovered NS records fills them in from live DNS, the right choice if the domain is already active. Choose a specific provider if you are migrating to a new DNS host and want the zone file pre-populated with that provider's nameservers, ready to import.