[Midnightbsd-cvs] [MidnightBSD/src] 20a625: bsdinstall: Add DNS provider selection to network ...

Lucas Holt noreply at github.com
Sun Apr 19 20:37:12 EDT 2026


  Branch: refs/heads/master
  Home:   https://github.com/MidnightBSD/src
  Commit: 20a62567f424df488878aa734d92e3415c0f05ab
      https://github.com/MidnightBSD/src/commit/20a62567f424df488878aa734d92e3415c0f05ab
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-04-19 (Sun, 19 Apr 2026)

  Changed paths:
    M usr.sbin/bsdinstall/scripts/config
    M usr.sbin/bsdinstall/scripts/netconfig

  Log Message:
  -----------
  bsdinstall: Add DNS provider selection to network setup

Add a new configuration step during network setup to allow users to
select from popular DNS providers (Google, Cloudflare, Quad9, OpenDNS).
This helps users set up family-friendly or secure DNS easily.

When a provider is selected:
- The provider's DNS addresses are pre-filled in the manual entry form.
- A /etc/dhclient.conf snippet is created to 'supersede' DHCP-assigned
  DNS servers.
- resolv_enable="NO" is set in rc.conf to prevent the resolv rc script
  from overwriting resolv.conf with DHCP data from kenv.

These settings are persisted to the installed system during the final
configuration step.

Signed-off-by: Lucas Holt <luke at foolishgames.com>



To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/src/settings/notifications


More information about the Midnightbsd-cvs mailing list