Solved

Linux DHCP to SBS 2008 losing DNS reference

Posted on 2014-04-22
6
237 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
Comment Utility
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
Comment Utility
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
Comment Utility
no other ideas on this?
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 1

Author Comment

by:jmarkfoley
Comment Utility
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
Comment Utility
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
Comment Utility
I solved it
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.

Join & Write a Comment

Written by Glen Knight (demazter) as part of a series of how-to articles. Introduction One of the biggest consumers of disk space with Small Business Server 2008(SBS) is Windows Server Update Services, more affectionately known as WSUS. For t…
The articles for turning off the Client firewall policy on the internet are for SBS 2008 and don't really help for SBS 2011. They actually moved the Client firewall policy. In 2011, the client firewall policy has moved to the SBS computers conta…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

743 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

15 Experts available now in Live!

Get 1:1 Help Now