Subject: Re: named?
To: Sheldon Simms <sheldon@atlcom.net>
From: Francis Peter <francisp@innet.be>
List: port-mac68k
Date: 08/11/1997 18:41:05
97/08/09 20:04 Sheldon Simms
>This question isn't really mac68k specific but I decided to get PPP
>going yesterday afternoon and, as a learning experience, decided
>to try it on my own. I got it working without too much trouble after
>reading a lot of man pages but I never could figure out how to make
>named work. I eventually found the man page for resolv.conf, which
>is what I really wanted anyway, but I'm just curious - is it
>possible to have named running and working and, if so, are there
>some sample configuation files somewhere (in the PPP kit perhaps)?
>
I use named and I will include my config files
My resolv.conf file is :
-----8<---------------------------------------
# /etc/resolv.conf
# Our domain
domain netlogic.be
#
# We use maccx2 as central nameserver:
nameserver 192.168.32.98
#
# We use innet.be as nameserver for the net:
nameserver 194.7.1.4
nameserver 194.7.1.2
#
# We use the nameserver for compuserve
nameserver 149.174.211.5
#
# We use the nameserver for knoware
nameserver 193.78.120.3
-----8<---------------------------------------
My /etc/named.boot file:
-----8<---------------------------------------
; @(#)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.
; sortlist 128.3.0.0
directory /etc/namedb
; type domain source host/file backup file
cache . named.ca
primary netlogic.be named.hosts
primary 0.0.127.IN-ADDR.ARPA named.local
primary 32.168.192.IN-ADDR.ARPA named.rev
; 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
-----8<---------------------------------------
My /et/namedb/named.ca file:
-----8<---------------------------------------
; $NetBSD: root.cache,v 1.5 1995/11/27 15:11:33 perry Exp $
;
; This file holds the information on root name servers needed to
; initialize cache of Internet domain name servers
; (e.g. reference this file in the "cache . <file>"
; configuration file of BIND domain name servers).
;
; This file is made available by InterNIC registration services
; under anonymous FTP as
; file /domain/named.root
; on server FTP.RS.INTERNIC.NET
; -OR- under Gopher at RS.INTERNIC.NET
; under menu InterNIC Registration Services (NSI)
; submenu InterNIC Registration Archives
; file named.root
;
; last update: Nov 8, 1995
; related version of root zone: 1995110800
;
;
; formerly NS.INTERNIC.NET
;
;. 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 192.5.5.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
-----8<---------------------------------------
My /etc/namedb/named.hosts file:
-----8<---------------------------------------
; @(#)/etc/namedb/named.hosts 1 (frapcom) 6/30/97
;
@ IN SOA maccx2.netlogic.be. francisp.netlogic.be. (
16 ; Serial
86400 ; Refresh: once per day
3600 ; Retry: one hour
3600000 ; Expire: 42 days
604800 ; Minimum: 1 week
)
IN NS maccx2.netlogic.be.
;
; local mail is distributed on maccx2
IN MX 10 maccx2
;
; loopback address
localhost IN A 127.0.0.1
; NetLogic Ethernet
maccx2 IN A 192.168.32.98
maccx1 IN A 192.168.32.97
macse IN A 192.168.32.92
macci IN A 192.168.32.94
ppc8100-80 IN A 192.168.32.96
;
; maccx2 is also mail, news, web, ftp and pop3 server
;
news IN CNAME maccx2
ftp IN CNAME maccx2
www IN CNAME maccx2
mail IN CNAME maccx2
pop3 IN CNAME maccx2
-----8<---------------------------------------
My /etc/namedb/named.local file:
-----8<---------------------------------------
; @(#)/etc/namedb/named.local 1 (frapcom) 6/30/97
;
@ IN SOA maccx2.netlogic.be. francisp.netlogic.be. (
1 ; Serial
360000 ; Refresh: 100 hrs
3600 ; Retry: one hour
3600000 ; Expire: 42 days
360000 ; Minimum: 100 hrs
)
IN NS maccx2.netlogic.be.
1 IN PTR localhost.
-----8<---------------------------------------
My /etc/namedb/named.rev file:
-----8<---------------------------------------
; @(#)/etc/namedb/named.hosts 1 (frapcom) 6/30/97
;
@ IN SOA maccx2.netlogic.be. francisp.netlogic.be. (
16 ; Serial
86400 ; Refresh: once per day
3600 ; Retry: one hour
3600000 ; Expire: 42 days
604800 ; Minimum: 1 week
)
IN NS maccx2.netlogic.be.
;
; frapcom Ethernet
98 IN PTR maccx2.netlogic.be.
97 IN PTR maccx1.netlogic.be.
92 IN PTR macse.netlogic.be.
94 IN PTR macci.netlogic.be.
96 IN PTR ppc8100-80.netlogic.be.
-----8<---------------------------------------
\\|//
/'^'\
( o o )
-----------------------oOOO--(_)--OOOo--------------------------
Francis Peter e-mail internet: francisp@innet.be
Beverijstraat 8 francisp@knoware.nl
B 9180 Moerbeke-Waas CompuServe: 100073,1633
Belgium Phone : +32 (0) 9 346 67 94
.oooO
( ) Oooo.
-----------------------\ (----( )-----------------------------
\_) ) /
(_/