BIND - sorting of reverse domain.

Kevin Darcy kcd at daimlerchrysler.com
Tue Jul 2 22:00:04 UTC 2002


"D. Stussy" wrote:

> It appears that BIND (I have version 9.2.1) sorts all its domain entries in the
> files it stores alphabetically ("machine sort order").  That's fine for the
> forward domain file where domain/hostnames are usually alphabetic.  However,
> for the reverse domain file, it makes more sense to sort it in NUMERICAL value
> order, thus keeping adjacent IP addresses nearer to each other.  (Of course, I
> don't care what named does internally with the zone as a memory image ....)
>
> 0       IN PTR ...
> 1       IN PTR ...
> 100     IN PTR ...
> .....
> 109     IN PTR ...
> 11      IN PTR ...
> 110     IN PTR ...
>
> Isn't very intuitive as for sorting a reverse file.  I'm thinking of this from
> the point of human readable IP management.
>
> Comments?

Sorting is the function of a GUI or some other interface between the raw zone data
and a human being. I think it's a little much to ask a nameserver to expend code
and CPU resources dealing with something so trivial.


- Kevin





More information about the bind-users mailing list