[Samba] recreate/re-provision DNS db from scratch?

Marc Muehlfeld mmuehlfeld at samba.org
Wed Feb 25 13:17:13 MST 2015


Hello Bram,

Am 24.02.2015 um 22:04 schrieb Bram Matthys:
> # /usr/local/samba/bin/samba-tool dns zonelist 192.168.2.4
> ..
> Using binding ncacn_ip_tcp:192.168.2.4[,sign]
> Mapped to DCERPC endpoint 135
> added interface jnet ip=192.168.2.4 bcast=192.168.7.255 netmask=255.255.248.0
> added interface wifi ip=10.0.0.2 bcast=10.255.255.255 netmask=255.0.0.0
> added interface jnet ip=192.168.2.4 bcast=192.168.7.255 netmask=255.255.248.0
> added interface wifi ip=10.0.0.2 bcast=10.255.255.255 netmask=255.0.0.0
> ERROR(runtime): uncaught exception - (-1073741801, 'Memory allocation error')
>   File
> "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/__init__.py",
> line 175, in _run
>     return self.run(*args, **kwargs)
>   File "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/dns.py",
> line 809, in run
>     dns_conn = dns_connect(server, self.lp, self.creds)
>   File "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/dns.py",
> line 40, in dns_connect
>     dns_conn = dnsserver.dnsserver(binding_str, lp, creds)


Is 4.0.6 the last version, that works? Have you tried just the next (4.0.7)?


What happens if you connect to the second IP (10.0.0.2) instead? Or
127.0.0.1?


Please show the output of
# netstat -tulpn | grep :53



Regards,
Marc



More information about the samba mailing list