dhcpcd-discuss

Re: domain_name_servers with static IP?

Roy Marples

Sat Jun 30 16:48:11 2018

Hi Hugo

On 30/06/2018 03:28, Hugo Hörnquist wrote:
Is it possible with dhcpcd to use domain_name_servers
provided by the dhcp server, while at the same time setting
a static IP address for the machine?

Currently putting something like
	interface enp2s0
	static ip_address=192.168.1.40/24
cancels domain_name_server.

What you are looking for is DHCP_INFORM

interface enp2s0
	inform 192.168.1.40/24

Roy

References:
domain_name_servers with static IP?Hugo Hörnquist
Archive administrator: postmaster@marples.name