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!

Host unknown / timeout for local domain

Discussion in 'Bind/DNS/Nameserver' started by galbaras, Oct 30, 2016.

Tags:
  1. galbaras

    galbaras Member

    Joined:
    Mar 26, 2013
    Messages:
    19
    Likes Received:
    2
    Trophy Points:
    3
    cPanel Access Level:
    Root Administrator
    I run a central administration system that makes connections to websites on the same shared hosting server via cURL. Sporadically, the system gets a "host unknown" status with a "timeout" reason.

    My hosting provider claims that in a shared environment, there are many zone updates, after which BIND is restarted, causes periods of unavailability for local name resolutions. So I have a couple of questions:

    1. Is BIND restarted, is it just HUP'ed or does something else take place after zone updates?

    2. Is there a way to configure the server to always be able to resolve local hosts, e.g. tweak BIND settings, run more than one BIND process or use /etc/hosts as a backup method?
    Thank you,
    Gal
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,367
    Likes Received:
    1,855
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Updating a zone with Bind will not result in a restart, but it does result in a reload. When reloading zones, it will not respond to requests. Have you considered using PowerDNS with cPanel version 60?

    How to Use PowerDNS - cPanel Knowledge Base - cPanel Documentation

    Here are some of the advantages and disadvantages we list in the "WHM >> Nameserver Selection" interface:

    Let us know if you have any additional questions.

    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. galbaras

    galbaras Member

    Joined:
    Mar 26, 2013
    Messages:
    19
    Likes Received:
    2
    Trophy Points:
    3
    cPanel Access Level:
    Root Administrator
    Thank you, Michael.

    On a shared server, my hosting provider will have to be convinced to make this switch, and so far, they're saying no.

    I've spoken to a friend who provides hosting and he suspects a configuration issue may be involved. Is this possible, or should I just accept that lookups of local domains will sometimes fail?

    Thanks again,
    Gal
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,367
    Likes Received:
    1,855
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    It's possible, but it's not something you would have access to investigate without root access to the system. I recommend reaching out to your hosting provider to see if any other solutions are possible. Otherwise, if the downtime is frequent enough, you may need to consider switching to another hosting provider.

    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