Solved

Linux DHCP to SBS 2008 losing DNS reference

Posted on 2014-04-22
6
241 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
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
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

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

This guide is intended for migrating Windows 2003 Standard with Exchange 2003 to Windows Small Business Server 2008. You will need the following: Exchange Best Practice Analyzer: http://www.microsoft.com/downloads/details.aspx?FamilyID=DBAB201F-…
I work for a company that primarily works with small businesses as their outsourced IT vendor. As such the majority of these customers utilize some version of Small Business Server. Due to the economics of running a small business, many of these cus…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

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

12 Experts available now in Live!

Get 1:1 Help Now