NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: FQDNs for netbooted hosts via DHCP?



On Mon, 16 Jul 2018, John D. Baker wrote:

> Can "env var=value" be part of the block guarded by an "interface ifN"
> statement?  On a multi-homed machine, there should be only one host name
> and one can choose the interface from which it receives (and acts on) the
> information.
> 
> If not, that would be the only change I'd suggest.  Again, there is a
> brief period of flip-flopping of hostname depending on the order in
> which interfaces are configured.  The interface with "force_hostname=YES"
> should override any prior assignment and any later interface configuration
> should ignore the hostname as already set.

Duh!  I just remembered, one could set "nohook hostname" for interfaces
which should not be used for setting the host name.

-- 
|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645



Home | Main Index | Thread Index | Old Index