Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 05 Jul 1998 18:57:43 +0000
From:      Matthew Smithshaw <M@ml-associates.co.uk>
To:        "Brian O'Shea" <boshea@ricochet.net>, freebsd-net@FreeBSD.ORG
Subject:   Re: Strange problem with named as a caching-only name server
Message-ID:  <199807051754.RAA21244@gate.home.ml-associates.co.uk>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807051754.RAA21244>