Author Topic: How auto restart "BIND DNS Server" if its stopped  (Read 7274 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
How auto restart "BIND DNS Server" if its stopped
« on: May 12, 2019, 09:44:28 AM »
Hello

I am fasing some issue with "BIND DNS Server"  . its some time going stop / failed . then I need to restart manually.

I  there any solution for automatically restart when its down ? like cron job that will check every 5 minute and restart if its down ?


thanks in advance
 

Offline
*
Re: How auto restart "BIND DNS Server" if its stopped
« Reply #1 on: May 13, 2019, 04:29:46 AM »
Follow the Section(s) :

Step 3: DNS and Part 12: Monit

https://www.awsmonster.com/p/cwp-installation-and-configuration_12.html

Offline
*
Re: How auto restart "BIND DNS Server" if its stopped
« Reply #2 on: June 08, 2021, 08:03:04 AM »
getting this error every 4 to 5 hours interval and dns server stops


Code: [Select]
● named.service - Berkeley Internet Name Domain (DNS)
   Loaded: loaded (/usr/lib/systemd/system/named.service; enabled; vendor preset: disabled)
   Active: failed (Result: signal) since Tue 2021-06-08 05:56:27 UTC; 2h 1min ago
 Main PID: 906 (code=killed, signal=KILL)

Jun 08 01:19:57 wadp.paxon.tech named[906]: client @0x7fda100a9060 88.80.186.137#62351 (amazon.com): query (cache) 'amazon.com/A/IN' denied
Jun 08 01:19:57 wadp.paxon.tech named[906]: client @0x7fda100a9060 88.80.186.137#62351 (77.236.7.3.in-addr.arpa): query (cache) '77.236.7.3.in-addr.arpa/PTR/IN' denied
Jun 08 01:19:57 wadp.paxon.tech named[906]: client @0x7fda100a9060 88.80.186.137#62351 (3-7-236-77-60bec111.spiderprobe.com): query (cache) '3-7-236-77-60bec111.spiderprobe.com/A/IN' denied
Jun 08 01:27:49 wadp.paxon.tech named[906]: client @0x7fda100a9060 203.159.80.44#40901 (rnp.br): query (cache) 'rnp.br/A/IN' denied
Jun 08 01:42:38 wadp.paxon.tech named[906]: client @0x7fda100a9060 120.79.20.228#10243 (nordstrom.com): query (cache) 'nordstrom.com/TXT/IN' denied
Jun 08 03:45:05 wadp.paxon.tech named[906]: client @0x7fda100a9060 74.82.47.18#56542 (dnsscan.shadowserver.org): query (cache) 'dnsscan.shadowserver.org/A/IN' denied
Jun 08 04:35:29 wadp.paxon.tech named[906]: client @0x7fda100a9060 211.65.193.150#34996 (3_7_236_77andcasdu.msyv4.njnet.edu.cn): query (cache) '3_7_236_77andcasdu.msyv4.njnet.edu.cn/A/IN' denied
Jun 08 05:56:27 wadp.paxon.tech systemd[1]: named.service: main process exited, code=killed, status=9/KILL
Jun 08 05:56:27 wadp.paxon.tech systemd[1]: Unit named.service entered failed state.
Jun 08 05:56:27 wadp.paxon.tech systemd[1]: named.service failed.