1 /* $NetBSD: namedconf.h,v 1.8 2025/01/26 16:25:45 christos Exp $ */ 2 3 /* 4 * Copyright (C) Internet Systems Consortium, Inc. ("ISC") 5 * 6 * SPDX-License-Identifier: MPL-2.0 7 * 8 * This Source Code Form is subject to the terms of the Mozilla Public 9 * License, v. 2.0. If a copy of the MPL was not distributed with this 10 * file, you can obtain one at https://mozilla.org/MPL/2.0/. 11 * 12 * See the COPYRIGHT file distributed with this work for additional 13 * information regarding copyright ownership. 14 */ 15 16 #pragma once 17 18 /*! \file isccfg/namedconf.h 19 * \brief 20 * This module defines the named.conf, rndc.conf, and rndc.key grammars. 21 */ 22 23 #include <isccfg/cfg.h> 24 25 /* 26 * Configuration object types. 27 */ 28 extern cfg_type_t cfg_type_namedconf; 29 /*%< A complete named.conf file. */ 30 31 extern cfg_type_t cfg_type_bindkeys; 32 /*%< A bind.keys file. */ 33 34 extern cfg_type_t cfg_type_newzones; 35 /*%< A new-zones file (for zones added by 'rndc addzone'). */ 36 37 extern cfg_type_t cfg_type_addzoneconf; 38 /*%< A single zone passed via the addzone rndc command. */ 39 40 extern cfg_type_t cfg_type_rndcconf; 41 /*%< A complete rndc.conf file. */ 42 43 extern cfg_type_t cfg_type_rndckey; 44 /*%< A complete rndc.key file. */ 45 46 extern cfg_type_t cfg_type_sessionkey; 47 /*%< A complete session.key file. */ 48 49 extern cfg_type_t cfg_type_keyref; 50 /*%< A key reference, used as an ACL element */ 51 52 /*%< Zone options */ 53 extern cfg_type_t cfg_type_zoneopts; 54 55 /*%< DNSSEC Key and Signing Policy options */ 56 extern cfg_type_t cfg_type_dnssecpolicyopts; 57