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.

How should the file resolv.conf look like?

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

  1. apfan

    apfan Member

    Joined:
    Jun 6, 2005
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Iceland
    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

    Joined:
    Apr 8, 2008
    Messages:
    447
    Likes Received:
    4
    Trophy Points:
    18
    Location:
    PK
    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.

     
Loading...

Share This Page