> those things combined mean that you get 15 bits of randomness > from query id and 15 from source port, giving 30 bits, > so ndb/dns is okay (for now).
why only 15 in the query id? that's an artifact of rand() which returns 0 ≤ n ≤ 0x7fff. why not return numbers between 0 and 0xffff? - erik