OpenBSD manual page server

Manual Page Search Parameters

RESOLVD(8) System Manager's Manual RESOLVD(8)

resolvda daemon to handle nameserver configuration

resolvd [-dv]

resolvd handles the contents of /etc/resolv.conf, which contains details of the system's DNS nameservers, and is read by the resolver routines in the C library. Nameservers are learned from various sources, incorporated in a priority order, then user-edited information found in the pre-existing file is re-appended.

resolvd checks whether unwind(8) is running and, if so, places a nameserver line at the top to cause local resolution:

nameserver 127.0.0.1

resolvd also monitors the routing socket for proposals learned by dhcpleased(8), iked(8), slaacd(8), or network devices which natively learn DNS information such as sppp(4) or umb(4). Proposals can be sent manually using the route(8) nameserver command. The proposals are added in priority order, but commented out if unwind(8) is running.

After that, resolvd appends all user-edited lines found in the file.

resolvd also notices if the /etc/resolv.conf file is edited, and will rewrite the file, re-blending the various pieces of information. It will also create /etc/resolv.conf if it does not exist or if it is empty.

The options are as follows:

Do not daemonize. If this option is specified, resolvd will run in the foreground and log to .
Produce more verbose output.

resolv.conf(5), dhcpleased(8), route(8), slaacd(8), unwind(8)

The resolvd program first appeared in OpenBSD 6.9.

February 21, 2023 OpenBSD-7.3