If you want to to export dns records to a text,CSV file in Windows 2003/2000 DNS Server follow these steps
This will work mainly win server 2003/2000
Click the start button –> programs –> administrative tools –> DNS.
When the dns control panel opens, click the plus sign beside the server and you should see forward and revers dns zones listed… Likely you want your local zone listed, so open the forward zones, and select the domain for your organization…
Right click the domain for you organization, and you will see a context specific dialogue box open, select “export list…”
Next you will see a dialogue box to save the file. Select the location to save the file, the desktop would be a fine place, type in a name for the file, and below that select the file type you want to export, ie text, csv, or tab delimited. You will probably want to select text, but it depends on what you want to do with the file
This will work win server 2008/2003/2000
You can use dnscmd command to export text file
dnscmd servername /enumrecords zonename @ /type A /detail > c:\filename.txt
detail – Lists all information about the records.
You can use dnscmd command to export csv file
dnscmd /enumrecords zonename @ /Type A /additional > c:\filename.csv
additional – Includes all additional information about the records listed.