max-cache-ttl integer; transfer-format ( many-answers | one-answer ); max-cache-size size_no_default; check-names string string; // not implemented cache-file quoted_string; allow-query { address_match_element; ... }; allow-transfer { address_match_element; ... }; allow-update-forward...
max-cache-size:设置缓存的最大大小。 max-cache-ttl:设置缓存条目的最大生存时间。 min-cache-ttl:设置缓存条目的最小生存时间。 示例配置: 在/etc/bind/named.conf.options文件中添加或修改以下选项: plaintext options { // ... 其他配置 ... max-cache-size 100m; // 设置缓存最大大小为100MB max-...
options语句用来设置可以被整个BIND使用的全局选项。这个语句在每个配置文件中只有一处。如果出现多个options语句,则第一个options的配置有效,并且会产生一个警告信息。如果没有options语句,则每个选项使用缺省值。options { [ version version_string; ][ directory path_name; ][ named-xfer path_name; ][ tkey-...
[ min-retry-time number ; ] [ max-retry-time number ; ] [ port ip_port; ] [ additional-from-auth yes_or_no ; ] [ additional-from-cache yes_or_no ; ] [ random-device path_name ; ] [ max-cache-size size_spec ; ] [ match-mapped-addresses yes_or_no; ] }; version 回答...
max- cache- size size 用于指定内存缓存大小的最大值,默认没有限制 recursive- cl i ent s number 指定同时执行递归查询的最大值,默认为1000 zone “zone-name” IN { type 子句; file 子句; 其他子句; }; 子句 说明 t ype mast er / sl ave/ hi nt / f or war d ...
[ max-transfer-time-in number; ] [ max-transfer-time-out number; ] [ max-transfer-idle-in number; ] [ max-transfer-idle-out number; ] [ tcp-clients number; ] [ recursive-clients number; ] [ serial-query-rate number; ] [ serial-queries number; ] [ transfer-format ( one-answer ...
max-cache-size <size_no_default>;; check-names <string>; <string>;; // not implemented cache-file <quoted_string>;; allow-query { ;; ... }; allow-transfer { ;; ... }; allow-update-forwarding { ;; ... }; allow-notify { ;; ... }; notify <notifytype>;; notify-source ( ...
max-cache-size 选项 可以⽤于限制缓存所使⽤的内存数量,代价是减少缓存的命中率并带来更⼤的DNS 流量。另外, 如果附加部份的缓存(第6.2节)是打开的,max-acache-size 可以⽤于限制这个机制所使⽤ 的内存总量。最好的实践是保持⾜够的内存以装载所有的区并在内存中缓存数据- 不幸地,对给 定配置来...
MAX_CACHE_SIZE The amount of RAM used by the server to store results. You can use relative (percent) or absolute (bytes) values. Examples: MAX_CACHE_SIZE=30%(Use 30% of the systems memory) MAX_CACHE_SIZE=512M(Use 512 Megabytes) ...
max-cache-size can now be set to a percentage of available memory. The default is 90%. Update forwarding performance has been improved by allowing a single TCP connection to be shared by multiple updates. The EDNS Client Subnet (ECS) option is now supported for authoritative servers; if a ...