Strange dhcp/dns server behavior
OK,
I am getting some strange behavior from my dhcp/dns server (debian lenny headless). I just added a static assignment to my dhcp server. I also added it into both zone files for that subnet. The offending pc pulls it's ip correctly (debian lenny). I am able to ping it by ip but not by name. Yes I did restart dhcp3 and bind9, I even restarted the whole server. $ nslookup will not return the correct ip for it but it does return the correct ip for the other listings in that zone/subnet. I have checked and double checked the spelling I even had someone else check it. I have tried nslookup from the server, the offending pc, and 2 laptops (1 debian lenny, 1 vista). None of them will return the correct ip. I fail to understand:confused::scratch:. What am I doing wrong? |
I found a similar situation with my home setup, though I'm not sure how my situation applies to your situation, but wanted to post this anyhow, in case it does help:
Also NOTE: I'm not running Bind, only DHCP and DNS on the server. I found that I had to add entries to my /etc/hosts file if I wanted to be able to ping or whatever by name of a machine. Until doing that, I could ping by IP only, but nothing worked by machine-name. This was not a problem on the DHCP/DNS machine itself, because of course the DHCP server has the names/IPs configured in its static & dynamic assignments. It only applied to machines on the LAN. Sasha |
I did get it fixed not long ago. Thanks for the help though. It turned out that I was editing the wrong files. I have put bind in jail but I was editing the files from the initial setup and not the runtime files. What still puzzles me is that part of the config I did from in webmin and I would have thought that it would have edited the right files.
Once again thanks. |
All times are GMT -5. The time now is 05:00 PM. |