Author Topic: BIND DNS Keeps crashing.  (Read 1824 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
BIND DNS Keeps crashing.
« on: November 23, 2022, 04:07:38 AM »
My BIND DNS keeps crashing at random. Logs say the following:

Quote
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 2022-11-22 15:31:24 UTC; 12h ago
 Main PID: 19656 (code=killed, signal=KILL)

Nov 22 12:23:51 (myhostname).net named[19656]: client @0x7fe5600a9060 185.49.142.14#5300 (example.com): query (cache) 'example.com/A/IN' denied
Nov 22 13:02:26 (myhostname).net named[19656]: client @0x7fe5600b7690 193.118.55.162#49794 (testip.internet-census.org): query (cache) 'testip.internet-census.org/A/IN' denied
Nov 22 13:02:29 (myhostname).net named[19656]: client @0x7fe5600b7690 193.118.55.162#54504 (testip.internet-census.org): query (cache) 'testip.internet-census.org/A/IN' denied
Nov 22 13:06:16 (myhostname).net named[19656]: client @0x7fe5600a9060 36.33.24.5#37715 (192.236.179.173.lt1122.rdns.dnsmeasurement.com): query (cache) '192.236.179.173.lt1122.rdns.dnsmeasurement.com/TXT/IN' denied
Nov 22 13:23:49 (myhostname).net named[19656]: client @0x7fe5600a9060 185.49.142.14#5300 (example.com): query (cache) 'example.com/A/IN' denied
Nov 22 14:23:50 (myhostname).net named[19656]: client @0x7fe5600a9060 185.49.142.14#5300 (example.com): query (cache) 'example.com/A/IN' denied
Nov 22 15:23:50 (myhostname).net named[19656]: client @0x7fe5600a9060 185.49.142.14#5300 (example.com): query (cache) 'example.com/A/IN' denied
Nov 22 15:31:24 (myhostname).net systemd[1]: named.service: main process exited, code=killed, status=9/KILL
Nov 22 15:31:24 (myhostname).net systemd[1]: Unit named.service entered failed state.
Nov 22 15:31:24 (myhostname).nett systemd[1]: named.service failed.

I guess those denied things are causing it however the domains listed which are denied DO NOT exist in my named.conf (I've checked multiple times) and I cannot find where they are referenced to remove them to resolve this issue.

I'm hoping someone here will have some ideas?

(btw the "myhostname" is me hiding my hostname from this forum)

Offline
*
Re: BIND DNS Keeps crashing.
« Reply #1 on: November 25, 2022, 03:02:54 AM »
Never mind I think it's a RAM thing, does anyone know what the command to clear cache is so I can set up a cron job to do it every so often?? (so I don't have to log in and do it manually)