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

Re: Resolving hostnames using DHCP




On Sunday, April 6, 2003, at 02:58  am, Mouammer H. Rayes wrote:

kata  Clive Menzies
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

In /etc/dhcpd.conf there's a place where you change the dns name of your
local machine address to refer to.

Thanks - sorry to be dense but when I tried doing that following the example .conf file, it didn't seem to work but I'm not convinced that I typed in the right details. What specifically do I need to put in there?

Regards

Clive
____________________________
Who says middle America supports this act of aggression in the Middle East?:
http://www.alternet.org/story.html?StoryID=15453

What is it like to be an Iraqi in Baghdad?
http://www.dear_raed.blogspot.com/

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



Reply to: