Zonefiles Dir / Cannot make DNS updates

Discussion in 'Installation/Configuration' started by ppettigrew, May 5, 2006.

  1. ppettigrew

    ppettigrew New Member

    Hi all,

    An interesting one...that has popped up out of nowhere (perhaps by an updated package thanks to yum on FC4, but unsure).

    The issue:
    Under ISPConfig - Management - Server - Settings - DNS

    The value for Zonefiles Dir.: field now has
    /etc/bind
    and not
    /var/named/chroot/var/named
    (somehow it has changed to the former, which is not even a dir on the FC4 server)

    And it will not accept the change back to this field with the correct value via a save.

    I also can no longer make DNS changes (eg, adding another A record to a domain) as the change will not be "saved" and appear as a new A record eg, when viewed through Webmin-BIND).

    # cat /root/ispconfig/httpd/logs/error_log
    ...gives...
    df: `/var/named/chroot/proc': Permission denied

    Not sure if this error is relevant???

    Many thanks in advance for assistance on this one...

    Paul
     
  2. falko

    falko Super Moderator Howtoforge Staff

    It's a permissions problem. Just run

    Code:
    chmod 755 /var/named/
    chmod 775 /var/named/chroot/
    chmod 775 /var/named/chroot/var/
    chmod 755 /var/named/chroot/var/named/
    chmod 775 /var/named/chroot/var/run/
    chmod 777 /var/named/chroot/var/run/named/
    cd /var/named/chroot/var/named/
    ln -s ../../ chroot
    a described on http://www.howtoforge.com/perfect_setup_fedora_core_4_p3
     
  3. ppettigrew

    ppettigrew New Member

    Hi Falko,

    This did the trick, thanks! (Must've been a bind update via yum that changed the permissions).

    With hindsight, the answer is noob - but the fact that it came so readily - simply undermines the quality to me of the ISPConfig application and community. As brilliant as the software is, the real value is the strength of your HowtoForge forums and the contributions of yourself, till and many other legends!

    Kudos & Thank you.

    Paul
     
  4. falko

    falko Super Moderator Howtoforge Staff

    Good to hear that! :)
     

Share This Page