Stuart Henderson <s...@spacehopper.org> wrote:
> On 2015/02/02 21:51, Ray Van Dolson wrote:
> >
> > Unfortunately, the only solution I'm really seeing right now is an ugly
> > one -- setting up a new view for this set of clients and then creating
> > 25+ zones -- one zone per record I want to override (so that the
> > primary domain -- esri.com, still gets handled correctly).
>
> Wouldn't it be simpler to use two versions of esri.com, one for
> standard clients and one for special ones? Common records can be
> kept in an $INCLUDEd file.

Another option (if your zone is dynamic) is to use nsdiff, which generates
an nsupdate script based on the differences betwen zones. You can use it
to automatically copy changes from the main version of your zone to the
special VPN version. The tricky bit is writing a regular expression to
tell nsdiff to ignore changes to the Lync records.

Something like:

dig -k standard-view-key +noadditional esri.com axfr >db.esri
nsdiff -k vpn-view-key -i '^(_sip|lync)' esri.com db.esri | nsupdate

That regex is very sketchy so you will need to turn it into something more
precise.

Tony.
-- 
f.anthony.n.finch  <d...@dotat.at>  http://dotat.at/
Biscay, East Fitzroy: Northerly 4 or 5, veering northeasterly 5 to 7. Moderate
or rough. Rain or showers. Moderate or good.
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to