The block contains only precache settings: which domains to keep resolved at all times and how often to refresh them. It has three directives.
precached-domains-file names the file with the list of domains — one domain per line. precached-max-domains sets the ceiling on the number of domains taken from that file. precached-refresh-interval — how often to refresh.
Resolvers are not set here. The name-server line lives at the root of the configuration file, as does edns-udp-length. The block’s name suggests that all name resolution settings are gathered in it — that is not so.
The mechanism itself is described in precached-domains.
# the block is only about the cache; resolvers are set outside it name-server 10.1.2.3 edns-udp-length 1232 <dns> precached-domains-file /etc/pmta/precached-domains.txt precached-max-domains 500 precached-refresh-interval 5m </dns>
0 relations
3 articles
◇What the node tells about itself and through which channelsSeven observation surfaces: the web monitor, the console in four formats, the log, accounting, accounting search, metrics and export to external analytics.◇The watchdog that restarts the engineKeeps an eye on the engine and brings it back up after a crash by itself, sending a crash report to the postmaster address.◇How the policy for a receiver is assembledSettings are assembled from the most general pattern to the most precise; the order of blocks in the file means nothing.