roothints - internal DNS [SEC=UNCLASSIFIED]

Thamm, Russell russell.thamm at dsto.defence.gov.au
Thu May 22 22:09:15 MDT 2014


UNCLASSIFIED

I was surprised to see this posting appear in the mailing list 10 days after I posted it. I had presumed that it was swallowed by a black hole (-:. In any case, I have resolved the issue.
My domain/forest was not at the correct functional level - I got the vital hint while trying to setup bind. 
So I blew away the SAMBA box, removed all traces from the AD, elevated the domain/forest to Windows Server 2003, reinstalled Centos and SAMBA from scratch and all appears to be working correctly.

-----Original Message-----
From: samba-technical-bounces at lists.samba.org [mailto:samba-technical-bounces at lists.samba.org] On Behalf Of Thamm, Russell
Sent: Tuesday, 13 May, 2014 4:15 p.m.
To: 'samba-technical at lists.samba.org'
Subject: roothints - internal DNS [SEC=UNCLASSIFIED]

UNCLASSIFIED

Hi,

I have setup a CentOS 6.5 box with SAMBA 4.1.7 as a second DC on a standalone Windows network that has a 2003 server as PDC.

Internal DNS is not working correctly. Name resolution using nslookup works but I am unable to connect with the RSAP DNS tool or the 2003 server DNS tool.

I think the problem is related to roothints.

# /usr/local/samba/bin/samba-tool dns roothints sambabox.mydomain.local ...
Password for[administrator at MYDOMAIN.LOCAL]:
ERROR(runtime : uncaught exception - (9714, 'WERR_DNS_ERROR_NAME_DOES_NOT_EXIST'
...

# /usr/local/samba/bin/samba-tool dns zoneinfo sambabox.mydomain.local .

produces the same error.

I get the following in the SAMBA log when I try to connect using the DNS tool:

DnssrvEnumRecords2 struct DnnssrvEnumRecords2
  in struct DnssrvEnumRecords2
      dwClientVersion   :DNS_CLIENT_VERSION_DOTNET (393216)
      dwSettingFlags    :0x00000000 (0)
      dwServerName      :*
        pwszServerName    : 'sambabox.mydomain.local'
      pszZone           :*
        pszZone           : '..RootHints'
      pszNodeName       : *
        pszNodeName       : '.'
      pszStartChild     :*
        pszStartChild     :''
      wRecordType       : DNS_TYPE_NS(2)
      fSelectFlag               : 0x00010018
      ...
      pszFiletrStart    :NULL
      pszFilterStop     :NULL
[2014/05/13] 08:49:59:925900, 1, pid=4542, effective(-,0), real(0,0)
../librpc/ndr.c:333(ndr_print_function_debug)

        DnssrvEnumRecords2: struct DnssrvEnumRecords2
          out struct DnssrvEnumRecords2
            pdwBufferLength     :*
               pwdBufferLength    :0x00000000 (0)
            pBuffer             :*
               pBuffer            :NULL
            result              :WERR_DNS_ERROR_NAME_DOES_NOT_EXIST


This is a standalone network with NO connection to anything else including the Internet.

I also have a Centos 6.4 box with SAMBA 4.06 that was setup as a PDC (full provisioning - different standalone network) and the RSAT DNS tool can connect to this OK.

I can query roothints and get zoneinfo for "." on this box.

Any ideas what I am doing wrong?

Cheers
Russell

















IMPORTANT: This email remains the property of the Department of Defence and is subject to the jurisdiction of section 70 of the Crimes Act 1914. If you have received this email in error, you are requested to contact the sender and delete the email.


 FONT>
...
Password for[administrator at MYDOMAIN.LOCAL]:
ERROR(runtime : uncaught exception - (9714, 'WERR_DNS_ERROR_NAME_DOES_NOT_EXIST'
...

# /usr/local/samba/bin/samba-tool dns zoneinfo sambabox.mydomain.local .

produces the same error.

I get the following in the SAMBA log when I try to connect using the DNS tool:

DnssrvEnumRecords2 struct DnnssrvEnumRecords2
  in struct DnssrvEnumRecords2
      dwClientVersion   :DNS_CLIENT_VERSION_DOTNET (393216)
      dwSettingFlags    :0x00000000 (0)
      dwServerName      :*
        pwszServerName    : 'sambabox.mydomain.local'
      pszZone           :*
        pszZone           : '..RootHints'
      pszNodeName       : *
        pszNodeName       : '.'
      pszStartChild     :*
        pszStartChild     :''
      wRecordType       : DNS_TYPE_NS(2)
      fSelectFlag               : 0x00010018
      ...
      pszFiletrStart    :NULL
      pszFilterStop     :NULL
[2014/05/13] 08:49:59:925900, 1, pid=4542, effective(-,0), real(0,0)
../librpc/ndr.c:333(ndr_print_function_debug)

        DnssrvEnumRecords2: struct DnssrvEnumRecords2
          out struct DnssrvEnumRecords2
            pdwBufferLength     :*
               pwdBufferLength    :0x00000000 (0)
            pBuffer             :*
               pBuffer            :NULL
            result              :WERR_DNS_ERROR_NAME_DOES_NOT_EXIST


This is a standalone network with NO connection to anything else including the Internet.

I also have a Centos 6.4 box with SAMBA 4.06 that was setup as a PDC (full provisioning - different standalone network) and the RSAT DNS tool can connect to this OK.

I can query roothints and get zoneinfo for "." on this box.

Any ideas what I am doing wrong?

Cheers
Russell

















IMPORTANT: This email remains the property of the Department of Defence and is subject to the jurisdiction of section 70 of the Crimes Act 1914. If you have received this email in error, you are requested to contact the sender and delete the email.



IMPORTANT: This email remains the property of the Department of Defence and is subject to the jurisdiction of section 70 of the Crimes Act 1914. If you have received this email in error, you are requested to contact the sender and delete the email.


More information about the samba-technical mailing list