How to fix DNS/DHCP after removing and re-installing Directory Services on a NetWare server

  • 7001595
  • 10-Oct-2008
  • 26-Apr-2012

Environment

Novell NetWare 5.1
Novell NetWare 5.0
Novell NetWare 4.2
Novell NetWare 4.11
Novell DNS DHCP Services

Situation

Removed and then reinstalled Directory Services on the server to fix NDS relates issues
How to fix DNS/DHCP after removing and re-installing Directory Services on a NetWare server

Resolution

1.  Start the DNS/DHCP Management console on a workstation and export all DNS zones and DHCP subnets to a file on the local hard drive
2.  Unload NAMED.NLM and DHCPSRVR.NLM on the problem server
3.  Unload DNS/DHCP Management console on the workstation
4.  Type DNIPINST -R at the server console and log-in as ADMIN

NOTE: this will remove the DNS/DHCP Schema extensions and all DNS/DHCP objects associated with that extension.  If there is an error during this process such as -644 (ERR_SCHEMA_IS_IN_USE), continue on with the process.  The main goal is to delete and then recreate the DNS/DHCP objects with a correct association with the new server object that was created when NDS was re-installed on the server

5.  Ensure the problem server is healthy by running the NDS Health Check Procedures found in TID 3564075
6.  Run the NDS Health Check also on the Master of Root server to verify that the tree is healthy before proceeding
7.  Run DNIPINST at the server console of the problem server to re-extend the DNS/DHCP schema and recreate the objects
8.  Launch the DNS/DHCP Management console from the workstation and re-create the DNS and DHCP server objects
9.  Import the DNS and DHCP information from the export file
10. Down and restart the server, verifying that NAMED.NLM and DHCPSRVR.NLM load without errors and that DNS/DHCP is operating correctly
***CAUTION: DO NOT run DNIPINST -R on a NetWare 6.5 server! It can cause the deletion of all the group objects in your tree.***  See KB 10090165 - DNIPINST -R removes all group objects in the tree.

Additional Information

Formerly known as TID# 10052178