blob: eb625a70cbe835cac5afd9b9ec5d1cf12647839f [file] [log] [blame]
The Android Open Source Projectf7c54212009-03-03 19:29:22 -08001# A sample configuration for dhcpcd.
2# See dhcpcd.conf(5) for details.
3
Dmitry Shmidte86eee12011-01-24 16:27:51 -08004# Inform the DHCP server of our hostname for DDNS.
5hostname
6# To share the DHCP lease across OSX and Windows a ClientID is needed.
7# Enabling this may get a different lease than the kernel DHCP client.
8# Some upstream DHCP servers may also require a ClientID, such as FRITZ!Box.
9#clientid
10
11# A list of options to request from the DHCP server.
The Android Open Source Projectf7c54212009-03-03 19:29:22 -080012option domain_name_servers, domain_name, domain_search, host_name
Dmitry Shmidte86eee12011-01-24 16:27:51 -080013option classless_static_routes
14# Most distributions have NTP support.
The Android Open Source Projectf7c54212009-03-03 19:29:22 -080015option ntp_servers
Dmitry Shmidte86eee12011-01-24 16:27:51 -080016# Respect the network MTU.
17option interface_mtu
18# A ServerID is required by RFC2131.
19require dhcp_server_identifier
The Android Open Source Projectf7c54212009-03-03 19:29:22 -080020
Dmitry Shmidte86eee12011-01-24 16:27:51 -080021# A hook script is provided to lookup the hostname if not set by the DHCP
22# server, but it should not be run by default.
23nohook lookup-hostname