Error bind-chroot configuration the perfect server CentOS x86_64

Discussion in 'HOWTO-Related Questions' started by javamacion, Jul 12, 2011.

  1. javamacion

    javamacion New Member

    I am doing CentOS 5.6 server tuturial posted in http://www.howtoforge.com/perfect-server-centos-5.6-x86_64-ispconfig-3
    All ok but whe I install bind-chroot
    I am having problems with the bind-chroot configuration, when I start the named service it appears an errror
    Code:
    Starting Named:
    Error in named configuration:
    /var/named/chroot/var/named/named.local 1: unknown option '$ttl'
    /var/named/chroot/var/named/named.local 3: unknown option 'Serial'
    /var/named/chroot/var/named/named.local 4: unknown option 'Refresh'
    /var/named/chroot/var/named/named.local 5: unknown option 'Retry'
    /var/named/chroot/var/named/named.local 6: unknown option 'Expire'
    /var/named/chroot/var/named/named.local 7: unknown option 'Minimum'
    /etc/named.conf:30: unexpected token near end of file
                             [ FAILED ]
    the file named.local is
    Code:
    $TTL 86400
    @ IN SOA ns1.sizne.com. root.localhost. (
                                                      1997022700;
                                                       28800;
                                                       14400;
                                                        3600000;
                                                       86400);
        IN     NS     localhost.
    1    IN     PTR    localhost.
    Thanks for help
     
  2. falko

    falko Super Moderator Howtoforge Staff

    named.local is no zone file, so you can't put your zones in there. In the named.local file, you must reference your zone files, and then in the zone file you can put what you put into named.local.

    Did you modify named.local manually? I guess ISPConfig did not do this.
     

Share This Page