Tool

akarthikeyan's picture
tool
Reads:

4315

Score:
0
0
 
Comments:

0

Resolving DDNS Updates Failure After DHCP Migration from NetWare to OES

Author Info

22 February 2012 - 12:02pm
Submitted by: akarthikeyan

(View Disclaimer)

license: 
GPL

After migrating to OES DHCP server, you must delete the forward (A) and its PTR records which are created by NetWare DHCP server before a DDNS update is done. The following script deletes the forward (A) and its corresponding PTR records by reading the migrated DHCP lease db file.

Script Syntax:

./dhcp_oes.sh -l <lease_file>  -s <dns_server> 

Note: Using the -l option, you must specify the lease file of the DHCP server that is migrated to Linux

The example of command line execution of the script is:

./dhcp_oes.sh -l ./dhcpd.leases -s 164.99.100.134

Prerequisites:

Before executing this script, you must ensure that the following prerequisites are met:

a) requires Migrated DHCP lease DB file
b) In DNS server side, "allow-update any" should be enabled in forward & reverse zones.

  1. Login to DNS/DHCP  management console
  2. Select forward/reverse zone > control tab
  3. Select "allow-update any" option
  4. restart rcnovell-named service.

Important: After executing this script, you must delete empty objects from the eDirectory. To do this, you must execute the following command:

dns-maint -d <LDAP host name> <LDAP port number> <Admin DN> <Secure LDAP or Not (0 -> non-SSL, 1->SSL)> <Read from Locator (0->No, 1->Yes)> <Locator FDN> 

Example execution of the command is:

dns-maint -d 164.99.100.101 636 cn=admin,o=novell 1 1 cn=DNS-DHCP,ou=DNSDHCP,o=novell
AttachmentSize
ddns_update_script.tar.gz37.18 KB

Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).

It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.




User Comments

© 2013 Novell