roothints - internal DNS [SEC=UNCLASSIFIED]
Thamm, Russell
russell.thamm at dsto.defence.gov.au
Tue May 13 00:44:55 MDT 2014
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.
More information about the samba-technical
mailing list