Differences between revisions 2 and 3
Revision 2 as of 2023-04-04 16:16:35
Size: 843
Comment:
Revision 3 as of 2023-06-22 20:35:41
Size: 842
Comment:
Deletions are marked like this. Additions are marked like this.
Line 27: Line 27:
`dhcpcd(8)` tries to overwrite the [[Linux/resolv.conf|resolver file]]. To disable that behavior, update `/etc/dhcpcd.conf` like: `dhcpcd(8)` tries to overwrite the [[Linux/ResolvConf|resolver file]]. To disable that behavior, update `/etc/dhcpcd.conf` like:

Dhcpcd

dhcpcd(8) is a minimal DHCP client.


Installation

Most Linux and BSD distributions offer a dhcpcd package.


Usage


Configuration

dhcpcd(8) tries to overwrite the resolver file. To disable that behavior, update /etc/dhcpcd.conf like:

nohook resolv.conf

On the other hand, to configure how the resolver file will be created, consider:

  1. If /etc/resolv.conf.head exists, dhcpcd(8) will insert those at the top of the new resolver file.

  2. Set DNS servers manually with static domain_name_servers=DNS_SERVER_IP_1 DNS_SERVER_IP_2


See also

dhcpcd(8)


CategoryRicottone

Dhcpcd (last edited 2023-06-22 20:35:41 by DominicRicottone)