From owner-freebsd-questions@FreeBSD.ORG Thu Dec 29 20:06:31 2005 Return-Path: X-Original-To: questions@freebsd.org 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 25D4C16A41F for ; Thu, 29 Dec 2005 20:06:31 +0000 (GMT) (envelope-from dave.list@pixelhammer.com) Received: from ecluster5.tls.net (ecluster5.tls.net [65.196.224.135]) by mx1.FreeBSD.org (Postfix) with SMTP id D263843D6D for ; Thu, 29 Dec 2005 20:06:14 +0000 (GMT) (envelope-from dave.list@pixelhammer.com) Received: (qmail 48560 invoked by uid 89); 29 Dec 2005 20:06:08 -0000 Received: from 64-184-10-248.bb.hrtc.net (HELO ?192.168.0.101?) (ldg%tls.net@64.184.10.248) by auth-ecluster5.tls.net with SMTP; 29 Dec 2005 20:06:08 -0000 Message-ID: <43B441A9.6080807@pixelhammer.com> Date: Thu, 29 Dec 2005 15:06:01 -0500 From: DAve User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: questions@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: Going from bind9 to djbdns X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Dec 2005 20:06:31 -0000 Kristian Vaaf wrote: > Hello! > > My friend, who hosts most of my stuff, is using djbdns. Probably for security and simplicity. > > Anyway I thought I'd do the same. But I'm having serious difficulties finding a user-friendly howto. > > I've basically picked stuff from here and there and put them together. > > Would this be what I need to set up a djbdns equivalent to http://www.home.no/hedhnta/namedb? Without reading through what you have (sorry, my hands are really full right now) I would suggest you check into http://lifewithdjbdns.org/ and DJB's own docs. The biggest issue you will face is, it is not as complicated as it seems. Follow the directions, join the list for djbdns. When posting to the list, outline what you are trying to do, what you have already tried, what sources of information you based your configuration on. Hope that helps. DAve > > -- > > Create users: > > tinydns > axfrdns > dnslog > dnscache > > -- > > Run these commands: > > mkdir /etc/tinydns > mkdir /etc/axfrdns > mkdir /etc/dnslog > mkdir /etc/dnscache > mkdir /etc/dnscache/root > mkdir /etc/dnscache/root/ip > mkdir /etc/dnscache/root/servers > > Should the above directories be set as home for the users above? > > -- > > Continue with: > > dnscache-conf dnscache dnslog /etc/dnscache 127.0.0.1 > > touch /etc/dnscache/root/ip/192.168.187.1 > touch /etc/dnscache/root/ip/192.168.187.2 > > echo 127.0.0.1 > /etc/dnscache/root/servers/mydomain.lan > echo 127.0.0.1 > /etc/dnscache/root/servers/187.168.192.in-addr.arpa > > tinydns-conf tinydns dnslog /etc/tinydns 213.187.181.70 > > axfrdns-conf axfrdns dnslog /etc/axfrdns /etc/tinydns 213.187.181.70 > > ln -s /etc/dnscache /service > ln -s /etc/tinydns /service > > svc -t /service/dnscache > > -- > > Would djbdns now have created this file for me? > > If so, can I skip this? If not, I take it I should: > > vim /etc/tinydns/data > > And type in: > > .mydomain.com::ns1.mydomain.com > @mydomain.com::mail.mydomain.com > =myhost.mydomain.com:213.181.112.43 > +mail.mydomain.com:213.181.112.43 > +www.mydomain.com:213.181.112.43 > > Then: > > cd /etc/tinydns > make > > -- > > To allow my 213.181.102.23 to be ns2.mydomain.com, I must do this? > > vi /etc/axfrdns/tcp > > And then type in: > > 213.181.102.23:allow,AXFR="*" > > I have a lot of domains. I want the ns2 to handle them all. > Is the wildcard "*" valid, or should I list them all? > > Anyway: > > cd /etc/axfrdns > make > > -- > > As for my zone files, I take it I could cram all my domains into the data file? > How would that look? > > -- > > That's it. > > I'm hoping that once everything is up, my configuration will be stored in files > that I can back up and easily redeploy incase of an accident (similar to my current > namedb setup I posted above). > > Thank you all, and happy new year! > Kristian Vaaf > > > _______________________________________________ > 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" > >