Solved

Linux DHCP to SBS 2008 losing DNS reference

Posted on 2014-04-22
6
242 Views
Last Modified: 2014-06-10
I have Slackware distro 13.27.0, kernel 2.6.37.6. This Linux host get's its DHCP address from a Windows SBS2008 server. The problem is that the SBS2008 DNS server loses the entry for this host periodically. When this happens I have to manually restart the interface on the Linux host, which causes it to re-request a dynamic IP.

I though I had this question resolved in: http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/SBS_Small_Business_Server/Q_28367593.html

The solution in that question was to put the Linux host's name in /etc/rc.d/rc.inet1.conf:

DHCP_HOSTNAME[0]="OHPRSstorage"

That did partially solve the problem. However, exactly 7 days after doing that and restarting the interface, the SBS2008 DNS server lost the Linux host and no other computers on the LAN could find it. I restart the Linux interface and it began working again, but SBS2008 lost it again after 4 days, whereupon I restarted it again. It has now been 5 days since the last interface restart and is currently still resolving, but I expect it to flake out again at any moment.

Does anyone have any idea what the problem could be? Does the Linux host have to re-request DHCP periodically? If so, how?

Before you ask ...

SBS2008 is set to always dynamically update DNS A and PTR records
Forced update is set

No, I don't want to specify a static IP or use a DHCP reservation, if possible.
0
Comment
Question by:jmarkfoley
  • 5
6 Comments
 
LVL 14

Expert Comment

by:small_student
ID: 40015583
Normally it should not, however to partially work around your problem, I suggest to run the  command that restarts the interface in cron job once a day. I am not sure how to do this in slackware but I guess all linux distros share many things

The command to request a DHCP address should be dhclient
0
 
LVL 1

Author Comment

by:jmarkfoley
ID: 40016774
small_student: Yes, I thought of that, but that seems like a kludgy work-around. But if that's all I've got, I'll go there!

Meanwhile, does anyone have any thoughts on something that could be configured? For example, the tcp-keepalive-garbage in the /etc/dhclient.conf file?

nb - I don't find anywhere in the slackware /etc hierarchy that runs dhclient
0
 
LVL 1

Author Comment

by:jmarkfoley
ID: 40037238
no other ideas on this?
0
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 
LVL 1

Author Comment

by:jmarkfoley
ID: 40088254
FYI - installed Debian on one of the problem hosts on May 12. So far, no problem with losing the DNS entry. Debian installation has dhclient version 4.2.2. Slackware installation has dhclient version 4.2.1-P1. Maybe something was fixed in the more recent release? It's only been 12 days, so I need to watch this a bit longer.
0
 
LVL 1

Accepted Solution

by:
jmarkfoley earned 0 total points
ID: 40116435
Well, I'm calling this one solved. No problems with DNS resolution since installing Debian and dhclient 4.2.2. Must be a version issue.
0
 
LVL 1

Author Closing Comment

by:jmarkfoley
ID: 40124057
I solved it
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

The SBS 2011 release date (RTM) is supposed to be around Christmas, 2011.  This article is a compilation of my notes -- things I have learned first hand.  The items are in a rather random order, but I think this list covers most of what is new and d…
This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Small Business Server 2011. NOTE: This guide has been written using the preview version of SBS2011 therefore some of the screens may …

791 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