[Pdns-users] Problems with zone2ldap
Tom Müller-Kortkamp
tmueko at kommunity.net
Fri Jun 27 14:02:24 UTC 2003
hi,
I'm new to this list! So if you had that Problem handled bevore, please
excuse me.
I get stuck at the very beginning as I can't convert my Zones to LDAP:
bash# named -v
named 8.3.4-REL Mon Jun 9 18:13:35 CEST 2003
bash# zone2ldap --named-conf=/etc/namedb/named.conf
--basedn="cn=testumgebung"
Fatal error: Error in bind configuration '/etc/namedb/named.conf' on
line 22: parse error
bash# cat /etc/namedb/named.conf
// $FreeBSD: src/etc/namedb/named.conf,v 1.6 1999/08/27 23:24:02 peter
Exp $
//
// Refer to the named(8) man page for details. If you are ever going
// to setup a primary server, make sure you've understood the hairy
// details of how DNS is working. Even with simple mistakes, you can
// break connectivity for affected parties, or cause huge amount of
// useless Internet traffic.
options {
directory "/etc/namedb";
listen-on port 53 { 127.0.0.1; 192.168.12.1;};
forwarders {
x.x.x.x;
x.x.x.x;
x.x.x.x;
x.x.x.x;
};
};
logging {
channel named_log {
file "named.log" versions 2 size 2m; <- Line 22
severity info;
print-category yes;
print-severity yes;
print-time yes;
};
category default { named_log; };
category panic { named_log; };
category os { named_log; };
category config { named_log; };
category insist { named_log; };
category security { named_log; };
category statistics { named_log; };
category load { named_log; };
category maintenance { named_log; };
};
controls {
inet 192.168.12.1 port 53 allow { any; };
unix "/var/run/ndc" perm 0660 owner 53 group 53;
};
zone "." {
type hint;
file "named.root";
};
zone "0.0.127.IN-ADDR.ARPA" {
type master;
file "localhost.rev";
};
include "named.zone";
Greetings
Tom Müller-Kortkamp
kommunity GmbH & Co. KG
Goseriede 4
30159 Hannover
Tel: 0511/121085-350
Fax: 0511/121085-399
More information about the Pdns-users
mailing list