The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Slave DNS and perms on /etc/namedb

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

  1. bignose

    bignose Active Member

    Joined:
    Jan 3, 2007
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    6
    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