[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: Resolving hostnames using DHCP



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:clive@clivemenzies.co.uk] 
Sent: Saturday, April 05, 2003 8:39 PM
To: debian-user@lists.debian.org
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 debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org




Reply to: