Date: Sun, 29 Aug 1999 21:49:19 +0100 From: Gareth Gunning <ggunning@tinet.ie> To: freebsd-questions@FreeBSD.ORG Subject: named "caching only" Message-ID: <37C99CCF.BAFB8F64@tinet.ie>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37C99CCF.BAFB8F64>