Rowland Penny
2025-Jul-03 10:59 UTC
[Samba] WERR_DNS_ERROR_DS_UNAVAILABLE when asking for local dns server info
On Thu, 3 Jul 2025 12:40:56 +0200 "CED Ing. Damiano Bolla via samba" <samba at lists.samba.org> wrote:> the FSMO is and was the same machine, no upgrades, with the version I > have indicated > > Il 2025-07-03 12:17 PM, Rowland Penny via samba ha scritto: > > On Thu, 3 Jul 2025 12:12:27 +0200 > > "CED Ing. Damiano Bolla via samba" <samba at lists.samba.org> wrote: > > > >> PS C:\Windows\system32> cmd /c ver > >> Microsoft Windows [Versione 6.0.6003] > >> > >> > > NO, not what it is now, what was it originally. > > > > It could make a very big difference to your dns. > > > > Rowland > > >Okay, what you posted would probably make it a 2008 DC, so I will ask in a different way, if you run this command on the Samba DC: samba-tool dns zonelist 127.0.0.1 --forward What is the output ? Rowland
CED Ing. Damiano Bolla
2025-Jul-03 11:15 UTC
[Samba] WERR_DNS_ERROR_DS_UNAVAILABLE when asking for local dns server info: WHERE TO LOOK
now, the answer I was looking for is: to know what service are started: set the debug level to 5 in smb.conf and have a look at startup messages in log.samba to know why the service is not working: look at error messages in log.samba when running the #? samba-tool dns serverinfo vdce -------------------------------------> Okay, what you posted would probably make it a 2008 DC, so I will ask > in a different way, if you run this command on the Samba DC: > > samba-tool dns zonelist 127.0.0.1 --forward > > What is the output ?There is no output, since the DCE crashes BUT nslookup works and has result for a direct and reverse zone however, I am digging up the logs to try to guess what is happening when using nslookup looking into it
CED Ing. Damiano Bolla
2025-Jul-03 11:55 UTC
[Samba] WERR_DNS_ERROR_DS_UNAVAILABLE when asking for local dns server info
I can confirm that nslookup can find the main zone and the reverse zones however, samba-tool dns zonelist fails with the following on log [2025/07/03 13:46:09.176503,? 2] source4/rpc_server/dnsserver/dnsdb.c:146(dnsserver_db_enumerate_zones) ? dnsserver: Found DNS zone 102.168.192.in-addr.arpa [2025/07/03 13:46:09.176539,? 1] librpc/ndr/ndr.c:733(_ndr_pull_error) ? ndr_pull_uint32: ndr_pull_error(Buffer Size Error): Pull bytes 4 (librpc/ndr/ndr_basic.c:193) at librpc/ndr/ndr_basic.c:193 yes, 102 is valid 192.168.102.0/24 is a test network I am using Il 2025-07-03 12:59 PM, Rowland Penny via samba ha scritto:> On Thu, 3 Jul 2025 12:40:56 +0200 > "CED Ing. Damiano Bolla via samba" <samba at lists.samba.org> wrote: > >> the FSMO is and was the same machine, no upgrades, with the version I >> have indicated >> >> Il 2025-07-03 12:17 PM, Rowland Penny via samba ha scritto: >>> On Thu, 3 Jul 2025 12:12:27 +0200 >>> "CED Ing. Damiano Bolla via samba" <samba at lists.samba.org> wrote: >>> >>>> PS C:\Windows\system32> cmd /c ver >>>> Microsoft Windows [Versione 6.0.6003] >>>> >>>> >>> NO, not what it is now, what was it originally. >>> >>> It could make a very big difference to your dns. >>> >>> Rowland >>> > Okay, what you posted would probably make it a 2008 DC, so I will ask > in a different way, if you run this command on the Samba DC: > > samba-tool dns zonelist 127.0.0.1 --forward > > What is the output ? > > Rowland > >