[Samba] Samba internal dns stops work on load

Günter Kukkukk linux at kukkukk.com
Sat Nov 16 20:40:44 MST 2013


Am 16.11.2013 23:20, schrieb José Neto:
> Hi!
> 
> I'm having some trouble with samba internal dns - it is acting as a
> forwarder too.
> 
> If a few users (1 or 2) are logged in, OK. But if more users are
> logged in, no name is resolved.
> So every (exactly) 10 minutes I see high IO usage (samba process
> writes about +500MB in disk, I don't know where) and samba logs:
> 
> ../source4/dsdb/dns/dns_update.c:294(dnsupdate_nameupdate_done)
> ../source4/dsdb/dns/dns_update.c:294: Failed DNS update - NT_STATUS_IO_TIMEOUT
> 
> Samba version: 4.0.11
> 
> Global section in smb.conf:
> 
> [global]
>         workgroup = MYDOMAIN
>         realm = mydomain.local
>         netbios name = SAMBA01
>         server role = active directory domain controller
>         log level = 0
>         log file = /usr/local/samba/var/smb.log.%m
>         os level = 50
>         allow dns updates = nonsecure and secure
>         dns forwarder = 208.67.220.220
> 
> OBS.: I provisioned the domain and used for a time samba version
> 4.2.0pre1-GIT-6ac6bf9
> 
> Thanks in advance!
> 

could be a mixed-up (strange) configuration.

About any 10 minutes the script
   /usr/local/samba/sbin/samba_dnsupdate    (depends on your install path)
is running, (at some higher debug level) logged like
   "Calling DNS name update script"

To get some more information:
  1.) stop samba
  2.) as root (e.g. sudo) run:
           /usr/local/samba/sbin/samba -i -M single -d3
      inside a console window
  3.) Carefully watch all the outcome

Btw - is your "dns forwarder = 208.67.220.220" (resolver2.opendns.com.)
always working?

Cheers, Günter



More information about the samba mailing list