-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 05/22/2014 08:55 AM, Rowland Penny wrote:
On 22/05/14 13:50, John Hodrien wrote:
> On Thu, 22 May 2014, Rowland Penny wrote:
>
>> Not on Ubuntu it isn't ;-)
>
> I'd argue that Ubuntu just has incorrect behaviour then.
>
> If you look at man hosts on an ubuntu machine (13.10), you'll see
> how they describe it, and the example they provide. The format
> described is:
>
> IP_address canonical_hostname [aliases...]
>
> The example is:
>
> 127.0.0.1 localhost 192.168.1.10
foo.mydomain.org foo
> 192.168.1.13
bar.mydomain.org bar
>
> That's the correct format, whether or not Ubuntu applies it.
Thats all very well for a machine with a fixed ip but what about
DHCP ?
Well, once they adopt systemd, they'll get to start using
hosts: files dns myhostname
This properly populates gethostby*() with the appropriate values from
DHCP.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird -
http://www.enigmail.net/
iEYEARECAAYFAlN99kMACgkQeiVVYja6o6M0RgCgjIrcRxplNbuEP07EPvPy9ucu
FF4An1xeW/58DI+8WEG+J9lcrLx7bDEV
=4BYY
-----END PGP SIGNATURE-----