Link to home
Start Free TrialLog in
Avatar of Mark
Mark

asked on

Linux DHCP to SBS 2008 losing DNS reference

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: https://www.experts-exchange.com/questions/28367593/SBS2008-DHCP-not-updating-DNS.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.
Avatar of Monis Monther
Monis Monther
Flag of Iraq image

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
Avatar of Mark
Mark

ASKER

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
Avatar of Mark

ASKER

no other ideas on this?
Avatar of Mark

ASKER

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.
ASKER CERTIFIED SOLUTION
Avatar of Mark
Mark

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Mark

ASKER

I solved it