LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-05-2009, 12:44 PM   #1
rbees
Member
 
Registered: Mar 2004
Location: northern michigan usa
Distribution: Debian Squeeze, Whezzy, Jessie
Posts: 921

Rep: Reputation: 46
Unhappy 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. What am I doing wrong?
 
Old 07-05-2009, 09:58 PM   #2
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 555Reputation: 555Reputation: 555Reputation: 555Reputation: 555Reputation: 555
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
 
Old 07-05-2009, 10:04 PM   #3
rbees
Member
 
Registered: Mar 2004
Location: northern michigan usa
Distribution: Debian Squeeze, Whezzy, Jessie
Posts: 921

Original Poster
Rep: Reputation: 46
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange ARP behavior : A linux server responds to all ARP requests Hdvd21 Linux - Networking 4 10-24-2013 05:02 AM
DHCP and DNS server newbie_adm Linux - Newbie 2 06-14-2006 07:12 AM
Strange DNS behavior with apache drkstr Linux - Software 0 05-25-2006 05:46 PM
Vnc Server Strange Behavior In Fedora Core 3 kasra Fedora 3 06-26-2005 06:11 AM
How do you make the ip masquerade server/dhcp server broadcast dns to lan cmisip Linux - Networking 6 01-25-2003 10:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration