Best practice MultiView

Mark Andrews marka at isc.org
Mon Apr 17 10:12:08 UTC 2023


You use keys as well when sending notify to select which view processes the notify

> On 17 Apr 2023, at 18:44, Jiaming Zhang <J.Zhang at yiximeta.com> wrote:
> 
> Dear community,
> 
> I was wondering if notifying and updating zones in different view (say "internal" and "external") between bind servers via different key is a good practice. I got a sample zone/config like below: 
> ```
> view "internal" {   zone "example.com" IN {
>     # some other config, master zone
>     allow-transfer { key key1; };
>     notify yes;
>   };
>   # some more zone
> }
> view "external" {
>   zone "example.com" IN {
>     # some other config, master zone
>     allow-transfer { key key2; };
>     notify yes;
>   };
> }
> ```
> where both zones have the same name server (e.g. `ns1.example.com` and `ns2.example.com`). What I'm trying to archive is that and update on zones in "internal" view does not contaminate zones in "external" view, or vice versa. I was wondering if using different key to limit update is a good practice, since I'm expecting "external" view on slave server will also receive notify upon update on "internal" zone at master, but just unable to query update due to incorrect key.
> 
> Kind Regards, 
> Jiaming Zhang
> 
> Yixi Meta
> Tel: +31 (6) 12 98 08 07
> Email: J.Zhang at yiximeta.com
> Website: yiximeta.com 
> 
> De informatie in dit bericht is uitsluitend bestemd voor de geadresseerde. Aan dit bericht en de bijlagen kunnen geen rechten worden ontleend. Heeft u deze e-mail onbedoeld ontvangen? Dan verzoeken wij u het te vernietigen en de afzender te informeren. Openbaar maken, kopiëren en verspreiden van deze e-mail of informatie uit deze e-mail is alleen toegestaan met voorafgaande schriftelijke toestemming van de afzender. Het Yixi Meta staat geregistreerd bij de Kamer van Koophandel in het handelsregister onder nummer 85744115.
> 
> The content of this message is intended solely for the addressee. No rights can be derived from this message or its attachments. If you are not the intended recipient, we kindly request you to delete the message and inform the sender. It is strictly prohibited to disclose, copy or distribute this email or the information inside it, without a written consent from the sender. Yixi Meta is registered with the Dutch Chamber of Commerce trade register with number 85744115.
> -- 
> Visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list
> 
> ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.
> 
> 
> bind-users mailing list
> bind-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users

-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742              INTERNET: marka at isc.org



More information about the bind-users mailing list