Anyone written a "sorting utility"?

Danny Mayer mayer at gis.net
Wed Jul 10 04:01:14 UTC 2002


At 03:02 PM 7/9/02, HURT, CHRIS [AG-Contractor/1000] wrote:

>Hi all;
>
>I have a forward mapping zone file of about 60,000 records which I'd like to
>make human readable again!  I'd like a utility to sort by type (NS, MX, A,
>CNAME) and then by (depending on type of course) IP address (in numerical IP
>order 10.1.1.1, 10.1.1.2, 10.1.1.3, etc), OR by name (for CNAME, MX and NS
>RRs).  Before I go and write a utility to do this - has anyone already done
>it that would be willing to share?
>
>Thanks,
>Chris

dig axfr zonename

does a nice job of putting it out in nice columns. After that a regular
sort utility will sort by column.

Danny



More information about the bind-users mailing list