dhcpcd-discuss

30-hostname Behavior When Switching Network Interfaces

Walrath, Paul

Wed Oct 28 22:06:31 2015

Greetings,

When 30-hostname runs, are old_host_name, old_domain_name, and old_fqdn interface specific?

The reason that I ask is that, if my device is connected to a network on one interface (e.g. eth0) and it receives the host name (Option 12) from a DHCPv4 server on that network, then I disconnect that connection and connect a second network interface on the device (e.g. wlan0) to a different network with a DHCPv4 server that is providing a different host name, will 30-hostname update the device's host name?  It looks as though the current host name won't match the new network interface's old_host_name (if old_host_name is interface specific) and so an update won't occur.

Paul Walrath


Follow-Ups:
Re: 30-hostname Behavior When Switching Network InterfacesRoy Marples
RE: 30-hostname Behavior When Switching Network InterfacesWalrath, Paul
Archive administrator: postmaster@marples.name