tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Don Hurst <dlh () mcc ! cc ! tx ! us>
To: tru64-unix-managers
Subject: [Summary] How to setup CIDR IP addresses
Date: Tue, 05 Nov 1996 16:26:31 +0000	[thread overview]
Message-ID: <96076341621374.tru64-unix-managers.marc@archive.invalid> (raw)

Thanks to David Hoyt, Ollivier ROBERT, and Phil Rand for responding to my problem.

My original question/problem was:
  I am running Digital Unix v3.2C on an AlphaServer 1000.  I was looking 
  at the daemon.log file after I rebooted today and found that I am having 
  a problem when name service is started (see partial listing below).  It 
  appears that I have not setup my CIDR block of IP addresses correctly.  
  I have a block of four addresses (198.214.72.0 - 198.214.75.0).  How do 
  I set them up in my hosts and named.boot files?

  Partial listing of daemon.log follows
  Nov  3 10:17:27 mccadm named[258]: starting.  named 4.9.3-B9P1+ Mon Jul 24 22:04:18 EDT 1995
  Nov  3 10:17:27 mccadm named[258]: hosts.rev:28: data "1.74.214.198.in-addr.arpa" outside zone "72.214.198.in-addr.arpa" (ignored)

The solution was:
  To define a host reverse file for each zone (I had defined all four of my
  class 'C' zones in one reverse file).

Below are the text of the responses I received.

>From: David Hoyt <dhoyt@oem.net>
>
>you forgot the trailing dot in the reverse file..
>
>!============================
>!David Hoyt     OEM.NET
>!Boston, MA     USA, Earth


>From: ollivier.robert@eurocontrol.fr (Ollivier Robert)
> 
>It is not really CIDR related. CIDR is a solution for routing problem, not
>DNS ones.
> 
>> Nov  3 10:17:27 mccadm named[258]: hosts.rev:28: data "1.74.214.198.in-addr.arpa" outside zone "72.214.198.in-addr.arpa" (ignored)
>
>Inside the zone file for "72.214.198.in-addr.arpa", you can't have entry
>for another reverse zone unless you use full names (ending with ".") and it
>is not recommanded.
>
>Just setup 4 reverse zone files for each network and it should work.
>-- 
>Ollivier ROBERT -=- Eurocontrol EEC/TS -=- Ollivier.Robert@eurocontrol.fr


>From: Phil Rand <prand@paul.spu.edu>
>
>Hi Don,
>
>We have one stand-alone class C, 192.190.33.0, plus a CIDR block of 32. 
>We just run them all as independent class c's.  Last I heard, the DNS
>software didn't know anything about CIDR, though I haven't looked into the
>issue for a couple of years.
>
>Here's our named.boot file:
>
>; /etc/namedb/named.boot
>
>(removed some comments)
>
>directory	/etc/namedb
>;
>; TYPE		DOMAIN				FILE (or SOURCE HOST)
>primary		spu.edu				spu.txt
>primary		0.0.127.in-addr.arpa		named.local
>primary		33.190.192.in-addr.arpa		33.txt
>primary		160.237.199.in-addr.arpa	160.txt
>primary		161.237.199.in-addr.arpa	161.txt
>primary		162.237.199.in-addr.arpa	162.txt
>
>(removed networks 163 - 190)
>
>primary		191.237.199.in-addr.arpa	191.txt
>;
>; load the cache data last
>cache		.				named.ca
>
>----------------------------------------------------------
>Here's just the first part of spu.txt:
>
>$ORIGIN edu.
>spu      IN SOA     adam.spu.edu. postmaster.spu.edu. ( 199610301 10800 1800 3600000 86400 )
>
>           IN NS      adam.spu.edu.
>           IN NS      dns1.nwnet.net.
>           IN NS      dns2.nwnet.net.
>           IN HINFO   " " "; Seattle Pacific University"
>           IN MX      10 paul.spu.edu.
>$ORIGIN spu.edu.
>loghost    IN CNAME   localhost.spu.edu.
>localhost  IN A       127.0.0.1
>ftp        IN CNAME   adam.spu.edu.
>gopher     IN CNAME   adam.spu.edu.
>news       IN CNAME   adam.spu.edu.
>banweb     IN CNAME   noah.spu.edu.
>www        IN CNAME   adam.spu.edu.
>mail       IN CNAME   paul.spu.edu.
>ns         IN CNAME   adam.spu.edu.
>otserver   IN CNAME   esther.spu.edu.
>spu-net    IN PTR     0.33.190.192.in-addr.arpa.
>
>2WDHUB01                                  IN A           199.237.187.20
>                                          IN MX          10      paul.spu.edu.
>
>Adam                                      IN A           192.190.33.9
>                                          IN MX          10      adam.spu.edu.
>
>Adam1                                     IN A           192.190.33.183
>                                          IN MX          10      Adam1.spu.edu.
>
>AIMCdesk                                  IN A           192.190.33.217
>                                          IN MX          10      paul.spu.edu.
>
>AIMCteach                                 IN A           192.190.33.218
>                                          IN MX          10      paul.spu.edu.
>
>ALEXHUB01                                 IN A           199.237.176.41
>                                          IN MX          10      paul.spu.edu.
>
>------------------------------------------
>
>And here's 160.txt, the first of the CIDR block reverse-lookup zones: 
>
>$ORIGIN 237.199.in-addr.arpa.
>160    IN SOA  adam.spu.edu. postmaster.spu.edu. ( 199509191 10800 1800 3600000 86400 )
>           IN NS      adam.spu.edu.
>           IN NS      dns1.nwnet.net.
>           IN NS      dns2.nwnet.net.
>           IN HINFO   " " "; Seattle Pacific University"
>
>$ORIGIN 160.237.199.in-addr.arpa.
>2        IN PTR ASH511A.spu.edu.
>3        IN PTR ASH511B.spu.edu.
>4        IN PTR ASH512A.spu.edu.
>5        IN PTR ASH512B.spu.edu.
>6        IN PTR ASH513A.spu.edu.
>7        IN PTR ASH513B.spu.edu.
>8        IN PTR ASH514A.spu.edu.
>9        IN PTR ASH514B.spu.edu.
>
>(removed a bunch)
>
>------------------------------
>
>I hope this helps.
>
>--
>-- Phil Rand <prand@spu.edu>, aka <postmaster@spu.edu>
>-- http://www.spu.edu/users/prand       (206) 281-2428
>-- Computer and Information Systems
>-- Seattle Pacific University
>-- 3307 3rd Ave. W., Seattle, WA  98119
>--------------------------------------------------------------------------

------------------------------------------------------------------------
Don Hurst                                     Internet: dlh@mcc.cc.tx.us
System Analyst                                Phone...: (817)299-8756
McLennan Community College                    FAX.....: (817)299-8747
1400 College Drive                            DEC A/S 1000-D/U v3.2C
Waco, TX  76708
------------------------------------------------------------------------

                 reply	other threads:[~1996-11-05 16:26 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox