[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Contents of /etc/hosts
From: |
Ludovic Courtès |
Subject: |
Re: Contents of /etc/hosts |
Date: |
Wed, 05 Oct 2016 22:17:14 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
Hi!
John Darrington <address@hidden> skribis:
> So ... my recommendations:
>
> 1. We change /etc/hosts to read
>
>
> 127.0.0.1 localhost.localdomain localhost
> ::1 localhost.localdomain localhost
>
> 127.0.0.2 gambrinus
It’s not very useful to have “localhost.localdomain”, is it? Also,
shouldn’t we keep the same address for both names?
Like:
127.0.0.1 localhost
::1 localhost
127.0.0.1 gambrinus
::1 gambrinus
Or am I missing something?
> 2. We put some checks in guix system to ensure that the host-name field does
> not
> exceed 63 bytes (not characters) and that it conforms to the format of
> RFC1034
Sure, makes sense.
> Any objections if I commit a patch to gnu/system.scm ??
Send it first. :-)
Thanks,
Ludo’.