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!

Fixing named/bind rndc connection refused issues on FreeBSD

Discussion in 'Bind/DNS/Nameserver' started by hicom, Mar 15, 2008.

  1. hicom

    hicom Well-Known Member

    Joined:
    May 23, 2003
    Messages:
    282
    Likes Received:
    2
    Trophy Points:
    168
    If you're getting this error when using the named server on FreeBSD:

    failed connecting to 127.0.0.1 rnd load failed: connection refused

    Then likely your named.conf file is missing reference to rndc key. To fix this problem, do two things:

    1) ln -s /etc/namedb/named.conf /etc/named.conf (Because FBSD looks for /etc/named.conf)

    2) Edit your named.conf and add the following line to the top:

    3) Restart your bind server, note use /scripts/restartsrv_bind , do NOT use restartsrv_named as it breaks bind on FBSD.

    Hope this helps someone..
     
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