Hi,<br>thanks for the reply, I sometime back changed the hostname using the /etc/sysconfig/network only. However, that only has 2 lines in it- Networking=Yes, Hostname=<a href="http://sipx.com">sipx.com</a><br><br>Where can I edit the dnsdomainname and domainname variables? I do not see those variables in /etc/hosts or /etc/sysconfig/network.<br>
<br>Thank You<br><br><br><br><div class="gmail_quote">On Thu, Jun 12, 2008 at 1:41 PM, mkn0014 <<a href="mailto:mkn0014@gmail.com">mkn0014@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Padmaja R wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">
Hi all,<br>
<br>
I am running centos 5.1 and I wish to change the domain name and dnsdomainname of my PC. currently the settings are--<br>
<br>
$ hostname<br>
</div><a href="http://sipx.com" target="_blank">sipx.com</a> <<a href="http://sipx.com" target="_blank">http://sipx.com</a>><br>
$ hostname --fqdn<br>
<a href="http://sipx.com" target="_blank">sipx.com</a> <<a href="http://sipx.com" target="_blank">http://sipx.com</a>><br>
$ domainname<br>
(none)<br>
$ dnsdomainname<br>
com<br>
<br>
I have searched in the net for tips but everywhere only the hostname change is provided. I need to change/set the domain name and the dnsdomain name on my pc to <a href="http://sipx.com" target="_blank">sipx.com</a> <<a href="http://sipx.com" target="_blank">http://sipx.com</a>> and this should be a permanent one across system reboots. Please let me know how to do this.  The domain name settings are required for a networking/ SIP telephony applications that I am running but it is internally in the LAN, so I think the name <a href="http://sipx.com" target="_blank">sipx.com</a> <<a href="http://sipx.com" target="_blank">http://sipx.com</a>> if chosen as my pc's domain name will not cause any conflict with the external domain names in the Internet.<br>

<br>
Thank You<br>
</blockquote>
Edit /etc/sysconfig/network<br>
Restart<br>
<br>
_______________________________________________<br>
CentOS mailing list<br>
<a href="mailto:CentOS@centos.org" target="_blank">CentOS@centos.org</a><br>
<a href="http://lists.centos.org/mailman/listinfo/centos" target="_blank">http://lists.centos.org/mailman/listinfo/centos</a><br>
</blockquote></div><br>