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!

BIND and local DNS caches..

Discussion in 'Bind/DNS/Nameserver' started by erick_paper, May 16, 2011.

  1. erick_paper

    erick_paper Well-Known Member

    Apr 19, 2005
    Likes Received:
    Trophy Points:
    Hi. I run PHP scripts on my website that have an important need for "gethostbyname" and other RBL checks.

    This means the speed of DNS checking is vital for me.

    I am told by my hosting provider that BIND on Cpanel server already does some basic caching. I have included the following in my "/etc/resolv.conf".

    nameserver    # --> Google Public DNS
    This should technically mean that after the first check, if the caching is happening, then the second query should be instantaneous as it's coming from localhost.

    However, what I am experiencing is that subsequent checks of DNS are not much faster!

    Any thoughts on what I can do, short of installing an rbldnsd or something? I would like to remain with a simple BIND setup if possible.


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