Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cwjcc!tut.cis.ohio-state.edu!ucbvax!pasteur!aoki@faerie.Berkeley.EDU From: aoki@faerie.Berkeley.EDU (Paul M. Aoki) Newsgroups: comp.sys.sequent Subject: Re: Fun with BIND 4.8 Message-ID: <9667@pasteur.Berkeley.EDU> Date: 9 Feb 89 23:09:30 GMT References: <9651@pasteur.Berkeley.EDU> Sender: news@pasteur.Berkeley.EDU Reply-To: aoki@postgres.Berkeley.EDU (Paul M. Aoki) Distribution: usa Organization: Postgres Research Group, UC Berkeley Lines: 31 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