The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

resolv.conf reverting on fail

Discussion in 'General Discussion' started by ManuelT, Mar 3, 2009.

  1. ManuelT

    ManuelT Well-Known Member

    Joined:
    Sep 30, 2005
    Messages:
    55
    Likes Received:
    0
    Trophy Points:
    6
    I've got a strange issue happening with my resolv.conf when the service fails and is automagicly restarted it changes the content of resolv.conf to:

    ns1.localdomain.com
    ns2.localdomain.com

    It's an easy fix, simply log on and rewrite the file but if it happens when someones not watching it means the server is unable to deliver mail etc till it's noticed and changed.

    Where might it be getting these details from?
     
  2. ManuelT

    ManuelT Well-Known Member

    Joined:
    Sep 30, 2005
    Messages:
    55
    Likes Received:
    0
    Trophy Points:
    6
    Just happened again, Have no idea why? does anyone know why this may happen?
     
  3. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Our technical analysts may be able to determine the cause of this on your server by means of further investigation. You can let our technical analysts look at your server by visiting: http://tickets.cPanel.net/submit
     
  4. ManuelT

    ManuelT Well-Known Member

    Joined:
    Sep 30, 2005
    Messages:
    55
    Likes Received:
    0
    Trophy Points:
    6
    I don't have a direct account with cPanel, so i'm supposed to go via my reseller however I have a feeling they not going to be much help.
     
  5. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,458
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    It sounds like your /etc/resolv.conf file is being managed by the DHCP ( or other network ) service. Could you expound on what you mean by when the service fails and is automagicly restarted. To which service are you referring?
     
Loading...

Share This Page