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