Solved

SBS2008 DHCP not updating DNS

Posted on 2014-02-18
11
820 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
Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

 
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
 
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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to move RedirectedFolders from Drive C to Drive D? 6 42
IIS 7.5 to 8.0 6 108
Replace SBS 2011 Exchange 2010 with Exchange 2016 3 135
DHCP Server Service stops on SBS 2011 3 53
The problem of the system drive in SBS 2003 getting full continues to be an issue, even though SBS 2008 and SBS 2011 are both in the market place.  There are several solutions to this, including adding additional drive space or using third party uti…
I've often see, or have been asked, the question about the difference between the Exchange 2010 SP1 version, available as part of Small Business Server (SBS) 2011, and the “normal” Exchange 2010 SP1 Standard. The answer to the question is relativ…
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 video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

813 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

10 Experts available now in Live!

Get 1:1 Help Now