I've got the nameservers in resolv.conf and so resolving public IP's is fine. It's the hosts on the local network that don't resolve. I tried including the DHCP server's IP address as a name server but that gave some strange errors and didn't help.
I've also got the nameservers referred to in dhcpd.conf.
I'm sure I'm missing something obvious ;-)
When I went through the installation I didn't "Configure Hostname" because when you "Configure Network" it asks for the hostname. So I suspect that an entry is missing somewhere but I don't know what. I don't want to repeat the installation if I can avoid it because I managed to upgrade the kernel for multi-processing which took a bit of effort.
/etc/hosts includes reference to the DHCP server's IP address, name and "localhost"
Thanks anyway
Regards
Clive
On Sunday, April 6, 2003, at 05:38 am, Reaz Baksh wrote:
Hello
I hope this helps.
Modify your /etc/resolv.conf file to include the name servers. The same
one the windows machines are using.
The format that I have on my machine is: nameserver 24.153.23.66 nameserver 24.153.22.195
Reaz
-----Original Message----- From: Clive Menzies [mailto:[EMAIL PROTECTED] Sent: Saturday, April 05, 2003 8:39 PM To: [EMAIL PROTECTED] Subject: Resolving hostnames using DHCP
Hi
I've just installed Debian on an HP Netserver LH Pro which was a challenge in itself ;). I am still very much a newbie and not very technical. I've managed to get Linux running on an old Mac and a G4 plus we've also got 3 Windows 98 PC's on the network. So far, I've installed Samba and dhcpd on the Netserver and managed to get all machines accessing the internet via the broadband router using the dhcp server.
However, is there a way in which the server can resolve hostnames to local IP addresses automatically or do I really have to list them manually in /etc/hosts? It would seem to defeat the object of having a dhcp server. I can ping all the hosts by IP address but only the Windows machines can ping using the hostname which I guess means that windows is resolving the names in some way. What's the Linux equivalent?
TIA
Clive
____________________________ Clive Menzies & Associates Limited strategies for business http://www.clivemenzies.co.uk 75 Priory Road, London N8 8LR d/l: 020 8348 0996 fax: 087 0705 2066
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]