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.

DNS Resolving

Discussion in 'Bind / DNS / Nameserver Issues' 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:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    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.
     
Loading...

Share This Page