Solved

Linux DHCP to SBS 2008 losing DNS reference

Posted on 2014-04-22
6
245 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
6 Comments
 
LVL 14

Expert Comment

by:Monis Monther
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
Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

 
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

Free NetCrunch network monitor licenses!

Only on Experts-Exchange: Sign-up for a free-trial and we'll send you your permanent license!

Here is what you get: 30 Nodes | Unlimited Sensors | No Time Restrictions | Absolutely FREE!

Act now. This offer ends July 14, 2017.

Question has a verified solution.

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

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…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…

717 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