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

Re: domain name



On Aug 31, 2012, at 3:39 PM, Wolf Halton wrote:

> /etc/resolv.conf
> search domain

Already set.

> /etc/hosts
> second name on line with 127.0.0.1 machine-name

Set to localhost.localdomain

> /etc/hostname
> should just be machine-name

Already set.

> $ hostname -a 
> shows what the machine thinks is its fqdn

Now, this answers with an empty string.

hostname -f and --fqdn give the answer I was wanting 
to see.

> check also
> /etc/networking/interfaces
> for holdover of old domain name.

There is no such file. Did you mean /etc/network/interfaces? 
That exists and has all the interfaces data, but no mention 
of a domain name.

But where does the system keep the domain name it uses at boot?

-- 
Glenn English




Reply to: