[Pdns-users] Problems with zone2sql

Dave Strydom strydom.dave at gmail.com
Tue May 22 14:20:22 UTC 2007


Hi,

I seem to be having a problem with zone2sql

------
Titan named # zone2sql --gmysql --named-conf=/etc/named.conf

Fatal error: Error in bind configuration '/etc/named.conf' on line 2:
syntax error
------

these are the first 2 lines of /etc/named.conf

=====
options {
        directory "/var/named";
        listen-on{192.168.0.1; 127.0.0.1;};
        allow-transfer {"none";};
        allow-recursion {192.168.0.0/24; 127.0.0.0/24; };
        version "KTHX DNS SERVER - Version: kthx-0.1 BETA";
};
=====

I have even removed all the options so the file ONLY contains the zone
information and I still get an error on line 2 :-/

The version I am using is  2.9.20 on Gentoo linux.

Any ideas?

Regards
Dave Strydom


More information about the Pdns-users mailing list