BIND w/ Lync?

Tony Finch dot at dotat.at
Tue Feb 3 11:48:38 UTC 2015


Stuart Henderson <stu at 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  <dot at 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.


More information about the bind-users mailing list