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!

Slave DNS and perms on /etc/namedb

Discussion in 'Bind/DNS/Nameserver' started by bignose, Jun 25, 2008.

  1. bignose

    bignose Active Member

    Joined:
    Jan 3, 2007
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    156
    Hi,

    I'm running cpanel on FreeBSD, so bind stuff is in /etc/namedb.

    I'm doing slave DNS for a client of mine that needs it. When a zone transfer is triggered by him, my server gives a permission denied error

    dumping master file: /etc/namedb/tmp-KpFCgFN8zT: open: permission denied

    This because the bind user does not have write access to this directory, I assume this is because it's chrooted etc.

    I did a chmod g+rwx namedb and of course it worked, but I think when upcp does it's nightly checks it reverts this permisison,which of course I understand.

    So, question is, how do I make this go, so i can do zone transfers?

    Maybe I can tell bind to use /tmp for temp files instead ?

    THanks.
     
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