(maybe tech-net is better...)
NetBSD tree has two separate version of BIND in the tree, like:
- BIND4-based resolver in libc/libresolv, and
- BIND8-based userland tools in usr.sbin/bind
(correct me if I'm wrong)
They has to be, at least, in sync for less confusions.
I introduced some workaround like below, but I think this is not the
right way. There are IPv6 related mods which adds more confusion:-)
As I'm not familiar with BIND import into NetBSD, and I saw the
following in doc/3RDPARTY, I added explicit To: lines.
> Package: bind/named
> Version: 4.9.7-TB1
> Current Vers: 4.9.7 / 8.1.2
> Maintainer: Paul Vixie <vixie@vix.com>
> Archive Site: ftp.vix.com:/pub/bind
> Mailing List:
> Responsible: mrg, vixie
> Notes:
> mostly imported with cvs import. Makefile's, etc, are not.
- is there any plan for update by you, or can I do the update?
- is there big reason to stick to 4.9.7-TB1?
(I do not want to break other people's build by this...)
itojun
------- Forwarded Message
by coconut.itojun.org (8.9.3+3.2W/3.7W) with SMTP id VAA26437
for <itojun@itojun.org>; Sat, 7 Aug 1999 21:40:40 +0900 (JST)
by redmail.netbsd.org with SMTP; 7 Aug 1999 12:40:08 -0000
by nb00.nas.nasa.gov (8.8.8/8.8.8) id FAA29032;
Sat, 7 Aug 1999 05:40:07 -0700 (PDT)
Date: Sat, 7 Aug 1999 05:40:07 -0700 (PDT)
From: Jun-ichiro itojun Hagino <itojun@netbsd.org>
Message-Id: <199908071240.FAA29032@nb00.nas.nasa.gov>
Subject: CVS commit: basesrc
To: source-changes@netbsd.org
Reply-To: itojun@netbsd.org
Sender: source-changes-owner@netbsd.org
Module Name: basesrc
Committed By: itojun
Date: Sat Aug 7 12:40:07 UTC 1999
Modified Files:
basesrc/usr.sbin/bind/include: resolv.h
Log Message:
fix dig and nslookup.
sizeof(_res) must be the same for libc, libresolv and libbind.
libc and libresolve uses bind4 while libbind seems to use bind8.
complete fix would be to share the same codebase among libc and libbind,
but I don't know if importing bind8 into libc/libresolv (or bind9 to
all the places) is the right answer. it involves a big change.
PR: 7966
To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 basesrc/usr.sbin/bind/include/resolv.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
------- End of Forwarded Message