Root and Forwarders Servers
Mark.Andrews at nominum.com
Mark.Andrews at nominum.com
Wed May 31 00:27:02 UTC 2000
> Mark,
> I am having the same problem as discused below, how can I edit the code
> to fix this issue.
Well you have the filename, the function, the old code and the
replacement code below. I know Linux ships with editors.
I would expect that you would choose an editor, open the file
up. Find the function and hence the appropriate lines to change.
Edit them. Write the file. Next I would compile the distribution.
Mark
> The version of BIND I have installed is 8.2.2P5 on a
> Redhat Linux 6.2 box.
>
> In article <200005300722.RAA13342 at bsdi.dv.isc.org>,
> Mark.Andrews at nominum.com wrote:
> >
> > The following bug is biting you. From the 8.2.3 change list.
> >
> > 910. [bug] address-sorting logic was exiting early.
> >
> > In src/bin/named/ns_forw.c: nslookup change
> >
> > if (n > 1) {
> > qsort((char *)qp->q_addr, n, sizeof(struct qserv),
> > (int (*)(const void *, const void *))qcomp);
> > }
> >
> > to
> >
> > /* Just sort the NS RR's we added, since the forwarders may
> > * be ahead of us (naddr > 0)
> > */
> > if (n > naddr) {
> > qsort((char *)(qp->q_addr+naddr), n-naddr, sizeof
> (struct qserv),
> > (int (*)(const void *, const void *))qcomp);
> > }
> >
> > This will work around the problem in qcomp.
> >
> > Mark
> >
--
Mark Andrews, Nominum Inc.
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: Mark.Andrews at nominum.com
More information about the bind-users
mailing list