SUMMARY: BIND 4.9.5 or 8.1?

From: Subir Grewal (subir@indiaserver.com)
Date: Thu Jun 12 1997 - 15:49:01 CDT


I wanted to upgrade to a public BIND after getting tired of Sun BIND's
quirks. After looking at both 4.9.5 (patch level 1) and 8.1, I've decided
to go with 4.9.5. 8.1 would be, at this point, too big a leap for us.
I'm running 4.9.5 on another machine, and haven't noticed any problems, if
things go well, I'll upgrade our nameservers in the next few days. What
brought things to a head was the manner in which sun's named was logging
all lame delegations, I had a multi-megabyte log file in a couple of days.
This is a compile option in 4.9.5 and I will turn it off (wish Sun's
syslog was more like Digital Unix's much more elegant logging facilities)

Thanks to,

Steve Lodin <swlodin@delcoelect.com>
Parthiv Shah <parthiv@nscc.com>

Steve provided a set of directions to have BIND v8 compile on Solaris 2.4,
the mods are minor and are attached.

Subir Grewal subir@indiaserver.com



From swlodin@delcoelect.com Thu Jun 12 16:47:14 1997
From: Steve Lodin <swlodin@delcoelect.com>
To: Subir Grewal <subir@indiaserver.com>
Date: Mon, 9 Jun 1997 16:14:36 -0500 (EST)
Subject: Re: BIND 4.95 or v8?


There were a couple of changes to get V8 to compile on Sol2.4.


The changes include:

Current directory is src/SunOS-5.4-sun4d/bin/named

1) modify ns_stats.c to add the include for rusage

[9] kocrsv10: diff -c ns_stats.c ../../../bin/named/ns_stats.c
*** ns_stats.c Mon May 12 09:42:54 1997
--- ../../../bin/named/ns_stats.c Mon May 12 09:43:10 1997
***************
*** 92,98 ****
  #include "port_after.h"

  #ifdef HAVE_GETRUSAGE /* XXX */
- #include "/usr/ucbinclude/sys/rusage.h"
  #include <sys/time.h>
  #include <sys/resource.h>
  #endif
--- 92,97 ----


I really should do a better #ifdef there so that it continues to work on other
architectures.


2) Extract the getrusage object file out of the UCB library:

[12] kocrsv10: ar x /usr/ucblib/libucb.a getrusage.o

3) Modify the Makefile to link in that object file:

[19] kocrsv10: diff -c Makefile ../../../bin/named/Makefile
*** Makefile Mon May 12 15:25:12 1997
--- ../../../bin/named/Makefile Thu Apr 24 17:42:53 1997
***************
*** 63,69 ****
        ns_parser.${O} ns_lexer.${O} ns_parseutil.${O} \
        ns_forw.${O} ns_init.${O} ns_main.${O} ns_maint.${O} ns_req.${O} \
        ns_resp.${O} ns_stats.${O} ns_ncache.${O} ns_xfr.${O} ns_glue.${O} \
! ns_udp.${O} ns_config.${O} ns_update.${O} getrusage.o

  all:: ${PROG} pathnames

--- 63,69 ----
        ns_parser.${O} ns_lexer.${O} ns_parseutil.${O} \
        ns_forw.${O} ns_init.${O} ns_main.${O} ns_maint.${O} ns_req.${O} \
        ns_resp.${O} ns_stats.${O} ns_ncache.${O} ns_xfr.${O} ns_glue.${O} \
! ns_udp.${O} ns_config.${O} ns_update.${O}

  all:: ${PROG} pathnames

4) cd back up and run make

--
Steve Lodin - Delco Electronics - swlodin@delcoelect.com - (765)451-0479

       "Do not let what you cannot do interfere with what you can do."
                          --John Wooden UCLA College Basketball Coach



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:56 CDT