Ladies & Gents,
Somehow I managed to break the dhcp/ddns on my external host. This is what I did that seems to have caused the problem.
A couple of years ago when I set up a machine I used a very strange partitioning scheme, my logic at the time excapes me now, but... At any rate, I began getting disk full errors due to that partitioning scheme. So I fired up a System Rescue CD and fixed the partition problems.
When I rebooted I decided to boot the xp install that is on the box and update it just to keep it current. I do that every couple months when I think about it. XP is not used as a rule. It seams that the dhcp server gave the xp an ip that was different than the one that the Debian Jessie that is normally used.
When I rebooted the Jessie install after the xp updates were done I was unable to ssh into the box via name and had to ssh in via ip. The ip was also different than the one that the Jessie install had prior to the partition resizing.
I realized there was a name server issue so I logged into webmin on the external host/server and deleted the ip entries for the xp install from the leases file. That did not fix the issue. So then I deleted the entries in one of the zone files but could not find the other for some reason. Stil no joy. So I did some further looking and found the other entry and deleted it and that fixed the dhcp error about multiple host entries but it did not fix the dns issue.
Code:
dhcpd: Forward map from TV.Torah-disciple.local to 192.168.7.16 FAILED: Has an address record but no DHCID, not mine.
Now dhcpd is attempting to write to the zone files but for some reason it is not allowed and it times out.
Code:
dhcpd: Unable to add forward map from android-5e369d6335e9449c.Torah-disciple.local to 192.168.7.15: timed out
I have restarted everything a couple times with /etc/init.d/yad-yad, and even did the reboot thing so I know dns is running.
When attemping to look at the zone file from the dhcp module in webmin I get a permission denied error, I don't think this is a new thing but it may be. From in the webmin dns module I am able to edit the zone files fine.
I have searched the web for how to fix this but so far no joy. All the posts I have looked at are about initial config issues. The system was working just fine untill the double ip issue.
It seems like I remember reading a post, some years ago now, that editing the zone files by hand causes ddns to have updating issues but now I can't find that post, or I am mistaken about what I remember. It seems like I remember that there is a third file that is not human readable that gets corrupted when the zone files are edited by hand or something. And of coarse I don't remember what it said to do about it.
The affected system runs Debian Squeeze se-linux enabled, and fully patched.
Now when I do nslookup the request get forwarded on to my isp's dns which returns a bad local ip. Also it does not matter what local machine it is that I try to lookup.
Any idea how to fix this problem?
Thanks