From owner-freebsd-net Sun Jul 5 22:17:24 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA04092 for freebsd-net-outgoing; Sun, 5 Jul 1998 22:17:24 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from mailhost.ml-associates.co.uk (ns.ml-associates.co.uk [193.116.163.181]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA04086 for ; Sun, 5 Jul 1998 22:17:15 -0700 (PDT) (envelope-from M@mlnet.net) Received: (from postie@localhost) by mailhost.ml-associates.co.uk (8.8.8/8.8.8) id FAA26839; Mon, 6 Jul 1998 05:16:38 GMT Received: from orion.demon.co.uk(158.152.10.76) by ns.ml-associates.co.uk via smap (V1.3.ML.3) id sma026835; Mon Jul 6 05:16:14 1998 Received: from gate.home.ml-associates.co.uk by mlpunt.mail-relay.home.ml-associates.co.uk with mlpunt version 3.1 id RAA21251; Sun, 5 Jul 1998 17:55:00 GMT X-Comment: mlpunt - queue demon-ppp Received: by gate.home.ml-associates.co.uk (8.6.12/25-eef) id RAA21244; Sun, 5 Jul 1998 17:54:55 GMT X-MLComment1: ML Associates, PO Box 16076, Glasgow, Scotland, G11 7TL X-MLComment2: mailhost - The Postoffice X-MLComment3: E-mail: net-support@home.ml-associates.co.uk Message-Id: <199807051754.RAA21244@gate.home.ml-associates.co.uk> Received: from oban(192.168.191.2) by gate.home.ml-associates.co.uk via smap (V1.3) id sma021239; Sun Jul 5 17:54:36 1998 X-Sender: msmith@mailhost.home.ml-associates.co.uk X-Mailer: Windows Eudora Light Version 1.5.2 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Sun, 05 Jul 1998 18:57:43 +0000 To: "Brian O'Shea" , freebsd-net@FreeBSD.ORG From: Matthew Smithshaw Subject: Re: Strange problem with named as a caching-only name server Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The IP 10.0.0.2 is (rfc 1918) private. I Assume you are _not_ using the Internet root name servers in your named.root file. If you are (and using NAT or such ilk), you will need to also be authorative for the domain 0.0.10.IN-ADDR.ARPA. Had this problem myself where reverse lookup was not yet in place! At 03:59 05/07/1998 -0700, Brian O'Shea wrote: >Hello and greetings. > >I'm running FreeBSD 2.2.5 with BIND version 8.2 and I am having a little >difficulty setting up named as a caching-only name server. I can't connect >to named on my machine when I specify my IP address in /etc/resolv.conf . >I don't seem to have this problem when I specify the loopback address in >it's place. I would settle for the loopback address except that I have >read that this is a bad idea due to a bug in the BIND code (but I had to >try it anyway, just to see what would happen). > >To illustrate, first I tried to connect to named running on my machine, >specifying the server on the command line as 10.0.0.2 (my machine's IP >address): > > >[atropos:/home/brian]% nslookup - 10.0.0.2 >*** Can't find server name for address 10.0.0.2: Non-existent host/domain >*** Default servers are not available > > >Here's my /etc/resolv.conf, just for some background: > >; resolv.conf >search ricochet.net ; Search list >nameserver 10.0.0.2 ; Local caching-only name server >nameserver 168.253.48.19 ; Ricochet primary name server >nameserver 198.6.1.1 ; Ricochet secondary name server > > >Next I ran nslookup in interactive mode without specifying my machine's >IP address as the server. It defaulted to using my ISP's primary name >server (from resolv.conf). Then I set the server to my machine manually. >For some reason this worked: > > >[atropos:/home/brian]% nslookup - >*** Can't find server name for address 10.0.0.2: Non-existent host/domain >Default Server: norad-48.mcdn.net >Address: 168.253.48.19 > >> server 10.0.0.2 >Default Server: [10.0.0.2] >Address: 10.0.0.2 > >> rs.internic.net >Server: [10.0.0.2] >Address: 10.0.0.2 > >Name: rs.internic.net >Addresses: 198.41.0.12, 198.41.0.13, 198.41.0.6, 198.41.0.7 > 198.41.0.8, 198.41.0.9 > >> > > >Now with the loopback address in /etc/resolv.conf instead of my IP address: > >; resolv.conf >search ricochet.net ; Search list >nameserver 127.0.0.1 ; Local caching-only name server (loopback) >;nameserver 10.0.0.2 ; Local caching-only name server >nameserver 168.253.48.19 ; Ricochet primary name server >nameserver 198.6.1.1 ; Ricochet secondary name server > > >[atropos:/home/brian]% nslookup - >Default Server: localhost >Address: 127.0.0.1 > >> > >Any ideas on how I can get this running smoothly? > >Thanks in advance, >-brian > > >p.s. Some other information that might be of use: > >I start named with the following command: >/usr/sbin/named -b /var/namedb/named.boot > >/var/namedb/named.boot: >; named.boot - BIND boot file (caching-only for atropos.Ricochet.NET) >directory /var/namedb >cache . named.root > -- Matthew Smithshaw | ML Associates M@MLNET.NET | P O Box 16076 tel:+44-141-951-2229 | Glasgow Scotland fax:+44-141-951-8877 | G11 7TL To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message