" at the > prompt in nslookup.]
> ls -t groceryshoppin.com > gr.txt
[wormy.groceryshoppin.com]
Received 7 records.
> exit
D:\>type gr.txt
> ls -t groceryshoppin.com
[wormy.groceryshoppin.com]
groceryshoppin.com.
NS
server = wormy.groceryshoppin.com
pooldog
A
10.50.100.22
wormy
A
10.50.100.25
brucelee
A
10.50.100.3
u-1
A
10.50.100.1
D:\>type gr.txt | sort /+2 > grsrt.txt
D:\>type grsrt.txt
> ls -t groceryshoppin.com
brucelee
A
10.50.100.3
u-1
A
10.50.100.1
groceryshoppin.com.
NS
server = wormy.groceryshoppin.com
pooldog
A
10.50.100.22
wormy
A
10.50.100.25
[wormy.groceryshoppin.com]
D:\>type gr.txt | sort /+40 > grsrt.txt
D:\>type grsrt.txt
[wormy.groceryshoppin.com]
> ls -t groceryshoppin.com
u-1
A
10.50.100.1
pooldog
A
10.50.100.22
wormy
A
10.50.100.25
brucelee
A
10.50.100.3
groceryshoppin.com.
NS
server = wormy.groceryshoppin.com
D:\>
Note that the listing sorted by IP address has the typical alphanumeric
sort problem where .11 will come before .2. I'm sure there are more
elegant ways to do this, but this is simple, generic, and works out of the
box.