RESTARTDNS(8)                                       RESTARTDNS(8)

     NAME
          restartdns - restart dns and mail problem report

     SYNOPSIS
          restartdns [ -f ]

     DESCRIPTION
          Restartdns automates restarting dns (see ndb(8)) safely and
          emailing a problem report.  You must be the hostowner to run
          it.  Typically restartdns is run from a cron job.  With no
          arguments, dns is restarted if there are broken dns pro-
          cesses or processes in “query lock wait” state.  In this
          case a snapshot of all dns processes is taken and saved to
          /n/other/user/dnssnap/host.pid.unixtime and notification
          email is sent.  The -f flag forces a restart.

          The script itself contains configuration information such as
          the list of legal host and the recipients of notification
          email.

          In Athens, the typical solution is to run restartdns on the
          dns server, currently atlas, as the hostowner, currently
          dennis.

     SOURCE
          /rc/bin/restartdns

     BUGS
          Due to namespace issues, drawterm(8) users of the restarted
          system will need to log back in to get proper name resolu-
          tion.

     SEE ALSO
          cron(8), ndb(8).

     Page 1                       Plan 9             (printed 3/29/24)