[nsd-users] [feature request] output nsd-control stats RRs alphabetically ?

W.C.A. Wijngaards wouter at nlnetlabs.nl
Wed Jul 30 12:21:49 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Shmick,

On 07/30/2014 02:15 PM, shmick at riseup.net wrote:
>> So, I think it would be better to have sorting in 'sort', and
>> not implement it in nsd-control (and nsd).
> 
> what were the original decision making processes based upon that
> gave rise to the current sorting method of the RRs ?

Well, it is a copy of the unbound functionality, and follows the same
sorting in parts.  That has similar data printed together (that makes
it grouped in the code as its source is often also from a similar data
structure).  The rr-type data is printed by the RR type number
ascending (because that is what the array is indexed with).
Similarly for RCODEs, RRclasses and so on, by ascending number.

Best regards,
   Wouter

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJT2ONdAAoJEJ9vHC1+BF+N14oQAIDfSFQjw/g1mHwnD2Iyv9R7
/kEbuwfzFGUwejydOlA8HNP9cB+ddOrRF5vBYCenkdq5p5ZsAQPIxuW+UsrivY6P
bOzgGzGZyTakGPK6QQk66r8lVroPtWlWGAjNAX+vC0uKhyisgvq0T0vz84I/IDC4
2oGXbDH9i4QuxPxCYjcE7hA3Yg+gaLsotM85iC0QNPvu9HGJ6t9+MBh62tm/mlmo
URkDw3ARGkEnjTH/R4XXAk44C2s3Ux/Jz7sTSpJf7hYrdi+B7T6ryosoa+zCndwt
HB5I/siUQ2eKQSpf22X1HHvMR7A79qL/H5ZMeHTL+QdJhdbKcS0Kri/rlQLDeleh
91GwZKS/QZXISg3m1L4UlImahjZfZO1UzFhDpwOPL27yrc9LlfRagU4YqeNla/VC
ZtY0TwkvXUg3o9c0cTYggEQ0GMFXL0dRp8WZX84/uzcnd1SoEhuMJg+60AlAtCXD
0pbUIdikKguw1KHP56x1TrUHvmTJojaIR3QqBqEgIUqynAcx72E+E1fTUMdvjKsG
QN5itMsfIvn7hF1hYmTdpTMWMyR+COSyySjm5MvPa1jgSEOXG5uclrpv7Z1P7el2
C8yXLhbwXV+/l01jHG21w7dl1ktI2lwRH4hp98Ao4+hj11UIF4GVbzO4GCOouLSo
k72TKaaHGBP6Wg9VIvc3
=8pgE
-----END PGP SIGNATURE-----



More information about the nsd-users mailing list