From: Tinderbox User
The file destination clause directs
- the channel
- to a disk file. It can include limitations
- both on how large the file is allowed to become, and how many
- versions
- of the file will be saved each time the file is opened.
-
- If you use the versions log file
- option, then
- named will retain that many backup
- versions of the file by
- renaming them when opening. For example, if you choose to keep
- three old versions
- of the file
- The size option for files is used
- to limit log
- growth. If the file ever exceeds the size, then named will
- stop writing to the file unless it has a versions option
- associated with it. If backup versions are kept, the files are
- rolled as
- described above and a new one begun. If there is no
+ the channel to a disk file. It can include additional
+ arguments to specify how large the file is allowed to
+ become before it is rolled to a backup file
+ (size), how many backup versions of
+ the file will be saved each time this happens
+ (versions), and the format to use
+ for naming backup versions (suffix).
+
+ The size option is used to limit
+ log file growth. If the file ever exceeds the specified
+ size, then named will stop writing to the
+ file unless it has a versions option
+ associated with it. If backup versions are kept, the files
+ are rolled as described below. If there is no
versions option, no more data will
- be written to the log
- until some out-of-band mechanism removes or truncates the log to
- less than the
- maximum size. The default behavior is not to limit the size of
- the
- file.
-
- Example usage of the size and
- versions options:
+ be written to the log until some out-of-band mechanism
+ removes or truncates the log to less than the maximum size.
+ The default behavior is not to limit the size of the file.
+
+ File rolling only occurs when the file exceeds the size
+ specified with the size option. No
+ backup versions are kept by default; any existing
+ log file is simply appended. The
+ versions option specifies
+ how many backup versions of the file should be kept.
+ If set to
+ The suffix option can be set to
+ either
+ Example usage of the size,
+ versions, and suffix
+ options:
channel_name {
( ( file path_name
[ versions ( number | unlimited ) ]
- [ size size_spec ] )
+ [ size size_spec ]
+ [ suffix ( increment | timestamp ) )
| syslog syslog_facility
| stderr
| null ) ;
@@ -1357,61 +1358,68 @@
lamers.log, then just
- before it is opened
- lamers.log.1 is renamed to
- lamers.log.2, lamers.log.0 is renamed
- to lamers.log.1, and lamers.log is
- renamed to lamers.log.0.
- You can say versions unlimited to
- not limit
- the number of versions.
- If a size option is associated with
- the log file,
- then renaming is only done when the file being opened exceeds the
- indicated size. No backup versions are kept by default; any
- existing
- log file is simply appended.
- unlimited, there is no limit.
+ increment or
+ timestamp. If set to
+ timestamp, then when a log file is
+ rolled, it is saved with the current timestamp as a
+ file suffix. If set to increment,
+ then backup files are saved with incrementing numbers
+ as suffixes; older files are renamed when rolling.
+ For example, if versions
+ is set to 3 and suffix to
+ increment, then when
+ filename.log reaches the size
+ specified by size,
+ filename.log.1 is renamed to
+ filename.log.2,
+ filename.log.0 is renamed
+ to filename.log.1,
+ and filename.log is
+ renamed to filename.log.0,
+ whereupon a new filename.log is
+ opened.
+ channel an_example_channel {
- file "example.log" versions 3 size 20m;
+ file "example.log" versions 3 size 20m suffix increment;
print-time yes;
print-category yes;
};
@@ -2427,306 +2435,307 @@ badresp:1,adberr:0,findfail:0,valfail:0]
statement in the named.conf file:
options { - [ attach-cachecache_name; ] - [ versionversion_string; ] - [ hostnamehostname_string; ] - [ server-idserver_id_string; ] - [ directorypath_name; ] - [ dnstap {message_type; ... }; ] - [ dnstap-output (file|unix)path_name; ] - [ dnstap-identity (string|hostname|none); ] - [ dnstap-version (string|none); ] - [ fstrm-set-buffer-hintnumber; ] - [ fstrm-set-flush-timeoutnumber; ] - [ fstrm-set-input-queue-sizenumber; ] - [ fstrm-set-output-notify-thresholdnumber; ] - [ fstrm-set-output-queue-model (mpsc| -spsc) ; ] - [ fstrm-set-output-queue-sizenumber; ] - [ fstrm-set-reopen-intervalnumber; ] - [ geoip-directorypath_name; ] - [ key-directorypath_name; ] - [ managed-keys-directorypath_name; ] - [ named-xferpath_name; ] - [ tkey-gssapi-keytabpath_name; ] - [ tkey-gssapi-credentialprincipal; ] - [ tkey-domaindomainname; ] - [ tkey-dhkeykey_namekey_tag; ] - [ cache-filepath_name; ] - [ dump-filepath_name; ] - [ bindkeys-filepath_name; ] - [ lock-filepath_name; ] - [ secroots-filepath_name; ] - [ session-keyfilepath_name; ] - [ session-keynamekey_name; ] - [ session-keyalgalgorithm_id; ] - [ memstatisticsyes_or_no; ] - [ memstatistics-filepath_name; ] - [ pid-filepath_name; ] - [ recursing-filepath_name; ] - [ statistics-filepath_name; ] - [ zone-statisticsfull|terse|none; ] - [ auth-nxdomainyes_or_no; ] - [ nxdomain-redirectstring; ] - [ deallocate-on-exityes_or_no; ] - [ dialupdialup_option; ] - [ fake-iqueryyes_or_no; ] - [ fetch-glueyes_or_no; ] - [ flush-zones-on-shutdownyes_or_no; ] - [ has-old-clientsyes_or_no; ] - [ host-statisticsyes_or_no; ] - [ host-statistics-maxnumber; ] - [ minimal-anyyes_or_no; ] - [ minimal-responses (yes_or_no|no-auth|no-auth-recursive); ] - [ multiple-cnamesyes_or_no; ] - [ notifyyes_or_no|explicit|master-only; ] - [ recursionyes_or_no; ] - [ send-cookieyes_or_no; ] - [ require-server-cookieyes_or_no; ] - [ cookie-algorithmalgorithm_id; ] - [ cookie-secretsecret_string; ] - [ nocookie-udp-sizenumber; ] - [ request-nsidyes_or_no; ] - [ rfc2308-type1yes_or_no; ] - [ use-id-poolyes_or_no; ] - [ maintain-ixfr-baseyes_or_no; ] - [ ixfr-from-differences (yes_or_no|master|slave); ] - [ auto-dnssecallow|maintain|off; ] - [ dnssec-enableyes_or_no; ] - [ dnssec-validation (yes_or_no|auto); ] - [ dnssec-lookaside (auto| -no| -domaintrust-anchordomain); ] - [ dnssec-must-be-securedomain yes_or_no; ] - [ dnssec-accept-expiredyes_or_no; ] - [ forward (only|first); ] - [ forwarders { [ip_addr[portip_port] [dscpip_dscp] ; ... ] }; ] - [ dual-stack-servers [portip_port] [dscpip_dscp] { - (domain_name[portip_port] [dscpip_dscp] | -ip_addr[portip_port] [dscpip_dscp]) ; - ... }; ] - [ check-names (master|slave|response) - (warn|fail|ignore); ] - [ check-dup-records (warn|fail|ignore); ] - [ check-mx (warn|fail|ignore); ] - [ check-wildcardyes_or_no; ] - [ check-integrityyes_or_no; ] - [ check-mx-cname (warn|fail|ignore); ] - [ check-srv-cname (warn|fail|ignore); ] - [ check-siblingyes_or_no; ] - [ check-spf (warn|ignore); ] - [ allow-new-zones {yes_or_no}; ] - [ allow-notify {address_match_list}; ] - [ allow-query {address_match_list}; ] - [ allow-query-on {address_match_list}; ] - [ allow-query-cache {address_match_list}; ] - [ allow-query-cache-on {address_match_list}; ] - [ allow-transfer {address_match_list}; ] - [ allow-recursion {address_match_list}; ] - [ allow-recursion-on {address_match_list}; ] - [ allow-update {address_match_list}; ] - [ allow-update-forwarding {address_match_list}; ] - [ automatic-interface-scan {yes_or_no}; ] - [ geoip-use-ecsyes_or_no;] - [ update-check-kskyes_or_no; ] - [ dnssec-update-mode (maintain|no-resign); ] - [ dnssec-dnskey-kskonlyyes_or_no; ] - [ dnssec-loadkeys-intervalnumber; ] - [ dnssec-secure-to-insecureyes_or_no;] - [ try-tcp-refreshyes_or_no; ] - [ allow-v6-synthesis {address_match_list}; ] - [ blackhole {address_match_list}; ] - [ keep-response-order {address_match_list}; ] - [ no-case-compress {address_match_list}; ] - [ message-compressionyes_or_no; ] - [ use-v4-udp-ports {port_list}; ] - [ avoid-v4-udp-ports {port_list}; ] - [ use-v6-udp-ports {port_list}; ] - [ avoid-v6-udp-ports {port_list}; ] - [ listen-on [ portip_port] [dscpip_dscp] {address_match_list}; ] - [ listen-on-v6 [ portip_port] [dscpip_dscp] -{address_match_list}; ] - [ query-source ( (ip4_addr|*) - [ port (ip_port|*) ] - [ dscpip_dscp] | - [ address (ip4_addr|*) ] - [ port (ip_port|*) ] ) - [ dscpip_dscp] ; ] - [ query-source-v6 ( (ip6_addr|*) - [ port (ip_port|*) ] - [ dscpip_dscp] | - [ address (ip6_addr|*) ] - [ port (ip_port|*) ] ) - [ dscpip_dscp] ; ] - [ use-queryport-poolyes_or_no; ] - [ queryport-pool-portsnumber; ] - [ queryport-pool-updateintervalnumber; ] - [ max-transfer-time-innumber; ] - [ max-transfer-time-outnumber; ] - [ max-transfer-idle-innumber; ] - [ max-transfer-idle-outnumber; ] - [ reserved-socketsnumber; ] - [ recursive-clientsnumber; ] - [ tcp-clientsnumber; ] - [ clients-per-querynumber; ] - [ max-clients-per-querynumber; ] - [ fetches-per-servernumber[(drop | fail)]; ] - [ fetch-quota-paramsnumber fixedpoint fixedpoint fixedpoint; ] - [ fetches-per-zonenumber[(drop | fail)]; ] - [ notify-ratenumber; ] - [ startup-notify-ratenumber; ] - [ serial-query-ratenumber; ] - [ serial-queriesnumber; ] - [ tcp-listen-queuenumber; ] - [ transfer-format( one-answer | many-answers ); ] - [ transfer-message-sizenumber; ] - [ transfers-innumber; ] - [ transfers-outnumber; ] - [ transfers-per-nsnumber; ] - [ transfer-source (ip4_addr|*) [portip_port] [dscpip_dscp] ; ] - [ transfer-source-v6 (ip6_addr|*) [portip_port] [dscpip_dscp] ; ] - [ alt-transfer-source (ip4_addr|*) [portip_port] [dscpip_dscp] ; ] - [ alt-transfer-source-v6 (ip6_addr|*) [portip_port] [dscpip_dscp] ; ] - [ use-alt-transfer-sourceyes_or_no; ] - [ notify-delayseconds; ] - [ notify-source (ip4_addr|*) [portip_port] [dscpip_dscp] ; ] - [ notify-source-v6 (ip6_addr|*) [portip_port] [dscpip_dscp] ; ] - [ notify-to-soayes_or_no; ] - [ also-notify [portip_port] [dscpip_dscp] { (masters|ip_addr- [portip_port] ) [keykeyname] ; ... }; ] - [ max-ixfr-log-sizenumber; ] - [ max-journal-sizesize_spec; ] - [ coresizesize_spec; ] - [ datasizesize_spec; ] - [ filessize_spec; ] - [ stacksizesize_spec; ] - [ cleaning-intervalnumber; ] - [ heartbeat-intervalnumber; ] - [ interface-intervalnumber; ] - [ statistics-intervalnumber; ] - [ topology {address_match_list}]; - [ sortlist {address_match_list}]; - [ rrset-order {order_spec; [order_spec; ... ] ] }; - [ lame-ttlnumber; ] - [ max-ncache-ttlnumber; ] - [ max-cache-ttlnumber; ] - [ max-zone-ttl (unlimited|number; ] - [ serial-update-methodincrement|unixtime|date; ] - [ servfail-ttlnumber; ] - [ sig-validity-intervalnumber[number] ; ] - [ sig-signing-nodesnumber; ] - [ sig-signing-signaturesnumber; ] - [ sig-signing-typenumber; ] - [ min-rootsnumber; ] - [ use-ixfryes_or_no; ] - [ provide-ixfryes_or_no; ] - [ request-ixfryes_or_no; ] - [ request-expireyes_or_no; ] - [ treat-cr-as-spaceyes_or_no; ] - [ min-refresh-timenumber; ] - [ max-refresh-timenumber; ] - [ min-retry-timenumber; ] - [ max-retry-timenumber; ] - [ nta-lifetimeduration; ] - [ nta-recheckduration; ] - [ portip_port; ] - [ dscpip_dscp] ; - [ additional-from-authyes_or_no; ] - [ additional-from-cacheyes_or_no; ] - [ random-devicepath_name; ] - [ max-cache-sizesize_or_percent; ] - [ match-mapped-addressesyes_or_no; ] - [ filter-aaaa-on-v4 (yes_or_no|break-dnssec); ] - [ filter-aaaa-on-v6 (yes_or_no|break-dnssec); ] - [ filter-aaaa {address_match_list}; ] - [ dns64ipv6-prefix{ - [ clients {address_match_list}; ] - [ mapped {address_match_list}; ] - [ exclude {address_match_list}; ] - [ suffixIPv6-address; ] - [ recursive-onlyyes_or_no; ] - [ break-dnssecyes_or_no; ] - }; ]; - [ dns64-servername] - [ dns64-contactname] - [ preferred-glue (A|AAAA|NONE); ] - [ edns-udp-sizenumber; ] - [ max-udp-sizenumber; ] - [ max-rsa-exponent-sizenumber; ] - [ root-delegation-only [ exclude {namelist} ] ; ] - [ querylogyes_or_no; ] - [ disable-algorithmsdomain{algorithm; - [algorithm; ] }; ] - [ disable-ds-digestsdomain{digest_type; - [digest_type; ] }; ] - [ acache-enableyes_or_no; ] - [ acache-cleaning-intervalnumber; ] - [ max-acache-sizesize_spec; ] - [ max-recursion-depthnumber; ] - [ max-recursion-queriesnumber; ] - [ masterfile-format - (text|raw|map) ; ] - [ masterfile-style - (relative|full) ; ] - [ empty-servername; ] - [ empty-contactname; ] - [ empty-zones-enableyes_or_no; ] - [ disable-empty-zonezone_name; ] - [ zero-no-soa-ttlyes_or_no; ] - [ zero-no-soa-ttl-cacheyes_or_no; ] - [ resolver-query-timeoutnumber; ] - [ deny-answer-addresses {address_match_list} [ except-from {namelist} ];] - [ deny-answer-aliases {namelist} [ except-from {namelist} ];] - [ prefetchnumber[number] ; ] - - [ rate-limit { - [ responses-per-secondnumber; ] - [ referrals-per-secondnumber; ] - [ nodata-per-secondnumber; ] - [ nxdomains-per-secondnumber; ] - [ errors-per-secondnumber; ] - [ all-per-secondnumber; ] - [ windownumber; ] - [ log-onlyyes_or_no; ] - [ qps-scalenumber; ] - [ ipv4-prefix-lengthnumber; ] - [ ipv6-prefix-lengthnumber; ] - [ slipnumber; ] - [ exempt-clients {address_match_list} ; ] - [ max-table-sizenumber; ] - [ min-table-sizenumber; ] - } ; ] - [ response-policy { - zonezone_name- [ policy(given | disabled | passthru | drop | - tcp-only | nxdomain | nodata | cname domain) ] - [ recursive-onlyyes_or_no] - [ logyes_or_no] - [ max-policy-ttlnumber] - [ min-update-intervalnumber] - ; [...] - } [ recursive-onlyyes_or_no] - [ max-policy-ttlnumber] - [ min-update-intervalnumber] - [ break-dnssecyes_or_no] - [ min-ns-dotsnumber] - [ nsip-wait-recurseyes_or_no] - [ qname-wait-recurseyes_or_no] - [ automatic-interface-scanyes_or_no] - ; ] - [ catalog-zones { - zonequoted_string- [ default-masters - [portip_port] - [dscpip_dscp] - { (masters_list|ip_addr[portip_port] [keykey] ) ; [...] }] - [in-memoryyes_or_no] - [min-update-intervalinterval] - ; [...] }; - ; ] - [v6-biasnumber; ] -}; +options { + [ attach-cache@@ -3013,16 +3022,20 @@ badresp:1,adberr:0,findfail:0,valfail:0]cache_name; ] + [ versionversion_string; ] + [ hostnamehostname_string; ] + [ server-idserver_id_string; ] + [ directorypath_name; ] + [ dnstap {message_type; ... } ; ] + [ dnstap-output (file|unix)path_name[ sizesize_spec] [ versions (number|unlimited) ] ; ] + [ dnstap-identity (string|hostname|none) ; ] + [ dnstap-version (string|none) ; ] + [ fstrm-set-buffer-hintnumber; ] + [ fstrm-set-flush-timeoutnumber; ] + [ fstrm-set-input-queue-sizenumber; ] + [ fstrm-set-output-notify-thresholdnumber; ] + [ fstrm-set-output-queue-model (mpsc|spsc) ; ] + [ fstrm-set-output-queue-sizenumber; ] + [ fstrm-set-reopen-intervalnumber; ] + [ geoip-directorypath_name; ] + [ key-directorypath_name; ] + [ managed-keys-directorypath_name; ] + [ named-xferpath_name; ] + [ tkey-gssapi-keytabpath_name; ] + [ tkey-gssapi-credentialprincipal; ] + [ tkey-domaindomain_name; ] + [ tkey-dhkeykey_namekey_tag; ] + [ cache-filepath_name; ] + [ dump-filepath_name; ] + [ bindkeys-filepath_name; ] + [ lock-filepath_name; ] + [ secroots-filepath_name; ] + [ session-keyfilepath_name; ] + [ session-keynamekey_name; ] + [ session-keyalgalgorithm_id; ] + [ memstatisticsyes_or_no; ] + [ memstatistics-filepath_name; ] + [ pid-filepath_name; ] + [ recursing-filepath_name; ] + [ statistics-filepath_name; ] + [ zone-statistics (full|terse|none) ; ] + [ auth-nxdomainyes_or_no; ] + [ nxdomain-redirectstring; ] + [ deallocate-on-exityes_or_no; ] + [ dialupdialup_option; ] + [ fake-iqueryyes_or_no; ] + [ fetch-glueyes_or_no; ] + [ flush-zones-on-shutdownyes_or_no; ] + [ has-old-clientsyes_or_no; ] + [ host-statisticsyes_or_no; ] + [ host-statistics-maxnumber; ] + [ minimal-anyyes_or_no; ] + [ minimal-responses (yes_or_no|no-auth|no-auth-recursive) ; ] + [ multiple-cnamesyes_or_no; ] + [ notify (yes_or_no|explicit|master-only) ; ] + [ recursionyes_or_no; ] + [ send-cookieyes_or_no; ] + [ require-server-cookieyes_or_no; ] + [ cookie-algorithmalgorithm_id; ] + [ cookie-secretsecret_string; ] + [ nocookie-udp-sizenumber; ] + [ request-nsidyes_or_no; ] + [ rfc2308-type1yes_or_no; ] + [ use-id-poolyes_or_no; ] + [ maintain-ixfr-baseyes_or_no; ] + [ ixfr-from-differences (yes_or_no|master|slave) ; ] + [ auto-dnssec (allow|maintain|off) ; ] + [ dnssec-enableyes_or_no; ] + [ dnssec-validation (yes_or_no|auto) ; ] + [ dnssec-lookaside (auto|no|domaintrust-anchordomain) ; ] + [ dnssec-must-be-securedomain yes_or_no; ] + [ dnssec-accept-expiredyes_or_no; ] + [ forward (only|first) ; ] + [ forwarders { + (ip_addr[ portip_port] [ dscpip_dscp] ; ) + ... + } ; ] + [ dual-stack-servers [ portip_port] [ dscpip_dscp] { + ( (domain_name|ip_addr) [ portip_port] [ dscpip_dscp] ; ) + ... + } ; ] + [ check-names (master|slave|response) + (warn|fail|ignore) ; ] + [ check-dup-records (warn|fail|ignore) ; ] + [ check-mx (warn|fail|ignore) ; ] + [ check-wildcardyes_or_no; ] + [ check-integrityyes_or_no; ] + [ check-mx-cname (warn|fail|ignore) ; ] + [ check-srv-cname (warn|fail|ignore) ; ] + [ check-siblingyes_or_no; ] + [ check-spf (warn|ignore) ; ] + [ allow-new-zonesyes_or_no; ] + [ allow-notify {address_match_list} ; ] + [ allow-query {address_match_list} ; ] + [ allow-query-on {address_match_list} ; ] + [ allow-query-cache {address_match_list} ; ] + [ allow-query-cache-on {address_match_list} ; ] + [ allow-transfer {address_match_list} ; ] + [ allow-recursion {address_match_list} ; ] + [ allow-recursion-on {address_match_list} ; ] + [ allow-update {address_match_list} ] + [ allow-update-forwarding {address_match_list} ; ] + [ automatic-interface-scanyes_or_no; ] + [ geoip-use-ecsyes_or_no; ] + [ update-check-kskyes_or_no; ] + [ dnssec-update-mode (maintain|no-resign) ; ] + [ dnssec-dnskey-kskonlyyes_or_no; ] + [ dnssec-loadkeys-intervalnumber; ] + [ dnssec-secure-to-insecureyes_or_no; ] + [ try-tcp-refreshyes_or_no; ] + [ allow-v6-synthesis {address_match_list} ; ] + [ blackhole {address_match_list} ; ] + [ keep-response-order {address_match_list} ; ] + [ no-case-compress {address_match_list} ; ] + [ message-compressionyes_or_no; ] + [ use-v4-udp-ports {port_list} ; ] + [ avoid-v4-udp-ports {port_list} ; ] + [ use-v6-udp-ports {port_list} ; ] + [ avoid-v6-udp-ports {port_list} ; ] + [ listen-on [ portip_port] [ dscpip_dscp] {address_match_list} ; ] + [ listen-on-v6 [ portip_port] [ dscpip_dscp] {address_match_list} ; ] + [ query-source ( [ address ] (ip4_addr|*) ) + [ port (ip_port|*) ] [ dscpip_dscp] ] ; + [ query-source-v6 ( [ address ] (ip6_addr|*) ) + [ port (ip_port|*) ] [ dscpip_dscp] ] ; + [ use-queryport-poolyes_or_no; ] + [ queryport-pool-portsnumber; ] + [ queryport-pool-updateintervalnumber; ] + [ max-recordsnumber; ] + [ max-transfer-time-innumber; ] + [ max-transfer-time-outnumber; ] + [ max-transfer-idle-innumber; ] + [ max-transfer-idle-outnumber; ] + [ reserved-socketsnumber; ] + [ recursive-clientsnumber; ] + [ tcp-clientsnumber; ] + [ clients-per-querynumber; ] + [ max-clients-per-querynumber; ] + [ fetches-per-servernumber[ (drop|fail) ] ; ] + [ fetches-per-zonenumber[ (drop|fail) ] ; ] + [ fetch-quota-paramsnumber fixedpoint fixedpoint fixedpoint; ] + [ notify-ratenumber; ] + [ startup-notify-ratenumber; ] + [ serial-query-ratenumber; ] + [ serial-queriesnumber; ] + [ tcp-listen-queuenumber; ] + [ tcp-initial-timeoutnumber; ] + [ tcp-idle-timeoutnumber; ] + [ tcp-keepalive-timeoutnumber; ] + [ tcp-advertised-timeoutnumber; ] + [ transfer-format (one-answer|many-answers) ; ] + [ transfer-message-sizenumber; ] + [ transfers-innumber; ] + [ transfers-outnumber; ] + [ transfers-per-nsnumber; ] + [ transfer-source (ip4_addr|*) + [ portip_port] [ dscpip_dscp] ; ] + [ transfer-source-v6 (ip6_addr|*) + [ portip_port] [ dscpip_dscp] ; ] + [ alt-transfer-source (ip4_addr|*) + [ portip_port] [ dscpip_dscp] ; ] + [ alt-transfer-source-v6 (ip6_addr|*) + [ portip_port] [ dscpip_dscp] ; ] + [ use-alt-transfer-sourceyes_or_no; ] + [ notify-delayseconds; ] + [ notify-source (ip4_addr|*) + [ portip_port] [ dscpip_dscp] ; ] + [ notify-source-v6 (ip6_addr|*) + [ portip_port] [ dscpip_dscp] ; ] + [ notify-to-soayes_or_no; ] + [ also-notify [ portip_port] [ dscpip_dscp] { + (masters|ip_addr[ portip_port] ) [ keykey_name] ; + ... + } ; ] + [ max-ixfr-log-sizenumber; ] + [ max-journal-sizesize_spec; ] + [ coresizesize_spec; ] + [ datasizesize_spec; ] + [ filessize_spec; ] + [ stacksizesize_spec; ] + [ cleaning-intervalnumber; ] + [ heartbeat-intervalnumber; ] + [ interface-intervalnumber; ] + [ statistics-intervalnumber; ] + [ topology {address_match_list} ; ] + [ sortlist {address_match_list} ; ] + [ rrset-order {order_spec; ... } ; ] + [ lame-ttlnumber; ] + [ max-ncache-ttlnumber; ] + [ max-cache-ttlnumber; ] + [ max-zone-ttl (unlimited|number) ; ] + [ serial-update-method (increment|unixtime|date) ; ] + [ servfail-ttlnumber; ] + [ sig-validity-intervalnumber[number] ; ] + [ sig-signing-nodesnumber; ] + [ sig-signing-signaturesnumber; ] + [ sig-signing-typenumber; ] + [ min-rootsnumber; ] + [ use-ixfryes_or_no; ] + [ provide-ixfryes_or_no; ] + [ request-ixfryes_or_no; ] + [ request-expireyes_or_no; ] + [ treat-cr-as-spaceyes_or_no; ] + [ min-refresh-timenumber; ] + [ max-refresh-timenumber; ] + [ min-retry-timenumber; ] + [ max-retry-timenumber; ] + [ nta-lifetimeduration; ] + [ nta-recheckduration; ] + [ portip_port; ] + [ dscpip_dscp; ] + [ additional-from-authyes_or_no; ] + [ additional-from-cacheyes_or_no; ] + [ random-devicepath_name; ] + [ max-cache-sizesize_or_percent; ] + [ match-mapped-addressesyes_or_no; ] + [ filter-aaaa-on-v4 (yes_or_no|break-dnssec) ; ] + [ filter-aaaa-on-v6 (yes_or_no|break-dnssec) ; ] + [ filter-aaaa {address_match_list} ; ] + [ dns64ipv6-prefix{ + [ clients {address_match_list} ; ] + [ mapped {address_match_list} ; ] + [ exclude {address_match_list} ; ] + [ suffixip6-address; ] + [ recursive-onlyyes_or_no; ] + [ break-dnssecyes_or_no; ] + } ; ] + [ dns64-servername] + [ dns64-contactname] + [ preferred-glue (A|AAAA|none); ] + [ edns-udp-sizenumber; ] + [ max-udp-sizenumber; ] + [ response-padding {address_match_list} block-sizenumber; ] + [ max-rsa-exponent-sizenumber; ] + [ root-delegation-only [ exclude {namelist} ] ; ] + [ querylogyes_or_no; ] + [ disable-algorithmsdomain{algorithm; ... } ; ] + [ disable-ds-digestsdomain{digest_type; ... } ; ] + [ acache-enableyes_or_no; ] + [ acache-cleaning-intervalnumber; ] + [ max-acache-sizesize_spec; ] + [ max-recursion-depthnumber; ] + [ max-recursion-queriesnumber; ] + [ masterfile-format (text|raw|map) ; ] + [ masterfile-style (relative|full) ; ] + [ empty-servername; ] + [ empty-contactname; ] + [ empty-zones-enableyes_or_no; ] + [ disable-empty-zonezone_name; ] + [ zero-no-soa-ttlyes_or_no; ] + [ zero-no-soa-ttl-cacheyes_or_no; ] + [ resolver-query-timeoutnumber; ] + [ deny-answer-addresses {address_match_list} + [ except-from {namelist} ] ; ] + [ deny-answer-aliases {namelist} + [ except-from {namelist} ] ; ] + [ prefetchnumber[number] ; ] + [ rate-limit { + [ responses-per-secondnumber; ] + [ referrals-per-secondnumber; ] + [ nodata-per-secondnumber; ] + [ nxdomains-per-secondnumber; ] + [ errors-per-secondnumber; ] + [ all-per-secondnumber; ] + [ windownumber; ] + [ log-onlyyes_or_no; ] + [ qps-scalenumber; ] + [ ipv4-prefix-lengthnumber; ] + [ ipv6-prefix-lengthnumber; ] + [ slipnumber; ] + [ exempt-clients {address_match_list} ; ] + [ max-table-sizenumber; ] + [ min-table-sizenumber; ] + } ; ] + [ response-policy { + zonezone_name+ [ policy ( given | disabled | passthru | drop | + tcp-only | nxdomain | nodata | cnamedomain) ] + [ recursive-onlyyes_or_no] + [ logyes_or_no] + [ max-policy-ttlnumber] + [ min-update-intervalnumber] ; + ... + } [ recursive-onlyyes_or_no] + [ max-policy-ttlnumber] + [ min-update-intervalnumber] + [ break-dnssecyes_or_no] + [ min-ns-dotsnumber] + [ nsip-wait-recurseyes_or_no] + [ qname-wait-recurseyes_or_no] ; ] + [ catalog-zones { + zonequoted_string+ [default-masters[ portip_port] [ dscpip_dscp] { + (masters_list|ip_addr[portip_port] [ keykey_name] ) ; + ... + } ] + [ zone-directorypath_name] + [ in-memoryyes_or_no] + [ min-update-intervalinterval] ; + ... + } ; ] + [ v6-biasnumber; ] +} ; ]If the first argument is
file, then - two additional options can be added: + up to three additional options can be added: size indicates the size to which a dnstap log file can grow before being - rolled to a new file, and versions - specifies the number of rolled log files to retain. These - are similar to the size and - versions options in a - logging channel. The default - is to allow dnstap log files to grow to - any size without rolling. + rolled to a new file; versions + specifies the number of rolled log files to retain; and + suffix indicates whether to retain + rolled log files with an incrementing counter as the + suffix (increment) or with the + current timestamp (timestamp). + These are similar to the size, + versions, and suffix + options in a logging channel. + The default is to allow dnstap log + files to grow to any size without rolling.dnstap-output can only be set globally diff --git a/doc/arm/Bv9ARM.ch09.html b/doc/arm/Bv9ARM.ch09.html index 9f86867eeeb..964fac67dc7 100644 --- a/doc/arm/Bv9ARM.ch09.html +++ b/doc/arm/Bv9ARM.ch09.html @@ -210,6 +210,19 @@ [RT #44502]
+
+ Logging channels and dnstap-output files can
+ now be configured with a suffix option,
+ set to either increment or
+ timestamp, indicating whether log files
+ should be given incrementing suffixes when they roll
+ over (e.g., logfile.0,
+ .1, .2, etc)
+ or suffixes indicating the time of the roll. The default
+ is increment. [RT #42838]
+
dig +ednsopt now accepts the names diff --git a/doc/arm/notes.html b/doc/arm/notes.html index 1278bf3ea4b..c3ecad7a48e 100644 --- a/doc/arm/notes.html +++ b/doc/arm/notes.html @@ -173,6 +173,19 @@ [RT #44502]
+ Logging channels and dnstap-output files can
+ now be configured with a suffix option,
+ set to either increment or
+ timestamp, indicating whether log files
+ should be given incrementing suffixes when they roll
+ over (e.g., logfile.0,
+ .1, .2, etc)
+ or suffixes indicating the time of the roll. The default
+ is increment. [RT #42838]
+
dig +ednsopt now accepts the names