aboutsummaryrefslogtreecommitdiffstats
path: root/dhcpcd.conf
diff options
context:
space:
mode:
Diffstat (limited to 'dhcpcd.conf')
-rw-r--r--dhcpcd.conf24
1 files changed, 17 insertions, 7 deletions
diff --git a/dhcpcd.conf b/dhcpcd.conf
index cce1795..eb625a7 100644
--- a/dhcpcd.conf
+++ b/dhcpcd.conf
@@ -1,13 +1,23 @@
# A sample configuration for dhcpcd.
# See dhcpcd.conf(5) for details.
-# dhcpcd-run-hooks uses these options.
-option domain_name_servers, domain_name, domain_search, host_name
+# Inform the DHCP server of our hostname for DDNS.
+hostname
+# 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
-# Most distros have ntp support.
+# A list of options to request from the DHCP server.
+option domain_name_servers, domain_name, domain_search, host_name
+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
-# We should behave nicely on networks and respect their MTU.
-# However, a lot of buggy DHCP servers set invalid MTUs so this is not
-# enabled by default.
-#option interface_mtu
+# 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