LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-13-2018, 09:55 AM   #1
jmgibson1981
Member
 
Registered: Jun 2015
Location: Tucson, AZ USA
Distribution: Ubuntu LTS
Posts: 229

Rep: Reputation: Disabled
Bind9 Errors causing service stop.


Code:
● bind9.service - BIND Domain Name Server
   Loaded: loaded (/lib/systemd/system/bind9.service; enabled; vendor preset: enabled)
  Drop-In: /run/systemd/generator/bind9.service.d
           └─50-insserv.conf-$named.conf
   Active: active (running) since Thu 2018-07-12 09:43:21 MST; 8h ago
     Docs: man:named(8)
  Process: 6034 ExecStop=/usr/sbin/rndc stop (code=exited, status=0/SUCCESS)
 Main PID: 6042 (named)
    Tasks: 7
   Memory: 24.2M
      CPU: 55.988s
   CGroup: /system.slice/bind9.service
           └─6042 /usr/sbin/named -f -u bind

Jul 12 18:12:40 failbox named[6042]: REFUSED unexpected RCODE resolving 'log.dmtry.com/A/IN': 216.239.34.99#53
Jul 12 18:12:40 failbox named[6042]: network unreachable resolving 'log.dmtry.com/A/IN': 2001:4860:4802:34::63#53
Jul 12 18:12:41 failbox named[6042]: REFUSED unexpected RCODE resolving 'log.dmtry.com/A/IN': 216.239.32.99#53
Jul 12 18:12:41 failbox named[6042]: REFUSED unexpected RCODE resolving 'log.dmtry.com/A/IN': 216.239.38.99#53
Jul 12 18:12:41 failbox named[6042]: REFUSED unexpected RCODE resolving 'log.dmtry.com/A/IN': 216.239.36.99#53
Jul 12 18:12:41 failbox named[6042]: network unreachable resolving 'log.dmtry.com/A/IN': 2001:4860:4802:32::63#53
Jul 12 18:12:41 failbox named[6042]: network unreachable resolving 'log.dmtry.com/A/IN': 2001:4860:4802:36::63#53
Jul 12 18:12:41 failbox named[6042]: network unreachable resolving 'log.dmtry.com/A/IN': 2001:4860:4802:38::63#53
Jul 12 18:12:41 failbox named[6042]: REFUSED unexpected RCODE resolving 'log.dmtry.com/A/IN': 216.239.34.99#53
Jul 12 18:12:41 failbox named[6042]: network unreachable resolving 'log.dmtry.com/A/IN': 2001:4860:4802:34::63#53
Have got a script running every so often checking a few services for certain keywords in them. If found it logs the status, then restarts the service. The above status causes my bind server to stop working. The service keeps running but it doesn't resolve dns hence the reason I restart it. What does the above mean, any way to prevent it? This is on Ubuntu 16.04 LTS

Last edited by jmgibson1981; 07-13-2018 at 10:03 AM.
 
Old 07-13-2018, 03:27 PM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 12,214

Rep: Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683
Hi,
Quote:
Jul 12 18:12:40 failbox named[6042]: REFUSED unexpected RCODE resolving 'log.dmtry.com/A/IN': 216.239.34.99#53
Jul 12 18:12:40 failbox named[6042]: network unreachable resolving 'log.dmtry.com/A/IN': 2001:4860:4802:34::63#53
<snip>
These are legitimate logs of your server trying to resolve log.dmtry.com using 216.239.34.99 (google dns). For some reason (I guess a misconfiguration) the authoritative dns responds with a RCODE. So this is not a reason for your dns to stop working.

Quote:
Process: 6034 ExecStop=/usr/sbin/rndc stop (code=exited, status=0/SUCCESS)
Using the command above will stop named from running, thus you cannot resolve anything if your dns is the only resolver for your clients
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
IPSEC seems to stop working on every server I try causing to restart the service guntanemo Linux - Software 2 01-22-2018 08:57 PM
I need a service to stop or start rc.inet wla2_start(stop) igadoter Slackware 1 04-21-2017 03:12 PM
named/bind9 service takes a LONG time to stop krasl Linux - Server 2 12-05-2015 12:55 PM
auditd outputting errors at service start & stop cdhgee Fedora 8 08-08-2005 01:22 PM
ntp service causing huge time errors zoubidoo Linux - General 2 11-23-2004 10:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration