*BSD News Article 70225


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.vbc.net!garlic.com!news.scruz.net!kithrup.com!news.Stanford.EDU!agate!theos.com!riscan.riscan.com!van.istar!ott.istar!istar.net!winternet.com!nntp.primenet.com!news.cais.net!news.mathworks.com!news2.mathworks.com!newscaster-1.mcast.net!cs.tu-berlin.de!uni-erlangen.de!news.tu-chemnitz.de!irz401!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: DNS entry for other domain names?
Date: 4 Jun 1996 21:24:30 GMT
Organization: Private BSD site, Dresden
Lines: 27
Message-ID: <4p29ie$n21@uriah.heep.sax.de>
References: <4ovd78$1lv@nadine.teleport.com>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E

blake@pbgi.com (Blake Swensen) wrote:

> I want to have a DNS entry for other domain names at my site.
> 
> Is the best approach to add a new zone in named.boot (and would that be 
> primary or secondary?).  Or would the best approach be to add an A record to 
> my zone?

The best method is to make your name server a (private) secondary.
Get the address of the responsible primary(s), and add it as the
source in a secondary line in your named.boot:

secondary mcast.net            128.9.0.32 192.48.153.1     mcast.backup
secondary 224.in-addr.arpa     128.9.0.32 192.48.153.1     mcast.rev.backup

As you can see in the example, don't forget to also mirror the reverse
lookup zone.

named will do the actual mirroring for you, and back it into the named
files (by default, under /etc/namedb/).

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)