source: hybrid/branches/releng-11/nanobsd/files/etc/crontab@ 14070

Last change on this file since 14070 was 13911, checked in by rick, 7 years ago

Stripping the number of resolvers unbound can use.

Unbound does not handle multiple resolvers well it internal 'logic' keeps
pounding and checking all resolvers making it a very slow process. By limiting
the count of resolvers it sould be more happy.

Count limititing is done using two-phase approch, firstly the initial resolvers
are limited to a fixed set of resolvers, secondly the list is updated based on
the results of the zone inquiries.

While here, ensure the listen is set on dynamic ranges ensuring failing
interfaces will not bring down the DNS server.

Making the list more limited and based on active resolvers.

  • Property svn:eol-style set to LF
  • Property svn:executable set to *
File size: 1.1 KB
Line 
1# /etc/crontab - root's crontab for FreeBSD
2#
3# $FreeBSD: src/etc/crontab,v 1.32.32.1 2008/11/25 02:59:29 kensmith Exp $
4#
5SHELL=/bin/sh
6PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
7HOME=/var/log
8#
9#minute hour mday month wday who command
10#
11*/5 * * * * root /usr/libexec/atrun
12#
13# Save some entropy so that /dev/random can re-seed on boot.
14*/11 * * * * operator /usr/libexec/save-entropy
15#
16# Rotate log files every hour, if necessary.
170 * * * * root newsyslog
18#
19# Perform daily/weekly/monthly maintenance.
201 3 * * * root periodic daily
2115 4 * * 6 root periodic weekly
2230 5 1 * * root periodic monthly
23#
24# Adjust the time zone if the CMOS clock keeps local time, as opposed to
25# UTC time. See adjkerntz(8) for details.
261,31 0-5 * * * root adjkerntz -a
27
28#
29# WL NanoBSD Custom Rules
30#
31# Write updates for ntp.drift to flash
320 12 * * * root /tools/store-ntpdrift
33# Nagios checks
34*/15 * * * * root /tools/check-inet-alive
35# Resolv optimizer
36*/15 * * * * root /tools/nameserver-shuffle cron
37# Autoritive zone file updater
380 * * * * root /tools/update-nsd-zones cron
Note: See TracBrowser for help on using the repository browser.