hostname ?

Discussion in 'Installation/Configuration' started by drillsar, Mar 23, 2010.

  1. drillsar

    drillsar New Member

    im new to linux so I hope this isnt a stupid ?

    First ? I have a DHCP server but I set up this using static IP

    If I have to use DHCP what do I do? I have to make a zone or something correct? Im using zoneedit for DNS and virtualmin

    But i purchased a domain and I want to host it.

    My isp is comcast

    the host I want to call it say servix
    domain is

    under linksys router I put servix under host, domain

    in /etc/sysconfig/network I put

    host = servix
    domain =

    in /etc/hosts servix localhost localhost.localdomain www

    in /etc/resolv.conf I have:

    comcast servers

    do I have to add zoneedit servers to the resolv.conf ?

    Im thinking its my DHCP server so how can I change the hostname?

    when i type in hostname it comes back but when i type hostname --fqdn says unknown host
  2. falko

    falko Super Moderator ISPConfig Developer

    Which distribution do you use?
    If name resolution is working, you don't have to add additional nameservers to your resolv.conf.
  3. drillsar

    drillsar New Member

    using centos

    Yeah niw DHCP is giving me my hostname of but do I have to name a machine name?

    How do I tell DHCP to not touch resolv.conf?

    because i need to add nameserver correct?
  4. falko

    falko Super Moderator ISPConfig Developer

    How do yo mean that?

    DHCP doesn't touch your resolv.conf if you've given the system a static IP.

Share This Page