S4.0.4 Internal DNS problem: WERR_DNS_ERROR_DS_UNAVAILABLE after PDC being offline permanently.....

Amitay Isaacs amitay at gmail.com
Mon Apr 29 20:23:33 MDT 2013

On Thu, Apr 25, 2013 at 4:14 AM, Gilberto Jémenez Pineda <
gjpineda21 at gmail.com> wrote:

> The problem is:
> Two DC on my Active directory:
> 1st with Win2K8.R2 --- DC (DNS Master) --- server2k8.mydom.com
> 2nd with Samba 4.0.4 ---DC (Installed:
> http://wiki.samba.org/index.php/Samba4/HOWTO/Join_a_domain_as_a_DC)
> ----- samba-dc.mydom.com
> >>>>>Everything worked perfectly>>>>> 1000000 tanks for Samba Team.
> Some days ago, the hard disk in Win2K8.R2 DC broke down, PDC offline
> permanently..... I transferred all roles to samba-dc, Everything
> worked perfectly... DNS query Ok...
> But...
> Now, I can't manage the Samba Internal DNS, any action gave me an errors:
> root at samba-dc:~# samba-tool dns zonelist samba-dc.mydom.com -U
> administrator
> ERROR(runtime): uncaught exception - (9717,

This means that RPC dnsserver was unable to connect to SAM.  Are there any
error messages in the log when you start samba server?

> root at samba-dc:~# samba_dnsupdate --verbose
> Failed to find DNS entry SRV
> _ldap._tcp.bc1250b4-cb16-4260-8bc0-0c52cae768cf.domains._msdcs.mydom.com
> samba-dc.mydom.com 389
> couldn't get address for 'server2k8.mydom.com': not found
> >>>>>>> I see strange:
> root at samba-dc:~#  host -t SOA mydom.com
> mydom.com has SOA record server2k8.mydom.com. hostmaster.mydom.com.
> 4316 900 600 86400 3600
> root at samba-dc:~# host -t SRV _kerberos._tcp.mydom.com.
> _kerberos._tcp.mydom.com has SRV record 0 100 88 server2k8.mydom.com.
> _kerberos._tcp.mydom.com has SRV record 0 100 88 samba-dc.mydom.com.
> >>>>>>>>>>>>>>>>>>>>>>Please, how I can completely remove the Win2k8 DC?
> How to Fix DNS record to point to the Samba DC? This could eliminate errors
> and make available DNS management?
> samba-tool dns does not work, I made these using ldbedit? Who to?
> Hope you can help me.

First make sure that RPC dnsserver is working. Then all samba-tool dns
commands will start working. Samba-tool dns commands talk to RPC DNS server
and not internal DNS server.

Thanks in advance, and congratulations for your excellent work.
> Greetings.
> Gilberto

More information about the samba-technical mailing list