Source-Changes-D archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS import: src/external/bsd/dhcpcd/dist
On Sun, Jul 21, 2013 at 06:35:47PM +0200, Marc Balmer wrote:
> Am 20.07.13 18:44, schrieb Roy Marples:
> > David Holland <dholland-sourcechanges%netbsd.org@localhost> writes:
> >> On Fri, Jul 19, 2013 at 07:15:52PM -0700, Erik Fair wrote:
> >> > > * dhcpcd will now assign a short hostname by default
> >> > > To use a FQDN hostname, set this in dhcpcd.conf(5)
> >> > > env hostname_fqdn=YES
> >> >
> >> > This is the wrong default, too - hostname should always be FQDN.
> >>
> >> This is far from universally agreed upon.
> >>
> >> However, ISTM that if dhcpcd is going to set the hostname at all
> >> (which is usually wrong) it should set the hostname the dhcp server
> >> provides and not try to munge it.
> >
> > Which hostname should dhcpcd set?
>
> imo, dhcpcd should not set a hostname at all, at least not by default.
Maybe it should only set it if no other hostname has been set?
I'm not sure I've ever seen a system where the 'hostname' is a FQDN.
Historically (ancient) it wouldn't be - because FQDN didn't exist!
Neither Solaris nor any SVR4 (or unixware) used FQDN.
A SUSE9 system I have at work (PII-450 and still used as an xterm)
gets it IP from DNS and hostname from a DHCP reverse lookup and
only uses the shortname.
David
--
David Laight: david%l8s.co.uk@localhost
Home |
Main Index |
Thread Index |
Old Index