Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

hostname resets, spamhaus...

Discussion in 'General Discussion' started by netnameus, Sep 8, 2006.

  1. netnameus

    netnameus Well-Known Member

    Joined:
    Mar 7, 2004
    Messages:
    131
    Likes Received:
    0
    Trophy Points:
    166
    I'm having problems with my IP being constanly added to the spamhaus database.

    It's because my helo response is localhost.localdomain.

    But my hostname is in fact a valid hostname (bounty.mydomain.com).

    Everytime I reset my server, though, my hostname gets changed, so I have to set it everytime.

    Any guidence on this would be great.

    Thanks
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. netnameus

    netnameus Well-Known Member

    Joined:
    Mar 7, 2004
    Messages:
    131
    Likes Received:
    0
    Trophy Points:
    166
    Showing my hostname, but also my helo response

     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. randomuser

    randomuser Well-Known Member

    Joined:
    Jun 25, 2005
    Messages:
    147
    Likes Received:
    0
    Trophy Points:
    166
    You can set your hostname in /etc/sysconfig/network on Linux boxes. Make sure you also have an entry in /etc/hosts

    You can change it at any time via the `hostname` command, but it likely won't be persistent across a reboot, whereas updating the 2 previously mentioned files, it will be.
     
  4. netnameus

    netnameus Well-Known Member

    Joined:
    Mar 7, 2004
    Messages:
    131
    Likes Received:
    0
    Trophy Points:
    166
    Thing is, it resets in /etc/sysconfig/network every reboot also.

    OK, so I've changed these three things, why would my helo still be saying localhost?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice