Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 253959 - net-dns/pdns-2.9.21.2 zone2ldap tool fails to parse BIND zone
Summary: net-dns/pdns-2.9.21.2 zone2ldap tool fails to parse BIND zone
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Sven Wegener
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-06 10:22 UTC by Janos Pasztor
Modified: 2009-01-22 18:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Janos Pasztor 2009-01-06 10:22:41 UTC
net-dns/pdns-2.9.21.2 zone2ldap tool fails to parse BIND zone.

Reproducible: Always

Steps to Reproduce:
1. emerge pdns
2. create testzone.com.db with content:
$TTL 1D
@	IN	SOA	ns	hostmaster.test.com. (
				2008072701
				86400
				7200
				360001
				3600
			)
			NS	ns
			NS	ns2
			MX	10	mail.test.com.
			TXT	"v=spf1 a mx ~all"
ns2			A	1.2.3.4
testzone.com.		A	1.2.3.4
*			A	1.2.3.4
3. zone2ldap --zone-file=testzone.com.db --zone-name=testzone.com --basedn=ou=dns,dc=test --dnsttl=yes --layout=tree
Actual Results:  
Died because of STL error: Parsing zone content line: 'SOA' doesn't look like a qtype, stopping loop

Expected Results:  
LDIF file of the zone

zone2ldap tool should be reverted to working version.
Comment 1 Sven Wegener gentoo-dev 2009-01-22 18:11:50 UTC
I've fixed it with a patch from upstream, please re-emerge.