[Pkg-pdns-maintainers] Bug#691717: pdns-server: zone2sql does not accept documented --bare switch

Peter van Dijk peter.van.dijk at netherlabs.nl
Mon Oct 29 07:51:08 UTC 2012


Hello,

On Oct 29, 2012, at 2:59 , Donald Gordon wrote:

> The manpage for zone2sql documents the existence of a --bare switch:
> 
>  --bare Output in a bare format, suitable for further parsing. [...]
> 
> However the zone2sql executable shipped as part of the pdns-server package
> does not recognise this switch:
> 
>  donald at vm5:~$ zone2sql --bbare --named-conf=/etc/bind/named.conf
> 
>  Fatal error: Trying to set unexisting parameter 'bbare'
> 
> When passed one of the other output format options, e.g. --gmysql, the same
> command returns a pile of insert statements, as expected.
> 
> A fix (ideally to make --bare work) would be greatly appreciated.


This issue is already being tracked as upstream bug #509, at http://wiki.powerdns.com/trac/ticket/509

The proposal there is to add a zone2json tool instead of putting --bare back. If this would not suffice for you, please comment on the upstream ticket. Thanks!

Kind regards,
-- 
Peter van Dijk
Netherlabs Computer Consulting BV - http://www.netherlabs.nl/



More information about the Pkg-pdns-maintainers mailing list