[Nix-dev] /etc/hosts
Lluís Batlle i Rossell
viric at viric.name
Sun Nov 27 18:20:29 CET 2011
On Sun, Nov 27, 2011 at 01:15:56PM +0100, Eelco Dolstra wrote:
> Hi,
>
> On 11/25/2011 07:47 PM, Peter Simons wrote:
>
> > > Author: viric
> > > Date: Wed Nov 9 21:02:01 2011
> > > New Revision: 30362
> > > URL: https://nixos.org/websvn/nix/?rev=30362&sc=1
> > >
> > > Log:
> > > Adding the hostname.domain and localhost.domain to hosts, if possible.
> >
> > this patch generates broken entries in /etc/hosts if networking.hostName
> > is a fully qualified domain name (as it is the case on several systems I
> > administrate). Would it be possible to append the domain name only if
> > hostName does not contain a '.' already?
>
> In fact, "localhost.<domain>" looks very weird. Why would that ever be
> needed? There shouldn't be a "localhost" in whatever your domain is
> (unless your DNS server says so).
I think it's something related to postfix, domains, relaying from localhost, etc.
I forgot the details. :)
More information about the nix-dev
mailing list