Subject: Re: randomid(3)
To: Jun-ichiro itojun Hagino <itojun@itojun.org>
From: Robert Elz <kre@munnari.OZ.AU>
List: tech-security
Date: 09/12/2003 20:37:25
    Date:        Fri, 12 Sep 2003 05:08:25 +0900 (JST)
    From:        itojun@itojun.org (Jun-ichiro itojun Hagino)
    Message-ID:  <20030911200825.0FAE68C@coconut.itojun.org>

  | 	in bind-9.3.0s20021217, lib/dns/dispatch.c:dns_randomid().

That looks to me to be a part of the nameserver (which in BIND is
also the DNS cache server).    If this gets generated into a stub
resolver anywhere for inclusion into libc, I couldn't work out how.
What's more, all that code in dispatch.c doesn't really look as if
it would be appropriate for libc.

So, does bind9 really have a stub resolver which is producing good random
numbers for the dns query ID, or was that just imagined?

What the cache does is completely irrelevant to this.

kre