Author Topic: DNS - Internal names stops resolving  (Read 260 times)

plarsson

  • Zen Apprentice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
DNS - Internal names stops resolving
« on: January 30, 2020, 12:33:02 pm »
I'm using zentyal as my DHCP and DNS server.
from time to time the DNS stops resolving addresses on my internal domain for a while.
So far I have not been able to figure out if there is an event that makes the domain start again, usually I just go to the zentyal webpage by IP and log in and at some point it seems to start working again.

I'm not sure where to start troubleshooting. Any ideas?

plarsson

  • Zen Apprentice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: DNS - Internal names stops resolving
« Reply #1 on: January 31, 2020, 02:48:30 am »
Ran:
sudo systemctl status samba-ad-dc.service

and noticed:
Jan 30 20:23:32 dc-002 samba[29638]: [2020/01/30 20:23:32.292633,  0] ../lib/util/util_runcmd.c:327(samba_runcmd_io_handler)
Jan 30 20:23:32 dc-002 samba[29638]:   /usr/sbin/samba_kcc: ldb_wrap open of secrets.ldb
Jan 30 20:28:32 dc-002 samba[29638]: [2020/01/30 20:28:32.415317,  0] ../lib/util/util_runcmd.c:327(samba_runcmd_io_handler)
Jan 30 20:28:32 dc-002 samba[29638]:   /usr/sbin/samba_kcc: ldb_wrap open of secrets.ldb
Jan 30 20:33:32 dc-002 samba[29638]: [2020/01/30 20:33:32.474230,  0] ../lib/util/util_runcmd.c:327(samba_runcmd_io_handler)
Jan 30 20:33:32 dc-002 samba[29638]:   /usr/sbin/samba_kcc: ldb_wrap open of secrets.ldb
Jan 30 20:38:32 dc-002 samba[29638]: [2020/01/30 20:38:32.520138,  0] ../lib/util/util_runcmd.c:327(samba_runcmd_io_handler)
Jan 30 20:38:32 dc-002 samba[29638]:   /usr/sbin/samba_kcc: ldb_wrap open of secrets.ldb
Jan 30 20:43:32 dc-002 samba[29638]: [2020/01/30 20:43:32.626901,  0] ../lib/util/util_runcmd.c:327(samba_runcmd_io_handler)
Jan 30 20:43:32 dc-002 samba[29638]:   /usr/sbin/samba_kcc: ldb_wrap open of secrets.ldb

Not sure if it's related or not?

azharoth71

  • Zen Apprentice
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Re: DNS - Internal names stops resolving
« Reply #2 on: February 01, 2020, 01:55:06 pm »
Me too :'(

doncamilo

  • Zen Samurai
  • ****
  • Posts: 331
  • Karma: +68/-1
    • View Profile
Re: DNS - Internal names stops resolving
« Reply #3 on: February 03, 2020, 12:48:07 am »
I'm using zentyal as my DHCP and DNS server.
from time to time the DNS stops resolving addresses on my internal domain for a while.
So far I have not been able to figure out if there is an event that makes the domain start again, usually I just go to the zentyal webpage by IP and log in and at some point it seems to start working again.

I'm not sure where to start troubleshooting. Any ideas?

 :)

The '/var/log/zentyal/zentyal.log' file uses to be a good site to begin the debugging process.

Search into 'zentyal.log' for errors and paste them here

Cheers!
"That place... is strong with the
dark side of the Force.  A domain
of evil it is.  In you must go."

Yoda.

tunsa

  • Zen Samurai
  • ****
  • Posts: 310
  • Karma: +11/-1
    • View Profile
Re: DNS - Internal names stops resolving
« Reply #4 on: February 09, 2020, 08:18:50 am »
i have this problem too  :-\

plarsson

  • Zen Apprentice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: DNS - Internal names stops resolving
« Reply #5 on: February 09, 2020, 02:12:09 pm »

I got into this state just now.
The log doesn't contain anything since yesterday morning (And at that time just information that I logged in to the web interface)
I was in this state at around 7:45am not sure when it started; and got out of it around 7:53(ish)- maybe a minute or so before that (Writing it here to help me if I need to look in log files later)

In samba service I still have:
Feb 09 07:37:09 dc-002 samba[2510]: [2020/02/09 07:37:09.630973,  0] ../lib/util/util_runcmd.c:327(samba_runcmd_io_handler)
Feb 09 07:37:09 dc-002 samba[2510]:   /usr/sbin/samba_kcc: ldb_wrap open of secrets.ldb
Feb 09 07:42:09 dc-002 samba[2510]: [2020/02/09 07:42:09.723072,  0] ../lib/util/util_runcmd.c:327(samba_runcmd_io_handler)
Feb 09 07:42:09 dc-002 samba[2510]:   /usr/sbin/samba_kcc: ldb_wrap open of secrets.ldb
Feb 09 07:47:09 dc-002 samba[2510]: [2020/02/09 07:47:09.774040,  0] ../lib/util/util_runcmd.c:327(samba_runcmd_io_handler)
Feb 09 07:47:09 dc-002 samba[2510]:   /usr/sbin/samba_kcc: ldb_wrap open of secrets.ldb
Feb 09 07:52:09 dc-002 samba[2510]: [2020/02/09 07:52:09.949345,  0] ../lib/util/util_runcmd.c:327(samba_runcmd_io_handler)
Feb 09 07:52:09 dc-002 samba[2510]:   /usr/sbin/samba_kcc: ldb_wrap open of secrets.ldb
Feb 09 07:57:10 dc-002 samba[2510]: [2020/02/09 07:57:10.002038,  0] ../lib/util/util_runcmd.c:327(samba_runcmd_io_handler)
Feb 09 07:57:10 dc-002 samba[2510]:   /usr/sbin/samba_kcc: ldb_wrap open of secrets.ldb

I also looked for other log files; didn't see anything of interest, but I'm not sure where to look (I think that Samba-AD-DC is what is handling the DNS? so that is why I looked at samba service) - the samba log file was really big; couldn't tell if it was errors or not- if it would be of help I can paste part of it

Thanks

doncamilo

  • Zen Samurai
  • ****
  • Posts: 331
  • Karma: +68/-1
    • View Profile
Re: DNS - Internal names stops resolving
« Reply #6 on: February 12, 2020, 10:54:23 pm »
 :)

I can't reproduce this behavior.

Could you give us some details about your system? There's some other domain controller? Do you have some other zone configured in your DNS server? If it's the case, it crashes too?  Do you configure some other network external to Zentyal to use the Zentyal DNS server?   Did you check the DNS server via the command line?  See here: https://forum.zentyal.org/index.php/topic,34866.msg113324.html#msg113324

Cheers!
"That place... is strong with the
dark side of the Force.  A domain
of evil it is.  In you must go."

Yoda.