-.\" $OpenBSD: hostname.if.5,v 1.74 2021/03/08 16:12:28 florian Exp $
+.\" $OpenBSD: hostname.if.5,v 1.75 2021/03/10 17:00:16 deraadt Exp $
.\" $NetBSD: hosts.5,v 1.4 1994/11/30 19:31:20 jtc Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\"
.\" @(#)hosts.5 8.2 (Berkeley) 12/11/93
.\"
-.Dd $Mdocdate: March 8 2021 $
+.Dd $Mdocdate: March 10 2021 $
.Dt HOSTNAME.IF 5
.Os
.Sh NAME
.Ed
.El
.Sh DYNAMIC ADDRESS CONFIGURATION
-The following packed formats are valid for configuring network interfaces
-with dynamic addresses.
+IPv4 dynamic addressing using DHCP can be done in two forms:
.Pp
-For IPv4 dynamic addressing using DHCP, the literal string
+The token
.Dq dhcp
followed first by
.Xr dhclient 8
options and then by
.Xr ifconfig 8
-options.
-Note that
-.Xr ifconfig 8
-is executed before
+options, which are handled before starting
.Xr dhclient 8 .
.Bd -ragged -offset indent
.Li dhcp
.Op Va ifconfig_options
.Ed
.Pp
-For IPv6 stateless address autoconfiguration the literal string
+Alternatively, the literal string
+.Dq inet autoconf
+followed by any options to be passed to
+.Xr ifconfig 8 .
+.Bd -ragged -offset indent
+.Li inet4 autoconf
+.Op Va ifconfig_options
+.Ed
+.Pp
+IPv6 stateless address autoconfiguration is requested using
+the literal string
.Dq inet6 autoconf
followed by any options to be passed to
.Xr ifconfig 8 .
.Li inet6 autoconf
.Op Va ifconfig_options
.Ed
+.Pp
+The
+.Va autoconf
+configurations will communicate learned DNS information to
+.Xr resolvd 8 .
.Sh BRIDGE INTERFACE CONFIGURATION
If the network interface is a bridge, the options described in
the bridge section of the