Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Feb 1996 11:45:13 -0500 (EST)
From:      Dale Benzer <ipc1@tribeca.ios.com>
To:        wes@intele.net
Cc:        questions@freebsd.org
Subject:   Re: DNS and Bind on FreeBSD.
Message-ID:  <Pine.BSD.3.91.960209101128.1912A-100000@tribeca.ios.com>
In-Reply-To: <199602090559.VAA01381@obie.softweyr.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help


Dear Wes
Still no luck with DNS & Netcom. They are sooooo very helpful...
Sometimes I feel like I'm up a bitstream without a paddle....Of all the 
stuff I've done so far this is the toughest. I am enclosing a copy of the 
followinf files in the hope that your tained eye will spot the error(s):

		 /etc/named.boot
		/etc/named.root
		/etc resolv.conf

	plus the two files we created --

		/etc/namedb/fifth-avenue.com
		/etc/namedb/fifth-avenue.com.rev

	Also including herein -- 

		/etc/hosts
		/etc/resolv.conf
		
	And finally, the line in inetd that runs named	


In answer to your suggestion using nslookup -- the TCP route is fine , 
i.e., we can ping out anywhere, but nslookuo returns with an error 0 (no 
error) message. Here's my particular 

                           QUESTION OF THE DAY

Since we are using Netcom as primary and secondary DNS, where in the 
above files to we put THEIR IP address and where do we put OUR LOCAL 
addresses? I think we are confused by reading O'Reilly who assumes we are 
acting as our own DNS. I mean I just don't understand how we can be a DNS 
-- wouldn't we have to keep all the IP address for the net on our 
machine? Or do we still go out and connect to a nameserver somewhere? But 
that's the 

			QUESTION FOR THE MORROW

We WILL be acting as our own DNS at some point...but for now, if you can 
look at the  files and help us place the right info in the right 
places... I just think that our local host IP address needs to be in 
there somewhere and I've tried all the permutations I can think of.


FOLLOWING THE FILES:

***************  1.)  /etc/named.boot ***************

;	$Id: named.boot,v 1.3 1995/03/23 08:43:02 rgrimes Exp $

;	From: @(#)named.boot	5.1 (Berkeley) 6/30/90

directory	/etc/namedb

; type    domain		source host/file		backup file

;tims primary   fifth-avenue.com          db.fifth-avenue
;tims primary   205.163.206.in-addr.arpa  db.206.215.163	localhost.rev
;tims primary   0.0.127.in-addr.arpa      db.127.0.0
;tims cache     .			    db.cache

; example secondary server config:
; secondary Berkeley.EDU	128.32.130.11 128.32.133.1	ucbhosts.bak
; secondary 32.128.IN-ADDR.ARPA	128.32.130.11 128.32.133.1	ucbhosts.rev.bak

; example primary server config:
; primary  Berkeley.EDU		ucbhosts
; primary  32.128.IN-ADDR.ARPA	ucbhosts.rev

primary fifth-avenue.com fifth-avenue.com
primary 163.215.206.in-addr.arpa fifth-avenue.com.rev 



****************  2.) /etc/namedb/named.root *****************
;
.                        3600000  IN  NS    A.ROOT-SERVERS.NET.
A.ROOT-SERVERS.NET.      3600000      A     198.41.0.4
;
; formerly NS1.ISI.EDU
;
.                        3600000      NS    B.ROOT-SERVERS.NET.
B.ROOT-SERVERS.NET.      3600000      A     128.9.0.107
;
; formerly C.PSI.NET
;
.                        3600000      NS    C.ROOT-SERVERS.NET.
C.ROOT-SERVERS.NET.      3600000      A     192.33.4.12
;
; formerly TERP.UMD.EDU
;
.                        3600000      NS    D.ROOT-SERVERS.NET.
D.ROOT-SERVERS.NET.      3600000      A     128.8.10.90
;
; formerly NS.NASA.GOV
;
.                        3600000      NS    E.ROOT-SERVERS.NET.
E.ROOT-SERVERS.NET.      3600000      A     192.203.230.10
;
; formerly NS.ISC.ORG
;
.                        3600000      NS    F.ROOT-SERVERS.NET.
F.ROOT-SERVERS.NET.      3600000      A     39.13.229.241
;
; formerly NS.NIC.DDN.MIL
;
.                        3600000      NS    G.ROOT-SERVERS.NET.
G.ROOT-SERVERS.NET.      3600000      A     192.112.36.4
;
; formerly AOS.ARL.ARMY.MIL
;
.                        3600000      NS    H.ROOT-SERVERS.NET.
H.ROOT-SERVERS.NET.      3600000      A     128.63.2.53
;
; formerly NIC.NORDU.NET
;
.                        3600000      NS    I.ROOT-SERVERS.NET.
I.ROOT-SERVERS.NET.      3600000      A     192.36.148.17
; End of File



****************  3.) /etc/fifth-avenue.com ********************

@       IN      SOA     ns1.noc.netcom.net.     hostmaster.netcom.com.
                        (
                        96020800        ;serial
                        70000   ;refresh
                        4000    ;retry
                        400000  ;expire
                        100000  ;minimum
                        )
        IN      NS      ns1.noc.netcom.net.
        IN      NS      ns2.noc.netcom.net.
$ORIGIN fifth-avenue.com.
        IN      A       206.215.163.2
        IN      MX      10 fifth-avenue.com.
www     IN      CNAME   fifth-avenue.com.



*******************  4.) /etc/fifth-avenue.com.rev *********************


@               IN      SOA     ns1.noc.netcom.net. 
hostmaster.noc.netcom.net.
                                (
                                96020800 ;serial number
                                21600    ;refresh
                                7200     ;retry
                                400000   ;expire
                                100000   ;minimum
                                )
          IN      NS      ns1.noc.netcom.net.
          IN      NS      ns2.noc.netcom.net.

$ORIGIN 163.215.206.in-addr.arpa.
2       IN      PTR     fifth-avenue.com.
3       IN      PTR     nysource.com.



******************** 5.) /etc/resolv.conf **********************

.\" --Copyright--
.\"
.\"	@(#)resolv.conf	6.2 (Berkeley) 2/29/88
.\"
.ne 6v
.\" .bp
.sh 3 "Remote Server / DNS Client"
.sh 4 "/etc/resolv.conf"
.(b L

domain fifth-avenue.com 
nameserver 199.183.9.1
nameserver 204.31.1.3
nameserver 192.100.81.101

.)b


*****************************6.) /etc/hosts *******************************

# $Id: hosts,v 1.5 1995/04/09 09:54:39 rgrimes Exp $
#
# Host Database
# This file should contain the addresses and aliases
# for local hosts that share this file.
# In the presence of the domain name service or NIS, this file may
# not be consulted at all; see /etc/host.conf for the resolution order.
#
#
127.0.0.1		localhost fifth-avenue.com 
#
# Imaginary network.
206.215.163.2		Plato.fifth-avenue.com Plato 
206.215.163.3           Aristotle.nysource.com Aristotle 
206.215.163.1           marx.fifth-avenue.com Marx
#10.0.0.3		myfriend.my.domain myfriend
#


**************  7.) FInally .. the line from /etc/inetd ********************

named	stream	tcp	nowait	root	/usr/sbin/named		named

******************   END OF FILES SECTION  ******************


I can't tell you how much I appreciate you looking at these files...I 
know there is a stupid error somewhere...


Thanks so much

Dale and Tim







Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?Pine.BSD.3.91.960209101128.1912A-100000>