⇤ ← Revision 1 as of 2023-01-08 22:53:01
Size: 687
Comment:
|
Size: 843
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 12: | Line 12: |
Most [[Linux]] and [[BSD]] distributions offer a `dhcpcd` package. |
|
Line 36: | Line 38: |
---- == See also == [[https://man.archlinux.org/man/dhcpcd.8|dhcpcd(8)]] |
Dhcpcd
dhcpcd(8) is a minimal DHCP client.
Contents
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:
If /etc/resolv.conf.head exists, dhcpcd(8) will insert those at the top of the new resolver file.
Set DNS servers manually with static domain_name_servers=DNS_SERVER_IP_1 DNS_SERVER_IP_2