mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-03 08:05:21 +00:00
Add dns_master_style_cache
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: masterdump.h,v 1.17 2001/01/09 21:53:02 bwelling Exp $ */
|
/* $Id: masterdump.h,v 1.18 2001/01/12 19:58:51 bwelling Exp $ */
|
||||||
|
|
||||||
#ifndef DNS_MASTERDUMP_H
|
#ifndef DNS_MASTERDUMP_H
|
||||||
#define DNS_MASTERDUMP_H 1
|
#define DNS_MASTERDUMP_H 1
|
||||||
@@ -65,6 +65,12 @@ extern const dns_master_style_t dns_master_style_default;
|
|||||||
*/
|
*/
|
||||||
extern const dns_master_style_t dns_master_style_explicitttl;
|
extern const dns_master_style_t dns_master_style_explicitttl;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* A master style format designed for cache files. It prints explicit TTL
|
||||||
|
* values on each record line and never uses $ORIGIN or relative names.
|
||||||
|
*/
|
||||||
|
extern const dns_master_style_t dns_master_style_cache;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* A master style that prints name, ttl, class, type, and value on
|
* A master style that prints name, ttl, class, type, and value on
|
||||||
* every line. Similar to explicitttl above, but more verbose.
|
* every line. Similar to explicitttl above, but more verbose.
|
||||||
|
@@ -15,7 +15,7 @@
|
|||||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: masterdump.c,v 1.42 2001/01/09 21:51:03 bwelling Exp $ */
|
/* $Id: masterdump.c,v 1.43 2001/01/12 19:58:50 bwelling Exp $ */
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
@@ -147,6 +147,14 @@ dns_master_style_explicitttl = {
|
|||||||
24, 32, 32, 40, 80, 8
|
24, 32, 32, 40, 80, 8
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const dns_master_style_t
|
||||||
|
dns_master_style_cache = {
|
||||||
|
DNS_STYLEFLAG_OMIT_OWNER |
|
||||||
|
DNS_STYLEFLAG_OMIT_CLASS |
|
||||||
|
DNS_STYLEFLAG_MULTILINE,
|
||||||
|
24, 32, 32, 40, 80, 8
|
||||||
|
};
|
||||||
|
|
||||||
const dns_master_style_t
|
const dns_master_style_t
|
||||||
dns_master_style_simple = {
|
dns_master_style_simple = {
|
||||||
0,
|
0,
|
||||||
|
Reference in New Issue
Block a user