linux - How to change host name?

06
2014-04
  • Ty221

    This question already has an answer here:

  • Answers
  • Alex P.

    Your ISP controls the reverse DNS settings for their IP block. Some providers allow static IP customers to set their own reverse DNS record for their IP address. But your ADSL service is most likely using a dynamic IP address from DHCP pool - so you are out of luck.

  • Braiam

    There are some IRC servers that allows you to set a vhost, or personalized host. You may want to check the server capabilities and permissions. Either way, it's done in server side, so nothing you change in your local configuration will help.


  • Related Question

    networking - How to set the static IP address and change the Host Name of a FreeBSD machine?
  • MonkeyMind

    I have a FreeBSD machine running as a Virtual Machine. There are 2 things that I need to do.

    1. Change the IP Address and Host name
    2. Put this machine into the Network. My machine is already connected to the Network. I need to configure my FreeBSD machine to be accessed by my Host machine.

    How to do that ?


  • Related Answers
  • Cry Havok
    1. Edit /etc/rc.conf and change the settings for the hostname and interface IP address - you'll need to reboot afterwards
    2. That depends on whether you're running a DNS server for your LAN or not. If you are, simply add it to your DNS zone. If you aren't you'll need to add it to the hosts file of all other systems. Detailed instructions require further information.

    The FreeBSD Handbook is a good source of basic FreeBSD knowledge.