G
Guest
G'Day everyone
If the scripting list is more appropriate I apologise in advance - also names have been changed to protect the innocent ;-
The environment is comprised of W2K SP4 servers running in native mode, with two domains, a root place holder (example.com) and a child domain (child.example.com).
What I want to achieve is to redelegate the _msdcs node as a seperate AD zone replicated to the child domain. I have to perform this via automation. I use dnscmd.exe executed from within a vbscript (which does other installation and configuration also)
I have no problem performing this task via the GUI, however when I use the dnscmd.exe tool to configure this I get 4010 errors in the DNS Event Log. There are several variants on the same ID
Event Type: Erro
Event Source: DN
Event Category: Non
Event ID: 401
Date: 13/01/200
Time: 15:27:3
User: N/
Computer: SERVER
Description
The DNS server was unable to load a resource record (RR) from the directory at _ldap._tcp.dc._msdcs.example.com. in zone example.com. Use the DNS console to recreate this RR or check that the Active Directory is functioning properly and reload the zone. The event data contains the error.
Data
0000: 7b 00 00 00 {...
Event Type: Erro
Event Source: DN
Event Category: Non
Event ID: 401
Date: 13/01/200
Time: 15:27:3
User: N/
Computer: SERVER
Description
The DNS server was unable to load a resource record (RR) from the directory at _ldap._tcp.Default-First-Site-Name._sites.gc._msdcs.example.com. in zone example.com. Use the DNS console to recreate this RR or check that the Active Directory is functioning properly and reload the zone. The event data contains the error.
Data
0000: 7b 00 00 00 {...
Event Type: Erro
Event Source: DN
Event Category: Non
Event ID: 401
Date: 13/01/200
Time: 15:27:3
User: N/
Computer: SERVER
Description
The DNS server was unable to load a resource record (RR) from the directory at _ldap._tcp.gc._msdcs.example.com. in zone example.com. Use the DNS console to recreate this RR or check that the Active Directory is functioning properly and reload the zone. The event data contains the error.
Data
0000: 7b 00 00 00 {...
I can resolve this by
1) deleting the _msdcs.example.com zone, and the _msdcs (delegated) node under the example.com domain
2) stop and restart the netlogon servic
MANUAL PROCES
The _msdcs is replaced as a node beneath example.com again. Via the GUI I can delete this node, and create a new forward lookup zone called _msdcs.example.com and everything works fine (all the sub nodes beneath _msdcs are present). No further errors appear in the Event Log
AUTOMATED PROCES
The manual process above works fine. If I translate that into dnscmd.exe steps (below)
1) dnscmd.exe . /deletenode example.com _msdcs /
2) dnscmd.exe . /zoneadd _msdcs.example.com /DsPrimar
I appear to get the same result. The errors go away and the zone is present, however none of the nodes beneath _msdcs.example.com are present
I did a further test where I manually deleted the node (step 1 above) and used dnscmd.exe to recreate the zone, and the issue persisted. If I use the dnscmd.exe to delete the node and create it again by hand (step 2 above) it also works fine. This indicates that dnscmd.exe has an issue creating this zone correctly
Can anyone offer a solution to this, or provide further information? I am wondering if this might be better done through WMI
TI
Adam
If the scripting list is more appropriate I apologise in advance - also names have been changed to protect the innocent ;-
The environment is comprised of W2K SP4 servers running in native mode, with two domains, a root place holder (example.com) and a child domain (child.example.com).
What I want to achieve is to redelegate the _msdcs node as a seperate AD zone replicated to the child domain. I have to perform this via automation. I use dnscmd.exe executed from within a vbscript (which does other installation and configuration also)
I have no problem performing this task via the GUI, however when I use the dnscmd.exe tool to configure this I get 4010 errors in the DNS Event Log. There are several variants on the same ID
Event Type: Erro
Event Source: DN
Event Category: Non
Event ID: 401
Date: 13/01/200
Time: 15:27:3
User: N/
Computer: SERVER
Description
The DNS server was unable to load a resource record (RR) from the directory at _ldap._tcp.dc._msdcs.example.com. in zone example.com. Use the DNS console to recreate this RR or check that the Active Directory is functioning properly and reload the zone. The event data contains the error.
Data
0000: 7b 00 00 00 {...
Event Type: Erro
Event Source: DN
Event Category: Non
Event ID: 401
Date: 13/01/200
Time: 15:27:3
User: N/
Computer: SERVER
Description
The DNS server was unable to load a resource record (RR) from the directory at _ldap._tcp.Default-First-Site-Name._sites.gc._msdcs.example.com. in zone example.com. Use the DNS console to recreate this RR or check that the Active Directory is functioning properly and reload the zone. The event data contains the error.
Data
0000: 7b 00 00 00 {...
Event Type: Erro
Event Source: DN
Event Category: Non
Event ID: 401
Date: 13/01/200
Time: 15:27:3
User: N/
Computer: SERVER
Description
The DNS server was unable to load a resource record (RR) from the directory at _ldap._tcp.gc._msdcs.example.com. in zone example.com. Use the DNS console to recreate this RR or check that the Active Directory is functioning properly and reload the zone. The event data contains the error.
Data
0000: 7b 00 00 00 {...
I can resolve this by
1) deleting the _msdcs.example.com zone, and the _msdcs (delegated) node under the example.com domain
2) stop and restart the netlogon servic
MANUAL PROCES
The _msdcs is replaced as a node beneath example.com again. Via the GUI I can delete this node, and create a new forward lookup zone called _msdcs.example.com and everything works fine (all the sub nodes beneath _msdcs are present). No further errors appear in the Event Log
AUTOMATED PROCES
The manual process above works fine. If I translate that into dnscmd.exe steps (below)
1) dnscmd.exe . /deletenode example.com _msdcs /
2) dnscmd.exe . /zoneadd _msdcs.example.com /DsPrimar
I appear to get the same result. The errors go away and the zone is present, however none of the nodes beneath _msdcs.example.com are present
I did a further test where I manually deleted the node (step 1 above) and used dnscmd.exe to recreate the zone, and the issue persisted. If I use the dnscmd.exe to delete the node and create it again by hand (step 2 above) it also works fine. This indicates that dnscmd.exe has an issue creating this zone correctly
Can anyone offer a solution to this, or provide further information? I am wondering if this might be better done through WMI
TI
Adam