From owner-freebsd-questions Wed Jan 20 11:52:03 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA10032 for freebsd-questions-outgoing; Wed, 20 Jan 1999 11:52:03 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from java.dpcsys.com (java.dpcsys.com [206.16.184.7]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA09958 for ; Wed, 20 Jan 1999 11:52:01 -0800 (PST) (envelope-from dan@dpcsys.com) Received: from localhost (dan@localhost) by java.dpcsys.com (8.9.1a/8.9.1) with SMTP id LAA16167; Wed, 20 Jan 1999 11:51:49 -0800 (PST) Date: Wed, 20 Jan 1999 11:51:49 -0800 (PST) From: Dan Busarow To: Stan Brown cc: Free BSD Questions list Subject: Re: named questions In-Reply-To: <199901200356.TAA24029@hub.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 19 Jan 1999, Stan Brown wrote: > i want to run named in secondary mode, and add a machine or 2 to the > DNS at work. Obviously this will only work for machines that use this > amchine as the nameserver. That's prettty much what I want. > > Question, will this work? If it's a secondary, any hosts you add to the zone file will be removed by the next update from the primary. You have to be primary for local changes to persist. You could secondary the main domain and set yourself up as primary for a subdomain and add the hosts to that. secondary ourdomain.net 123.123.123.123 db.ourdomain primary us.ourdomain.net db.us.ourdomain would work if you don't want the hosts visible to anyone outside of us.ourdomain.net > 2nd question, is there a script to crate the database for named, given > an /etc/hosts file as input? Look for h2n or hton, not sure which is the correct name. Dan -- Dan Busarow 949 443 4172 Dana Point Communications, Inc. dan@dpcsys.com Dana Point, California 83 09 EF 59 E0 11 89 B4 8D 09 DB FD E1 DD 0C 82 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message