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!

DNS Resolving

Discussion in 'Bind/DNS/Nameserver' started by ChristsFlock, May 20, 2013.

  1. ChristsFlock

    ChristsFlock Registered

    Joined:
    Apr 15, 2013
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello,

    We had a problem with DNS not resolving to our new server for four days.

    In the end, on a whim, I commented this line from /etc/named.conf

    Code:
    allow-query     { localhost; };
    Only because it looked like that would only allow queries for localhost.

    After I did that, everything started to resolve.

    Is this the usual setting? I have never had this problem before, so it was very bizarre.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,925
    Likes Received:
    1,815
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    That is not a standard entry in the /etc/named.conf file. You can regenerate a default /etc/named.conf file in the future with a command such as:

    Code:
    # mv /etc/named.conf /etc/named.conf.backup
    # /scripts/rebuilddnsconfig
    
    Thank you.
     
    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