[CentOS] Re: domain name display issue in linux pc

Thu Feb 14 17:31:17 UTC 2008
Ugo Bellavance <ugob at lubik.ca>

padmaja.rv at vodcalabs.com wrote:
> 
> 
> Hi,
> 
> 
> Thanks for your response on the kernel switching. I was away and could 
> not reply immediately.
> 
> 
> Right now, I am facing a different issue. I have to set up DNS server 
> using BIND on Centos 4.3. When I type the hostname on Centos, it shows:
> 
> sipserver.vodcalocal.com
> 
> But the cli prompt has root at sipserver <mailto:root at sipserver> ~ meaning 
> only the sipserver part of the hostname is displayed. why is this so? 
> What is the actual hostname then? I see in the

The actual hostname is sipserver, the domain name is vodcalocal.com, so 
the FQDN is sipserver.vodalocal.com.

The shell is configured by default to show only the hostname part.  It 
is configurable (see Thomas' post).

Ugo