Solved

SBS2008 DHCP not updating DNS

Posted on 2014-02-18
11
814 Views
Last Modified: 2014-04-08
I have a Linux host in my SBS2008 domain that get its DHCP address from the SBS2008 server (see underlined entry in DHCP image). However, it does not put the DHCP IP into the DNS list so other hosts cannot get to it (see DNS image). I know I can put a static IP into the DNS list for this host, but I'd rather use DHCP. For DHCP > IPv4 Properties > DNS, I have "Enable DNS dynamic updates according to the settings below:", "Always dynamically update DNS A and PTR records", "Discard A and PTR records when lease is deleted", and "Dynamically update DNS A and PTR records for DHCP clients that do not request updates (for example, clients running Windows NT 4.0)". I also have DHCP > IPv4 Properties > Advanced > Credentials, set with the administrator ID and password.

What do I need to do to get this host into DNS (host 192.168.0.50 is another Linux host showing up in the DHCP leases, but not in the DNS)
DHCP.jpg
DNS.jpg
0
Comment
Question by:jmarkfoley
  • 6
  • 3
  • 2
11 Comments
 
LVL 19

Expert Comment

by:Miguel Angel Perez Muñoz
ID: 39867362
try configuring DHCP to register hosts on DNS: http://technet.microsoft.com/en-us/library/cc787034(WS.10).aspx
0
 
LVL 1

Author Comment

by:jmarkfoley
ID: 39867402
Yes, as stated in my initial post, I already have "Always dynamically update DNS A and PTR records" set, but it's not doing it. The DHCP lease obviously does have both the IP and the hostname, so I'm puzzled as to why it is not updating the DNS.
0
 
LVL 19

Expert Comment

by:Miguel Angel Perez Muñoz
ID: 39867425
Have you marked force update records? have you provided adequate user with privileges?
0
 
LVL 74

Expert Comment

by:Jeffrey Kane - TechSoEasy
ID: 39889810
Just
create a DHCP reservation for this machine and it will solve your problem.

Jeff
0
 
LVL 1

Author Comment

by:jmarkfoley
ID: 39903911
Sorry for the delay ...

Drashiel: > Have you marked force update records? have you provided adequate user with privileges?

Forced update is set, see image. The DNS properties has secure and non-secure set for DNS updates. Not sure where to find the user privileges settings, but I believe those are set to the system administrator. What would user privileges be for anyway? If DHCP is set up update DNS, what would privileges be needed for?

 Jeffrey Kane: > Just create a DHCP reservation for this machine and it will solve your problem.

Yes, this did have the effect of getting the reserved IP into the DNS list! However, it's not exactly what I want. For one thing, I need to set the MAC address to do a DHCP reservation, which means I'll have to remember that if/when I change the network hardware in the DHCP client. Is this just a "bug" in SBS 2008 in that it will only DNS register Windows-only DHCP clients? If so, I guess I'll live with the DHCP reservation solution.
0
Network it in WD Red

There's an industry-leading WD Red drive for every compatible NAS system to help fulfill your data storage needs. With drives up to 8TB, WD Red offers a wide array of solutions for customers looking to build the biggest, best-performing NAS storage solution.  

 
LVL 1

Author Comment

by:jmarkfoley
ID: 39913161
Correction: creating the DHCP reservation DOES NOT appear to do the trick. After rebooting the SBS 2008 server (after an update), the DHCP reservation shows in the DHCP manager, but is no longer in the DNS list.

Is this just a "bug" in SBS2008 whereby Microscoft simply doesn't like supporting non-Microsoft systems, or am I doing something fundamentally wrong?
0
 
LVL 74

Expert Comment

by:Jeffrey Kane - TechSoEasy
ID: 39914302
0
 
LVL 1

Author Comment

by:jmarkfoley
ID: 39930933
OK, I'm going to try this this weekend. I'll have to modify it a bit since I'm using slackware
0
 
LVL 74

Accepted Solution

by:
Jeffrey Kane - TechSoEasy earned 500 total points
ID: 39933527
You may have wanted to mention that in the first place:
http://www.slackwiki.com/DHCP_Hostname_Entry_in_DNS
0
 
LVL 1

Author Comment

by:jmarkfoley
ID: 39987885
Sorry for the delay - this question fell off my radar.

Jeffery Kane, that link seems to have done the trick! The short answer is to put the local/client hostname in the /etc/rc.d/rc.inet1.conf as:

DHCP_HOSTNAME[0]="thishost"

Normally I do mention distro and version, but for whatever reason I didn't think this was an issue on the Linux side. The version is question is Slackware distro 13.37.0, kernel 2.6.37.6. Interestingly, I have another host with the most recent version: Slackware distro 14.1, kernel Linux 3.10.17. This one does *not* have the hostname set, but appears to work propertly anyway.

man dhcpcd says, "-h hostname ... If hostname is an empty string then the current system hostname is sent."

Apparently this works correctly for kernel 3.10.17, but not for 2.6.37.6
0
 
LVL 1

Author Closing Comment

by:jmarkfoley
ID: 39987887
Thanks! This one's been stumping me for a while!
0

Featured Post

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In the event you manage a Small Business Server 2003, and you are audited for PCI compliance, there are several changes you must make in order to pass the audit. I can take no credit for discovering any of these fixes or workarounds, but there is no…
Because virtualization becomes more and more common, and, with Microsoft Hyper-V included in Windows Server at no additional costs, and, most server hardware nowadays is more than capable of running a physical Small Business Server (SBS) 2008 or 201…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now