Settng up Dynamic DNS with OES2 SP2
Assume the following setup:
Subnet: 192.168.1.0 with Mask: 255.255.255.0?Range: 192.168.1.10-192.168.1.50?Domain Name: yourdomainname.org?Domain Server: 192.168.1.1
Reminder: TSIG Key is not supported at this time in OES 2 Novell-DNS.
The basic concept is that you are going to mirror your DNS Configuration to your DHCP Config and add a couple of settings that each service needs in order to function correctly. Once this is complete, all zones will update properly and your services will work flawlessly. Especially services like ZENworks Configuration Management.
I have attached two screen shots from the Management Console so you can see what I am talking about. Also, this document is updated in a frame of mind that you already have DNS/DHCP Configured, you are just trying to get Dynamic DNS working.
The following instructions are for DNS in iManager. Please see OES 2 documentation for details:
- Create a new zone OR Modify your existing Zones:
- An in-addr.arpa zone similar to this: 1.168.192.in-addr.arpa zone (Type in the address normally in the boxes (192.168.1) leaving the last box blank. The application will complete the process to give you a 1.168.192.in-addr.arpa zone). This
- Make sure your Root Zone is alive and well. This was created when you installed OES2 into the tree -RootServerInfo
- View/Modify each of the zones and click on NEXT until you see UPDATE FILTER. Add an entry of “any” in the filter (default is blank) – This is CRITICAL and a Show Stopper – ALL ZONES must have this setting applied.
The following instructions are for DHCP in iManager. However you can use the new DNS/DHCP Management Console. NOTE – Modify the properties of your DNS/DHCP Management Console Shortcut & add a -c o=org after the paren in the shortcut path. i.e. – “C:\Program Files\Novell\DNSDHCP\star.exe” -c o=org – This is telling the Management Console where your locator objects are in eDirectory.
- Modify your Existing DHCP Server object and add the following two settings: This probably already exists. Just add the settings.
- ddns-rev-domainname in-addr.arpa
- ddns-update-style interim
- Create the following two zone objects: Note – Your Zones will basically mirror the zones in your DNS Config – Configured below:
- Zone Name: yourdomain.org with DNS Server IP address of 192.168.1.1
- Zone Name: 1.168.192.in-addr.arpa with DNS Server IP address of 192.168.1.1 – Remember, it matches your in-addr.arpa zone in DNS
- Create a subnet with the following settings:
Subnet IP Address: 192.168.1.0
- View/Modify the newly created subnet and add yourdomain.org for DNS Zone for Dynamic Update
- Create a Pool with the range specified at the beginning: Start of 192.168.1.10 and end of 192.168.1.50 – Your Pool is probably already there….
- View/Modify the newly create Pool and change DNS Update to Always Update
DHCP configuration is complete.
Remember, you will need a zone in DHCP for each zone in DNS. Please see the screen shots below:
DNS Configuration is complete.
- Start named (rcnovell-named start)
- Start dhcp (rcdhcpd start)
- Release and renew dhcp leases from the workstation
If the setup is not working, check the following files:
- /var/log/messages for error messages
- /var/lib/dhcp/db/dhcpd.leases. Along with the lease information you should see:
For a PTR record: set ddns-rev-name=”10.1.168.192.in-addr.arpa”
For an A record: set ddns-fwd-name=”workstation.noname.com”
- OR use your DNS/DHCP Management Console and watch the Zone Updates. You may beed to use the “Refresh Tree” button when you restart your services.
BTW this is an update to an existing Novell TID that is somewhat confusing to me. I hope this helps.
2010 Novell Knowledge Partner