Hi,
Thanks for your response on the kernel switching.I was away and could not reply immediately.
Right now, I am facing a differentissue. I have to set up DNS server using BIND on Centos 4.3. When Itype the hostname on Centos, it shows: sipserver.vodcalocal.com But the cli prompt has root@sipserver~ meaning only the sipserver part of the hostname is displayed. whyis this so? What is the actual hostname then? I see in the /etc/sysconfig/network that thehostname is sipserver.vodcalocal.com the /etc/hosts file has the followingcontent:
# Do not remove the following line, orvarious programs # that require network functionalitywill fail. 127.0.0.1 localhost.localdomain localhost sipserver 192.168.50.51 sipserver.vodcalocal.com
The /etc/sysconfig/network has thefollowing config:
NETWORKING=yes HOSTNAME=sipserver.vodcalocal.com
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 myconfiguration.
when i type $ domainname, i get-- (none)
$ domainname -d vodcalocal.com
$ domainname -f sipserver.vodcalocal.com
Why does not the command domainnamelist the domain name? also domainname -f and domainname -d displaydifferent results. can the machine have the domainname and hostnamesame if I am going to run dns server on it?
I run a SIP server on this PC whichneeds the domainname set but whenever I type echo $DOMAIN_NAME, itshows blank and I have to export the path variable DOMAIN NAME andset it. On another screen, I again dont see the domain name set. Howto set the domain name across all terminals and sessions andrestarts?an
Thanks Padmaja