*BSD News Article 99877


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.netspace.net.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!cpk-news-hub1.bbnplanet.com!cpk-news-feed4.bbnplanet.com!cpk-news-feed1.bbnplanet.com!news.bbnplanet.com!nrlssc.navy.mil!beck
From: beck@nrlssc.navy.mil (Jeff Becklehimer)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Caching only nameserver
Date: 17 Jul 1997 17:03:46 GMT
Organization: Naval Research Laboratory, Stennis Space Center
Lines: 74
Message-ID: <5qlj9i$cn7$1@filet.nrlssc.navy.mil>
NNTP-Posting-Host: abyss.nrlssc.navy.mil
X-Newsreader: TIN [version 1.2 PL2]
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:44606

Hi,

I was running named in caching only mode under 2.1.7.1 with no problems.
I recently upgraded to 2.2.2-RELEASE and can no longer make things work.
nslookup works fine from the machine running named however all other
machines seems to get a query refused error. But, if nslookup is
run in interactive mode all is fine. Any suggestions? Here are my files:


conv1% more named.boot
;       named.boot,v 1.3 1995/03/23 08:43:02 rgrimes Exp
;       From: @(#)named.boot    5.1 (Berkeley) 6/30/90

; boot file for secondary name server
; Note that there should be one primary entry for each SOA record.

; example sortlist config:
; sortlist 128.3.0.0

directory       /etc/namedb

; type    domain                source host/file                backup file

cache     .                                                     root.cache
primary   0.0.127.IN-ADDR.ARPA  localhost.rev

conv1% more localhost.rev
;       From: @(#)localhost.rev 5.1 (Berkeley) 6/30/90
;       PROTO.localhost.rev,v 1.1 1995/03/21 16:33:44 wollman Exp
;
; This file is automatically edited by the `make-localhost' script in
; the /etc/namedb directory.
;

@       IN      SOA     conv1.nrlssc.navy.mil. conv1.nrlssc.navy.mil.  (
                                970716  ; Serial
                                3600    ; Refresh
                                300     ; Retry
                                3600000 ; Expire
                                604800 ); Minimum
        IN      NS      conv1.nrlssc.navy.mil.
1       IN      PTR     localhost.nrlssc.navy.mil.

Here's what the remote host see:

abyss% nslookup abyss
*** Can't find server name for address 128.160.51.1: Query refused
Server:  vixen.nrlssc.navy.mil
Address:  128.160.52.117
 
Name:    abyss.nrlssc.navy.mil
Address:  128.160.51.4
 
abyss% nslookup
*** Can't find server name for address 128.160.51.1: Query refused
Default Server:  vixen.nrlssc.navy.mil
Address:  128.160.52.117
 
> server conv1
Default Server:  conv1.nrlssc.navy.mil
Address:  128.160.51.1
 
> abyss
Server:  conv1.nrlssc.navy.mil
Address:  128.160.51.1
 
Non-authoritative answer:
Name:    abyss.nrlssc.navy.mil
Address:  128.160.51.4
 
> 

--
Jeff Becklehimer