https://undeadly.org/cgi?action=article;sid=20210717141912 Front page [ ] [Search site] OpenBSD Journal Home Archives About Submit Story Create Account Login dhcpleased(8) and resolvd(8) enabled in base, replacing dhclient(8) Contributed by rueda on 2021-07-17 from the dhcplease-resolv-me dept. Florian Obser (florian@) has enabled dhcpleased(8) and resolvd(8) [on both of which we reported earlier] in base. The commits are, CVSROOT: /cvs Module name: src Changes by: florian@cvs.openbsd.org 2021/07/16 09:21:41 Modified files: etc : netstart rc.conf Log message: switch to dhcpleased/resolvd in base OK deraadt in the ramdisk, CVSROOT: /cvs Module name: src Changes by: florian@cvs.openbsd.org 2021/07/16 09:24:09 Modified files: distrib/alpha/miniroot: list distrib/amd64/ramdisk_cd: list distrib/arm64/ramdisk: list distrib/armv7/ramdisk: list distrib/hppa/ramdisk: list distrib/i386/ramdisk: list distrib/i386/ramdisk_cd: list distrib/landisk/ramdisk: list distrib/loongson/ramdisk: list distrib/luna88k/ramdisk: list distrib/macppc/ramdisk: list distrib/octeon/ramdisk: list distrib/powerpc64/ramdisk: list distrib/riscv64/ramdisk: list distrib/sparc64/miniroot: list Log message: Replace dhclient with dhcpleased/resolvd on the ramdisk. OK deraadt who also helped making some space. and in the installer: CVSROOT: /cvs Module name: src Changes by: florian@cvs.openbsd.org 2021/07/16 09:25:31 Modified files: distrib/miniroot: install.sub Log message: Switch from dhclient to dhcpleased in the installer. More cleanup is needed from a real ksh hacker, but looks already pretty good to kn. OK deraadt In a reply on misc@, Theo de Raadt (deraadt@) explained some of the rationale: [...] We are moving from a model where dhclient on 1 interface believes it is MASTER of /etc/resolv.conf and a bunch of system aspects, and the userbase is familiar with a pile of hacky control knobs in dhclient.conf. Towards a model where multiple interfaces + unwind can advertise their DNS resolution abilities to resolvd, which then sorts the offers and maintains a configuration. dhclient will remain available for people who want that old model, but I suspect they will encounter increasing difficulty sticking to it. Because the default configuration is changing. [...] Reply --------------------------------------------------------------------- Latest Articles * Sat, Jul 17 + 14:19 dhcpleased(8) and resolvd(8) enabled in base, replacing dhclient(8) (0) * Sat, Jun 19 + 16:16 Progress in support for the riscv64 platform (3) * Thu, May 27 + 12:00 Opening a Garage Door Using OpenBSD on a Raspberry Pi (12) * Thu, May 20 + 07:30 The state of toolchains in OpenBSD (0) * Sat, May 01 + 00:03 OpenBSD 6.9 released (2) * Fri, Apr 23 + 09:03 Initial Support for the riscv64 Architecture (11) * Thu, Apr 15 + 05:57 My Dog's Garage Runs OpenBSD (3) * Mon, Mar 22 + 08:06 A working D compiler on OpenBSD (1) * Thu, Mar 18 + 08:03 EuroBSDCon 2021 Call for Papers open (3) Credits Copyright (c) 2004-2008 Daniel Hartmeier. All rights reserved. Articles and comments are copyright their respective authors, submission implies license to publish on this web site. Contents of the archive prior to April 2nd 2004 as well as images and HTML templates were copied from the fabulous original deadly.org with Jose's and Jim's kind permission. This journal runs as CGI with httpd(8) on OpenBSD, the source code is BSD licensed. undeadly \Un*dead"ly\, a. Not subject to death; immortal. [Obs.]