[arch-general] Configure / Set a Hostname

Baho Utot baho-utot at columbus.rr.com
Tue Aug 24 18:12:52 EDT 2010

  On 08/24/2010 03:02 PM, Meyithi wrote:
> On 24 August 2010 19:52, Carlos Mennens<carloswill at gmail.com>  wrote:
>> I have read on Google searches and on all over so many different ways
>> to properly set a FQDN on Arch Linux and am more confused than I was
>> before I started looking this up. I don't ever get prompted during the
>> Arch installer to enter a 'hostname' but rather do so in /etc/rc.conf
>> which appears to make no difference because it's superseded by
>> /etc/hosts. Can someone tell me if I want my Arch machine called
>> "bishop.mydomain.tld", how does one properly and officially achieve
>> this task in Arch?
>> Thanks!
> You'll get many different answers, but this is how I do it.  You'll get
> different results for hostname and hostname -f this way.  Take into
> consideration that on a machine that uses DHCP you'll not be able to do this
> reliably due to the changing IP unless you can assign it on the
> router/gateway.
>             localhost.localdomain           localhost
>        myname.mydomain.com      myname
>           localhost.localdomain     localhost            myname.mydomain.com      myname

Is what I do

More information about the arch-general mailing list