From owner-freebsd-questions@FreeBSD.ORG Thu Feb 24 21:24:55 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3C81216A4CE for ; Thu, 24 Feb 2005 21:24:55 +0000 (GMT) Received: from dory.powerzone.net.au (dory.powerzone.net.au [203.23.237.240]) by mx1.FreeBSD.org (Postfix) with SMTP id EB4B643D4C for ; Thu, 24 Feb 2005 21:24:53 +0000 (GMT) (envelope-from michael@christie.org.au) Received: (qmail 74752 invoked by uid 1012); 24 Feb 2005 21:24:52 -0000 Received: from 202.81.98.166 by 203.23.237.240 (envelope-from , uid 1010) with qmail-scanner-1.24-st-qms (clamdscan: 0.80/630. perlscan: 1.24-st-qms. Clear:RC:0(202.81.98.166):. Processed in 0.598048 secs); 24 Feb 2005 21:24:52 -0000 X-Antivirus-dory.powerzone.net.au-Mail-From: michael@christie.org.au via 203.23.237.240 X-Antivirus-dory.powerzone.net.au: 1.24-st-qms (Clear:RC:0(202.81.98.166):. Processed in 0.598048 secs Process 74745) Received: from unknown (HELO 202.81.98.166) (michael@christie.org.au@202.81.98.166) by dory.powerzone.net.au with SMTP; 24 Feb 2005 21:24:51 -0000 From: michael Christie To: FreeBsd Questions In-Reply-To: <19861fba050224131817b752b9@mail.gmail.com> References: <005d01c519e8$97056f30$0701a8c0@darryl> <19861fba050224131817b752b9@mail.gmail.com> Content-Type: multipart/related; type="multipart/alternative"; boundary="=-oUSN2+uCS2XmjtqPAr9I" Date: Fri, 25 Feb 2005 08:27:10 +1100 Message-Id: <1109280430.5533.18.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 (2.0.2-3) X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Re: djbdns question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Feb 2005 21:24:55 -0000 --=-oUSN2+uCS2XmjtqPAr9I Content-Type: text/plain Content-Transfer-Encoding: 7bit Have a look at http://www.vegadns.org/ I have this set up on my dns server . it makes djddns a snap On Thu, 2005-02-24 at 22:18 +0100, J65nko BSD wrote: > On Wed, 23 Feb 2005 14:45:16 -0600, Darryl Hoar wrote: > > Greetings, > > I setup djbdns on a freebsd server attached to my internal network. > > It answers for the local machine on the domain for my internal while > > forwarding all others to our ISP for resolution. > > > > I set this up a 2 years ago and haven't needed to do a thing other > > than to add/remove machines. > > > > Well, now I need to change the domain name from osborneindustries.com > > to osborneinternal.com. Unfortunately, I haven't found any documentation > > that takes you through the changes to convert and already running > > tinydns/dnscache > > setup from one domain name to a different one. > > > > Anybody have any pointers here ? > > Change directory to the tinydns data directory (cd > /service/tinydns/root) , edit your tinydns data file. Editing can be > done in one sweep with > > # mv data data.old > # sed -e 's/osborneindustries.com/osborneinternal.com/g' data.old >data > > Now run "make" to generate a new "data.cdb" file from the edited > "data" file. Tinydns will notice the change, no need to start/stop or > give a -HUP to tinydns. > > > The only other thing left is to tell dnscache about the change. > > # cd /service/dnscache/root/servers > You will see a file called "osborneindustries.com" The contents of > that file is the IP address of your tinydns server. Rename this file > with "mv" to "osborneinternal.com" > > > =Adriaan= > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > Michael Christie michael@christie.org.au :) --=-oUSN2+uCS2XmjtqPAr9I--