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!

How should the file resolv.conf look like?

Discussion in 'General Discussion' started by apfan, Dec 30, 2010.

  1. apfan

    apfan Member

    Jun 6, 2005
    Likes Received:
    Trophy Points:
    Hello i was surfing around here on cpanel forums.
    And i stumbled upon this post in an old thread.

    My resolv.conf does not look like the above example at all.
    I also want to say that i am running linux and centOS on a vps server.
    And i have a lot of downtime due to inaccurate dns settings.
    Also i am reciving emails that says "Nameserver failed"

    I then updated the file with the correct ip numbers for my nameservers and saved.
    And did the following command /etc/init.d/named restart.
    Do i missing information here?? should i also put in my server id and more things into resolv.conf??

    Please help me out here i am confused :confused:

    /Happy new year!
  2. JawadArshad

    JawadArshad Well-Known Member PartnerNOC

    Apr 8, 2008
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    DataCenter Provider
    If I were you, I would open this with my host's support and ask them for the recommended resolv.conf entries. Normally hosts set /etc/resolv.conf entries to the recommended settings in VPS templates per their own network. named failed emails may be a result of some other issue as well.

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

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