Re: Changing hostname?

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



On Mon, Sep 15, 2008 at 12:41 PM, Marcus Moeller <mm@xxxxxxx> wrote:
>
> So the conclusion seems to be:
>
> If you have a local interface only you should just set:
>
> 127.0.0.1       localhost
> ::1                  localhost6
>
> in /etc/hosts and
>
> HOSTNAME=localhost
>
> in /etc/sysconfig/network
>
> This means it is not suggested to have a hostname other than localhost
> on a loopback only box.
>
> If you have an network interface configured /etc/hosts may look like:
>
> 127.0.0.1       localhost
> ::1                  localhost6
> 10.0.0.50       host.domain.example        host
>
> and
>
> HOSTNAME=host.domain.example
>
> in /etc/sysconfig/network
>

I'm curious - I have a local 192.168.x.x subnet inside my firewall
that I would like to give a name other than just "localdomain."  Does
it matter what I use, or are their words/pieces I should avoid?  This
is strictly for my internal subnet, not visible to the outside world
at all.

Thanks.

mhr
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux