Dynamic update of virtual hosting domains
Kevin Darcy
kcd at chrysler.com
Wed Jan 30 02:16:18 UTC 2008
You can have multiple zone definitions refer to a "portable" zone file,
or you can enable Dynamic Update on the domains, but you can't mix the two.
If you have a shared zone file, you'd still need to take care to update
the SOA serial number every time you make a change, and to arrange for a
reload of the relevant zone data. If you don't want to reload the
*whole* nameserver every time a change is made, then you're stuck with
doing individual zone reloads, which, together with updating the serial
#s, hardly seems less ugly than doing separate Dynamic Updates.
You could of course use some sort of database backend to all of this,
but that seems like even more overkill, unless you intend for this to
scale to many thousands of domains.
- Kevin
Peter Rabbitson wrote:
> Hello,
>
> I am hosting a number of domains by means of DNS based hosting. The domain
> zones look identical:
>
> $ORIGIN <domain>
> @ soa ns1.<hostingdomain>. ....
>
> @ ns ns1.<hostingdomain>.
> @ ns ns2.<hostingdomain>.
>
> @ mx 10 mx1.<hostingdomain>.
> @ mx 20 mx2.<hostingdomain>.
>
> www cname @
>
> @ a <IP of web server>
>
>
> Sometimes I need to change <IP of web server> automatically, however enabling
> dynamic updates on all (currently 9) virtual host domains seems ugly. I know I
> can use the DNAME RR, but from my googling it seems that it is not favored in
> todays infrastructure. Is there a way to organize things in such a manner, so
> that the A record can point to a single place which can be then dynamically
> updated?
>
> Thank you for any pointers.
>
> Peter
>
>
>
>
>
More information about the bind-users
mailing list