/* * Copyright (C) Internet Systems Consortium, Inc. ("ISC") * * SPDX-License-Identifier: MPL-2.0 * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, you can obtain one at https://mozilla.org/MPL/2.0/. * * See the COPYRIGHT file distributed with this work for additional * information regarding copyright ownership. */ /* * The same zone in different views is using different DNSSEC policies, so it * may not use the same key-store directory. */ key "keyforview1" { algorithm "hmac-sha1"; secret "YPfMoAk6h+3iN8MDRQC004iSNHY="; }; key "keyforview2" { algorithm "hmac-sha1"; secret "4xILSZQnuO1UKubXHkYUsvBRPu8="; }; key-store "store1" { directory "keys"; }; key-store "store2" { directory "keys"; }; dnssec-policy "policy1" { keys { csk key-store "store1" lifetime unlimited algorithm 13; }; }; dnssec-policy "policy2" { keys { csk key-store "store2" lifetime unlimited algorithm 13; }; }; view "example1" { match-clients { key "keyforview1"; }; zone "example.net" { type primary; dnssec-policy "policy1"; file "example1.db"; }; }; view "example2" { match-clients { key "keyforview2"; }; zone "example.net" { type primary; dnssec-policy "policy2"; file "example2.db"; }; };