Using a dos batch file, in windows XP, I want to save each Record Name and A (Host) Record from ipconfig /displaydns to a text file.
Instead of
www.netword.com
----------------------------------------
Record Name . . . . . : www.netword.com
Record Type . . . . . : 1
Time To Live . . . . : 586924
Data Length . . . . . : 4
Section . . . . . . . : Answer
A (Host) Record . . . : 127.0.0.1
I want it to show like this
----------------------------------------
Record Name . . . . . : www.netword.com
A (Host) Record . . . : 127.0.0.1
I want it to do this for each site in the ipconfig listing and save the results to a text (*.txt) file.
Thanks.