From owner-freebsd-isp@FreeBSD.ORG Mon Nov 17 07:18:39 2003 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 45EC816A4CE for ; Mon, 17 Nov 2003 07:18:39 -0800 (PST) Received: from home.irrelevant.org (dsl-217-155-238-246.zen.co.uk [217.155.238.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED59643FB1 for ; Mon, 17 Nov 2003 07:18:37 -0800 (PST) (envelope-from simond@irrelevant.org) Received: from [62.244.179.195] (helo=[192.168.195.58]) by home.irrelevant.org with asmtp (TLSv1:AES256-SHA:256) (Exim 4.24; FreeBSD 4.9) id 1ALl9A-000HdG-6m; Mon, 17 Nov 2003 15:18:36 +0000 From: Simon Dick To: Vahric MUHTARYAN In-Reply-To: <02a501c3ad18$abeea530$110d3ad4@VAHOXP> References: <02a501c3ad18$abeea530$110d3ad4@VAHOXP> Content-Type: text/plain Message-Id: <1069082279.677.100.camel@laptop.irrelevant.org> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Mon, 17 Nov 2003 15:17:59 +0000 Content-Transfer-Encoding: 7bit cc: freebsd-isp@freebsd.org Subject: RE: About DNS (BIND) with Database X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 15:18:39 -0000 How we do it is to have one master database which we have set as a replication master, this then replicates out to both ns0 and ns1 where it's read only, then we run MyDNS on each reading from the database running on the local machine. This way you can make changes to the zone data in the central database and every slave database automatically gets updated with the new data with no problems. We do have a couple of separate recursive bind servers on our network too on seperate servers (not needed, just the way it happened here) On Mon, 2003-11-17 at 14:39, Vahric MUHTARYAN wrote: > Do you have better idea for design or Could you tell your design ?! > > -----Original Message----- > From: Simon Dick [mailto:simond@irrelevant.org] > Sent: Monday, November 17, 2003 4:21 PM > To: Vahric MUHTARYAN > Cc: freebsd-isp@freebsd.org > Subject: RE: About DNS (BIND) with Database > > That looks as though it should work as all bind will do is do a normal > DNS lookup via MyDNS if they ask for one of your own domains. > > As to which one is better for secondary, the drawback with bind that I > found is that you have to rewrite it's ascii config file and reload it > to add or remove domains, with MyDNS you can just add or delete entries. > MyDNS does allow AXFR to a bind slave though so either will work, you > may just want to reload your bind slave config every so often to catch > additions and removals of domains. > > (I do replication personally as it effectively acts as a free backup of > the SQL database too :) > > On Mon, 2003-11-17 at 14:09, Vahric MUHTARYAN wrote: > > Ok , I want to test it if possible Could you check my design .. > > > > > > Bind9 ( name server x.x.x.2) > > Mydns x.x.x.3 ( > > database ) > > Bind9 ( name server x.x.x.1) > > Bind9 ( > > secondary ) > > > > in this environment ; > > > > My customers will use x.x.x.2 and x.x.x.1 for recursive query > > to solve local Domains and other domains which out side of us... and > > when customers want to register (take) new domain name they will give > a > > dns server x.x.x.3-Mydns .. > > > > And which one is better using secondary bind9 or replicated > > Mydns ... > > > > Vahric > > > > > > -----Original Message----- > > From: Simon Dick [mailto:simond@irrelevant.org] > > Sent: Monday, November 17, 2003 3:04 PM > > To: Vahric MUHTARYAN > > Cc: freebsd-isp@freebsd.org > > Subject: RE: About DNS (BIND) with Database > > > > MyDNS doesn't do recursive lookups so yes, you will need a seperate > name > > server for that. My work has been using MyDNS for over a year now and > > we're hosting over 50k domains with it with no problems, we use a > > replicated MySQL setup to run more than one name server with a local > db > > for speed. > > > > Hope that helps somewhat. > > > > On Mon, 2003-11-17 at 11:45, Vahric MUHTARYAN wrote: > > > Hi , > > > > > > How many domains are you handling with it ?! and How long do you > > > use MyDNS ?! > > > > > > And Do you say I have to use two seperate DNS server for solving > > > other domains instead MyDNS server handled domains ?! I mean I will > > add > > > domains to MyDNS and My customers will use to resolve something > > > different DNS Servers ?! > > > > > > Thanks > > > Vahric > > > > > > -----Original Message----- > > > From: Simon Gray [mailto:simong@desktop-guardian.com] > > > Sent: Monday, November 17, 2003 12:44 PM > > > To: Vahric MUHTARYAN; freebsd-isp@freebsd.org > > > Subject: Re: About DNS (BIND) with Database > > > > > > > Are anybody use BIND with Mysql database (BIND DNS 9 server which > > > > supports a MySQL backend ) any suggstion ?!!! Do you it's working > > > stable > > > > or not ?! > > > > > > > > Port name: bind9-sdb-mysql-9.2.2_1 > > > > > > > > > My i suggest giving MyDNS a look (http://mydns.bboy.net/) > > > > > > > > > MyDNS is a free DNS server for UNIX implemented from scratch and > > > designed to > > > serve records directly from an SQL database (currently either MySQL > or > > > PostgreSQL). > > > > > > > > > Easy to setup, easy to use. > > > I've been using it a while, seems to work well. (doesn't however > > include > > > a > > > resolver/cache, however these should be seperate from your name > > servers > > > with > > > the host files anyway - bind/tinydns could be run on a seperate > > machine > > > for > > > a resolver without any problems). > > > > > > /usr/ports/dns/mydns/ > > > > > > Hope this helps, > > > > > > Simon > > > > > > _______________________________________________ > > > freebsd-isp@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-isp > > > To unsubscribe, send any mail to > "freebsd-isp-unsubscribe@freebsd.org" > > > > > > > > >