Thread View: comp.sys.sequent
3 messages
3 total messages
Started by Paul M. Aoki
Thu, 09 Feb 1989 07:17
Fun with BIND 4.8
Author: Paul M. Aoki
Date: Thu, 09 Feb 1989 07:17
Date: Thu, 09 Feb 1989 07:17
12 lines
1057 bytes
1057 bytes
I'm really at a loss here. The installation of BIND 4.8 went smoothly,
nslookup works fine, but other programs compiled with -lresolv don't work.
The call to gethostbyname() doesn't even generate any request packets;
instead, h_errno is set to TRY_AGAIN and errno is set to ENOTTY
("inappropriate ioctl for device").
Does this sound familiar to anyone? If anyone out there has installed
BIND 4.8 without problems, let me know so I can go quietly insane.
----------------
Paul M. Aoki
CS Division, Dept. of EECS // UCB // Berkeley, CA 94720 (415) 642-1863
aoki@postgres.Berkeley.EDU ...!ucbvax!aoki
Re: Fun with BIND 4.8
Author: Paul M. Aoki
Date: Thu, 09 Feb 1989 23:09
Date: Thu, 09 Feb 1989 23:09
31 lines
2068 bytes
2068 bytes
In article <9651@pasteur.Berkeley.EDU> aoki@postgres.Berkeley.EDU (Paul M. Aoki) writes:
>I'm really at a loss here. The installation of BIND 4.8 went smoothly,
>nslookup works fine, but other programs compiled with -lresolv don't work.
>The call to gethostbyname() doesn't even generate any request packets;
>instead, h_errno is set to TRY_AGAIN and errno is set to ENOTTY
>("inappropriate ioctl for device").
From: iglesias@ORION.CF.UCI.EDU
> Did
> you create a world-readable /etc/resolv.conf? The code needs
> that to work properly, I think.
From the "Name Server Operations Guide to BIND, Release 4.8":
> To set up a host that will use a remote server instead of a local server to
> answer queries, the file /etc/resolv.conf needs to be created. This file
> designates the name servers on the network that should be sent queries. It
> is not advisable to create this file if you have a local server running.
Needless to say, it's pretty advisable to create the file whether you have a
local server running or not -- so much for RTFM. Thanks, Mike.
OK, so BIND does work practically out of the box. Another blow struck in the
battle to eliminate YP in our lifetime ..
[ p.s. For anyone who was wondering: we never did get the Fujitsu M2372s to
work. The boss-man said, "This isn't worth it," and traded the 2372s in for
2382s (Swallow 5s). ]
----------------
Paul M. Aoki
CS Division, Dept. of EECS // UCB // Berkeley, CA 94720 (415) 642-1863
aoki@postgres.Berkeley.EDU ...!ucbvax!aoki
Re: Fun with BIND 4.8
Author: David Herron -- One of the verte...
Date: Fri, 10 Feb 1989 00:00
Date: Fri, 10 Feb 1989 00:00
88 lines
3187 bytes
3187 bytes
In article <9651@pasteur.Berkeley.EDU> aoki@postgres.Berkeley.EDU (Paul M. Aoki) writes:
>
>Does this sound familiar to anyone? If anyone out there has installed
>BIND 4.8 without problems, let me know so I can go quietly insane.
Have fun with your insanity then ...
In the hopes that I might help in sidestepping some insanity here is
the file I wrote talking about the installation processes.
****************** Instructions for installing BIND onto the Math Sciences
****************** systems at the U of Kentucky.
Into ~src/add.to.dist/ultrix/named:
Doc: bind<ver>/doc
Man: bind<ver>/man
.: bind<ver>/named
Make sure -DSTATS and -DDEBUG are set.
Add -I/usr/src/local/inet/Include to CFLAGS=
Add -lresolv to RES=
Remove "tools" from SUBDIR because that directory is elsewhere.
Remove dependencies on /usr/include/machine/machparam.h because
that's apparently a 4.3bsd-tahoe-ism that doesn't exist
on our machines.
Same goes for /usr/include/net/if_arp.h.
Change install: to install to /usr/etc/named.
Into ~src/inet/Bin: bind<ver>/bin/*
Into ~src/inet/LibResolv: bind<ver>/res/* (recursive)
DO NOT RUN mkdep ON Ultrix SINCE IT DOESN'T HAVE "cc -M"
Create Makefile by taking Makefile.resolv to start with.
Take the .c.o: rule from Makefile (move Makefile to Makefile.noresolv
first). Create a libresolv_p.a rule like:
libresolv_p.a: ${OBJS}
cd profiled; ar cru ../libresolv_p.a ${OLBS}
Fix install: to install libresolv_p.a, and to install things
into /lib instead of /usr/lib.
Fix the gethostnamadr.o: and sethostent.o: tags to match
the .c.o: rule above.
Make all: libresolv.a libresolv_p.a
Add -I../Include to DEFS=
Into ~src/inet/Include: bind<ver>/include
Put a Makefile there like:
> all:
>
> install:
> install -c -m 444 -o bin -g bin netdb.h /usr/include/local
> install -c -m 444 -o bin -g bin resolv.h /usr/include/local
>
> clean:
Into ~src/inet/nslookup: bind<ver>/tools/nslookup
In Makefile, RES= -lresolv, CFLAGS+= -I../Include
Disable the depend: tag
Fix install: to install to /usr/local/etc, and not to
install man pages directly to /usr/man but to
use addman instead.
Change main.c to reference /usr/local/etc/nslookup.help
for the help file.
Adding other stuff to ~src/inet:
Make sure that -lresolv and -I../Include are used
at appropriate places in the Makefiles.
--
<-- David Herron; an MMDF guy <david@ms.uky.edu>
<-- ska: David le casse\*' {rutgers,uunet}!ukma!david, david@UKMA.BITNET
<-- Now I know how Zonker felt when he graduated ...
<-- Stop! Wait! I didn't mean to!
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads