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.

modification to resolv.conf

Discussion in 'General Discussion' started by serverxy, Jan 23, 2017.

Tags:
  1. serverxy

    serverxy Member

    Joined:
    Nov 3, 2016
    Messages:
    12
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Pakistan
    cPanel Access Level:
    Root Administrator
    Hello,

    My server is old and everything is working fine, just some customer complaint they are not able to send email to one company and they are also not receiving their emails.

    When i traced it was showing host did not lookup.

    I searched and somewhere written add entries in /etc/resolv.conf.

    I just found there was one entry which was nameserver 127.0.0.1

    Now i just disabled this one and added:

    nameserver x.x.x.x (Main IP of server)
    nameserver x.x.x.x (Cluster dns ip 1)
    nameserver x.x.x.x (Cluster dns ip 2)

    is it fine? please suggest.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,029
    Likes Received:
    1,277
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Your own name servers are not recommended as resolvers. You should reach out to your hosting provider to see which resolvers they recommend. Otherwise, you can use public resolvers like the ones offered by Google:

    Public DNS | Google Developers

    Thank you.
     
  3. serverxy

    serverxy Member

    Joined:
    Nov 3, 2016
    Messages:
    12
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Pakistan
    cPanel Access Level:
    Root Administrator
    Ok i added google dns

    Nameserver 8.8.8.8
    Nameserver 8.8.4.4
     
    cPanelMichael likes this.
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,029
    Likes Received:
    1,277
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Let us know if you encounter any additional issues.

    Thanks!
     
Loading...

Share This Page