Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Nov 2003 15:17:59 +0000
From:      Simon Dick <simond@irrelevant.org>
To:        Vahric MUHTARYAN <vahric@doruk.net.tr>
Cc:        freebsd-isp@freebsd.org
Subject:   RE: About DNS (BIND) with Database
Message-ID:  <1069082279.677.100.camel@laptop.irrelevant.org>
In-Reply-To: <02a501c3ad18$abeea530$110d3ad4@VAHOXP>
References:  <02a501c3ad18$abeea530$110d3ad4@VAHOXP>

next in thread | previous in thread | raw e-mail | index | archive | help
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/)
> > > 
> > > <snip>
> > > 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).
> > > </snip>
> > > 
> > > 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"
> > > 
> > 
> > 
> 
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1069082279.677.100.camel>