git: etc: Switch the default dhcp_client to dhcpcd

Aaron LI aly at crater.dragonflybsd.org
Tue Dec 1 08:22:59 PST 2026


commit e1ff3e6bc679dc70969a42b6101d267758cf89df
Author: Aaron LI <aly at aaronly.me>
Date:   Tue Dec 1 20:33:10 2026 +0800

    etc: Switch the default dhcp_client to dhcpcd
    
    The dhcpcd(8) has been in base for many years and it supports both IPv4
    and IPv6, replacing both dhclient(8) and rtsold(8). Now switch the
    default dhcp_client in defaults/rc.conf to dhcpcd.
    
    However, the recommended way of using dhcpcd(8) is to simply run it as a
    master daemon by setting "dhcpcd_enable=YES" in rc.conf, without the
    need to configure individual interfaces with "ifconfig_<ifname>=DHCP".
    
    The man pages are updated to document the new default and the
    recommendation.

Summary of changes:
 etc/defaults/rc.conf     |  2 +-
 share/man/man5/rc.conf.5 | 20 ++++++++++++++++----
 share/man/man8/dhcp.8    | 21 +++++++++++++++++++--
 3 files changed, 36 insertions(+), 7 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/e1ff3e6bc679dc70969a42b6101d267758cf89df


-- 
DragonFly BSD source repository


More information about the Commits mailing list