From owner-freebsd-questions Sun Aug 29 13:51: 1 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mcclure.tinet.ie (mcclure.tinet.ie [159.134.237.31]) by hub.freebsd.org (Postfix) with ESMTP id 593031518C for ; Sun, 29 Aug 1999 13:50:53 -0700 (PDT) (envelope-from ggunning@tinet.ie) Received: from p637.as1.adl.dublin.tinet.ie ([159.134.218.125] helo=tinet.ie) by mcclure.tinet.ie with esmtp (Exim 2.05 #23) id 11LBuD-0003M1-00 for freebsd-questions@FreeBSD.ORG; Sun, 29 Aug 1999 21:50:25 +0100 Message-ID: <37C99CCF.BAFB8F64@tinet.ie> Date: Sun, 29 Aug 1999 21:49:19 +0100 From: Gareth Gunning X-Mailer: Mozilla 4.6 [en] (X11; I; FreeBSD 3.1-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: named "caching only" Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I diced to implement a caching name sever on my 3.1 box. So I, edited resolve.conf so: nameserver 127.0.0.1 nameserver ISP 1'st nameserver ISP 2'nd put: named_enable="YES" named_flags="-b /etc/namedb/named.boot" in rc.conf ran /etc/namedb/make-localhost this executed successfully and I made /etc/named.boot so that: directory /etc/namedb primary 0.0.127.in-addr.arpa localhost.rev forwarders ISP 1'st ISP 2'nd but with it running, if I try a nslookup I get > nslookup *** Can't find server name for address 127.0.0.1: Server failed Default Server: nd1.lala.com Address: ISP 1'st > named is running. here is the output of truss, whan I call nslookup. syscall (null)() returns 1 (0x1) syscall gettimeofday(0xefbfd9f4,0x0) returns 0 (0x0) syscall recvfrom(0x16,0xefbfd84c,0x201,0x0,0xefbfda50,0xefbfd848) returns 40 (0x28) syscall gettimeofday(0x8084b34,0x0) returns 0 (0x0) syscall gettimeofday(0xefbfd094,0x0) returns 0 (0x0) syscall gettimeofday(0xefbfc3d8,0x0) returns 0 (0x0) syscall getpid() returns 525 (0x20d) syscall sendto(0x3,0xefbfc83c,0x40,0x0,0x0,0x0) returns 64 (0x40) syscall sendto(0x16,0xefbfd84c,0x28,0x0,0xefbfd7f0,0x10) returns 40 (0x28) syscall gettimeofday(0xefbfd9f4,0x0) returns 0 (0x0) everthing is defined in hosts. I have had some input saying my named.boot is out of date, but where can I find up to date config info? So than can anyone help me solve this? Thanks in advance. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message