NetBSD-Bugs archive

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

port-amd64/46423: dhcpcd does not send hostname to server, even if requested to do.



>Number:         46423
>Category:       port-amd64
>Synopsis:       dhcpcd does not send hostname to server, even if requested to 
>do.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    port-amd64-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon May 07 14:05:00 +0000 2012
>Originator:     Thomas Schweikle
>Release:        NetBSD 5.1.2 (GENERIC) #0: Thu Feb 2 12:12:28 UTC 2012
>Organization:
>Environment:
NetBSD arve.fritz.box 5.1.2 NetBSD 5.1.2 (GENERIC) #0: Thu Feb  2 12:12:28 UTC 
2012  
builds%b7.netbsd.org@localhost:/home/builds/ab/netbsd-5-1-2-RELEASE/amd64/201202021012Z-obj/home/builds/ab/netbsd-5-1-2-RELEASE/src/sys/arch/amd64/compile/GENERIC
 amd64
>Description:
Configured /etc/dhcpcd.conf:

#       $NetBSD: dhcpcd.conf,v 1.1.1.1.8.3 2009/11/23 03:13:28 snj Exp $
#
# A sample configuration for dhcpcd.
# See dhcpcd.conf(5) for details.

# Inform the DHCP server of our hostname for DDNS.
hostname arve
# To share the DHCP lease across OSX and Windows a ClientID is needed.
# Enabling this may get a different lease than the kernel DHCP client.
# Some upstream DHCP servers may also require a ClientID, such as FRITZ!Box.
#clientid

# A list of options to request from the DHCP server.
#option domain_name_servers, domain_name, domain_search, host_name
option domain_name_servers, domain_name, domain_search
option classless_static_routes
# Most distributions have NTP support.
option ntp_servers
# Respect the network MTU.
option interface_mtu
# A ServerID is required by RFC2131.
require dhcp_server_identifier

# A hook script is provided to lookup the hostname if not set by the DHCP
# server, but it should not be run by default.
nohook lookup-hostname

Hostname is not send to dhcp-server, nether with "hostname arve" or with only 
"hostname" set.
>How-To-Repeat:
Install NetBSD from cd as found on the mirrors. Give your installed machine a 
name dhcpd accepts and handles to dns. dns will only have the lease, but never 
the hostname, because in none one the dhcp-requests the hostname the client 
would like to have associated is sent to the server.
>Fix:
Kick out dhcpcd??



Home | Main Index | Thread Index | Old Index