Return to BSD News archive
Xref: sserve comp.os.386bsd.questions:15290 comp.os.386bsd.misc:4461
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msunews!uwm.edu!spool.mu.edu!howland.reston.ans.net!pipex!uunet!mozz.unh.edu!toto.plymouth.edu!oz.plymouth.edu!not-for-mail
From: ted@oz.plymouth.edu (Ted Wisniewski)
Newsgroups: comp.os.386bsd.questions,comp.os.386bsd.misc
Subject: Re: name server on FreeBSD 2.0 Release
Date: 17 Dec 1994 13:28:07 -0500
Organization: Plymouth State College - Plymouth, NH.
Lines: 49
Distribution: world
Message-ID: <3cvajn$9e9@oz.plymouth.edu>
References: <89F93AD.06BA0000F6.uuout@pics.com>
NNTP-Posting-Host: oz.plymouth.edu
In article <89F93AD.06BA0000F6.uuout@pics.com> terry.rossi@pics.com (SYSOP) writes:
>I am having a small problem getting FreeBSD to act as a secondary
>nameserver for my domain. If I set resolv.conf to look at the BSD box
>first and try an nslookup I get the following message:
>
>***Can't find server name for address 192.135.189.15: No response from
>server
Sounds like you have something mis-configured.... Here are my settings
for a secondary server that is working. I put 'hosts' first in /etc/host.conf
ran it by reboot and all is fine. Obviously some of these
names' are site specific, but that should be an easy change.
--- resolv.conf
domain plymouth.edu
nameserver 127.0.0.1
--- named.boot
;
; BIND data file to boot a secondary name server.
;
; directory where all the data files are stored
directory /var/dss/namedb
;
; type domain source host/file
secondary plymouth.edu 158.136.75.103 hosts.plymouth
secondary 136.158.in-addr.arpa 158.136.75.103 hosts.rev
;
primary 0.0.127.in-addr.arpa named.local
;
; load the cache data last
cache . named.ca
--- named.local
;
; BIND data file for local loopback interface.
;
@ IN SOA key.plymouth.edu. ted.key.plymouth.edu. (
1 ; Serial
3600 ; Refresh
300 ; Retry
3600000 ; Expire
3600 ) ; Minimum
IN NS key.plymouth.edu.
1 IN PTR localhost.
localhost. IN A 127.0.0.1