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 To Configure Bind as a Caching and Forwarding DNS Server

Discussion in 'Bind/DNS/Nameserver' started by glenn0, Oct 2, 2015.

  1. glenn0

    glenn0 Well-Known Member

    Joined:
    Jul 23, 2012
    Messages:
    55
    Likes Received:
    1
    Trophy Points:
    8
    cPanel Access Level:
    Website Owner
  2. lx24

    lx24 Member

    Joined:
    Oct 2, 2014
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi,

    What is your named.conf configuration?
     
  3. glenn0

    glenn0 Well-Known Member

    Joined:
    Jul 23, 2012
    Messages:
    55
    Likes Received:
    1
    Trophy Points:
    8
    cPanel Access Level:
    Website Owner
    Hi,

    Thanks for the reply, although I'm unsure what you are asking, sorry. My WHM/BIND setup is the default setup if that helps?

    If I refer to the howto I mentioned above, should I be following what it says but using named.conf instead of named.conf.options it mentions?

    Again, thank you for any help with this.
     
  4. lx24

    lx24 Member

    Joined:
    Oct 2, 2014
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I guess you have centos. You have to add the code in your named.conf file,
    Code:
    listen-on port 53 { 127.0.0.1; any; };
    allow-query     { localhost; any; };
    allow-query-cache       { localhost; any; };
    Um ,you can refer : http://www.tecmint.com/install-caching-only-dns-server-in-centos/

    Note that you should not do installation part, since BIND already installed by cpanel.. Just refer the configurations
     
  5. glenn0

    glenn0 Well-Known Member

    Joined:
    Jul 23, 2012
    Messages:
    55
    Likes Received:
    1
    Trophy Points:
    8
    cPanel Access Level:
    Website Owner
    Thank you very much - everything seems to be working fine. The initail query is obviously slower, but all subsequent requests are instant, which is what I was looking for.

    Regards.
     
  6. lx24

    lx24 Member

    Joined:
    Oct 2, 2014
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Happy to help :)
     
  7. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,400
    Likes Received:
    1,952
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    I am happy to see you were able to implement this custom workaround. Thank you for updating us with the outcome.
     
    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