RE: About DNS (BIND) with Database

From: Simon Dick (simond_at_irrelevant.org)
Date: 11/17/03

  • Next message: Simon Gray: "Re: About DNS (BIND) with Database"
    To: Vahric MUHTARYAN <vahric@doruk.net.tr>
    Date: Mon, 17 Nov 2003 15:17:59 +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/)
    > > >
    > > > <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"
    > > >
    > >
    > >
    >
    >

    _______________________________________________
    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"


  • Next message: Simon Gray: "Re: About DNS (BIND) with Database"

    Relevant Pages

    • Re: FE/BE Replication Question
      ... OK - since the servers are in the same physical location, ... >The client had opted to use replication because they wanted each of the 12 ... >They do hide the design master and synchronize to a replica. ... Have you considered using a single server, with a single database, ...
      (microsoft.public.access.replication)
    • Re: FE/BE Replication Question
      ... >>All 3 of their servers are physically in the same location, ... > are on the same LAN, and direct synchronization is appropriate between ... >>The client had opted to use replication because they wanted each of the 12 ... >>copies of the database spread over the 3 servers. ...
      (microsoft.public.access.replication)
    • Re: MySQL Clustering
      ... The following solves replication breaking over the same auto int race ... Prior to inserting anything into this database, ... mysql> select * from users; ... the user has a random chance of hitting any of your database servers ...
      (freebsd-isp)
    • Re: FE/BE Replication Question
      ... >Thank you so much - I will definately investigate RWOP queries. ... >>>All 3 of their servers are physically in the same location, ... >>>The client had opted to use replication because they wanted each of the 12 ... >>>copies of the database spread over the 3 servers. ...
      (microsoft.public.access.replication)
    • Re: Errors in Directory Service Event Viewer
      ... >condition persists then please restore the database from a previous backup. ... >following directory partition. ... >Sites and Services for the KCC to create a spanning tree replication ... >- Add a Connection object to a domain controller that contains the directory ...
      (microsoft.public.windows.server.active_directory)