host name

David W. Hankins David_Hankins at isc.org
Sat Jan 13 02:59:24 UTC 2007


On Fri, Jan 12, 2007 at 11:11:19AM -0800, Hai Tao wrote:
>   can you explain clearly what hostname is?

I'm not sure what you're asking.

'option host-name' is a DHCP option value that tells a client what their
hostname is.

The 'name' field of a host {} declaration is the host record's _only_
unique key in the in-memory database of host records.

Client identifiers and mac addresses are not unique keys by which you
could ask the in-memory database to fetch the memory location of the
specific host record you had in mind.  They are keys, but this
potentially nets a list of results rather than one result.

Only the name field is unique among host {} declarations.

-- 
David W. Hankins	"If you don't do it right the first time,
Software Engineer		you'll just have to do it again."
Internet Systems Consortium, Inc.	-- Jack T. Hankins


More information about the dhcp-users mailing list