<html><body  bgcolor="#ffffff"><p style="margin-bottom: 0in;">


        <meta http-equiv="CONTENT-TYPE" content="text/html; charset=utf-8"><title></title><meta name="GENERATOR" content="OpenOffice.org 1.1.2  (Linux)"><meta name="CREATED" content="20080214;18064600"><meta name="CHANGED" content="20080214;18355000">
        
        
        
        
        <style>
        <!--
                @page { size: 8.27in 11.69in; margin: 0.79in }
                P { margin-bottom: 0.08in }
        -->
        </style>

</p><p style="margin-bottom: 0in;">Hi,</p>
<p style="margin-bottom: 0in;"><br>
</p>
<p style="margin-bottom: 0in;">Thanks for your response on the kernel switching.
I was away and could not reply immediately.</p>
<p style="margin-bottom: 0in;"><br>
</p>
<p style="margin-bottom: 0in;">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:</p>
<p style="margin-bottom: 0in;">sipserver.vodcalocal.com</p>
<p style="margin-bottom: 0in;">But the cli prompt has <a href="mailto:root@sipserver">root@sipserver</a>
~ meaning only the sipserver part of the hostname is displayed. why
is this so? What is the actual hostname then? I see in the 
</p>
<p style="margin-bottom: 0in;">/etc/sysconfig/network that the
hostname is sipserver.vodcalocal.com</p>

<p style="margin-bottom: 0in;">the /etc/hosts file has the following
content:</p>
<p style="margin-bottom: 0in;"><br>
</p>
<p style="margin-bottom: 0in;"># Do not remove the following line, or
various programs</p>
<p style="margin-bottom: 0in;"># that require network functionality
will fail.</p>
<p style="margin-bottom: 0in;">127.0.0.1       localhost.localdomain  
localhost       sipserver</p>
<p style="margin-bottom: 0in;">192.168.50.51  
sipserver.vodcalocal.com</p>
<p style="border-style: none none solid; border-color: -moz-use-text-color -moz-use-text-color rgb(0, 0, 0); border-width: medium medium 1px; padding: 0in 0in 0.03in; margin-bottom: 0in;">
<br>
</p>
<p style="margin-bottom: 0in;">The /etc/sysconfig/network has the
following config:</p>
<p style="margin-bottom: 0in;"><br>
</p>
<p style="margin-bottom: 0in;">NETWORKING=yes</p>
<p style="margin-bottom: 0in;">HOSTNAME=sipserver.vodcalocal.com</p>
<p style="margin-bottom: 0in;"><br>
</p>
<p style="margin-bottom: 0in;">I have seen in many forums that the
/etc/sysconfig/network file has many other entries like domain name,
gateway type, gateway ip etc, which are not present in my
configuration. 
</p>
<p style="margin-bottom: 0in;"><br>
</p>
<p style="margin-bottom: 0in;">when i type $ domainname,</p>
<p style="margin-bottom: 0in;">i get--</p>
<p style="margin-bottom: 0in;">(none)</p>
<p style="margin-bottom: 0in;"><br>
</p>
<p style="margin-bottom: 0in;">$ domainname -d</p>
<p style="margin-bottom: 0in;">vodcalocal.com</p>
<p style="margin-bottom: 0in;"><br>
</p>
<p style="margin-bottom: 0in;">$ domainname -f</p>
<p style="margin-bottom: 0in;">sipserver.vodcalocal.com</p>
<p style="margin-bottom: 0in;"><br>
</p>
<p style="margin-bottom: 0in;">Why does not the command domainname
list the domain name? also domainname -f and domainname -d display
different results. can the machine have the domainname and hostname
same if I am going to run dns server on it?</p>
<p style="margin-bottom: 0in;"><br>
</p>
<p style="margin-bottom: 0in;">I run a SIP server on this PC which
needs the domainname set but whenever I type echo $DOMAIN_NAME, it
shows blank and I have to export the path variable DOMAIN NAME and
set it. On another screen, I again dont see the domain name set. How
to set the domain name across all terminals and sessions and
restarts?an</p>
<p style="margin-bottom: 0in;"><br>
</p>
<p style="margin-bottom: 0in;">Thanks</p>
<p style="margin-bottom: 0in;">Padmaja</p>
 
<p></p>
<p style="margin-bottom: 0in;"><br>
</p>
<br>
<div><font face="Verdana" size="2"></font></div></body></html>