One zone in 2 views
Michael Ludvig
mludvig at logix.net.nz
Fri Oct 4 08:36:14 UTC 2013
On 27/09/13 03:02, Evan Hunt wrote:
> On Thu, Sep 26, 2013 at 06:37:30PM +1200, Michael Ludvig wrote:
>> 1) If I have different example.com in internal and external view on ns1
>> (master) can I mirror them both to ns2's internal and external views?
>> Right now I can only do the internal and have no idea how to mirror the
>> external to ns2. Is it possible at all?
> Yes. You set up a TSIG key for the purpose, and configure ns1 like this:
>
> view internal {
> match-clients { !key ext-key; localhost; localnets; };
> ...
> };
>
> view external {
> match-clients { any; };
> };
> [...]
Excellent, thanks! This also solves my other problem - we update our
internal zones using a DDNS script (https://github.com/mludvig/ddns-cli)
but I had no idea how to update our external zones. Now I know - simply
use a different key! So obvious ;)
Thanks again
Michael
More information about the bind-users
mailing list