Are you possibly using a slightly older version? This was fixed in
http://wiki.powerdns.com/trac/changeset/1234 - released in 2.9.22.
Cheers,
Erik
From: pdns-users-boun...@mailman.powerdns.com
[pdns-users-boun...@mailman.powerdns.com] on behalf of Ian Mo
Hi,
I've noticed that the pdns_control command returns 0 regardless of the outcome
of the operation. It would be great if the return code would indicate that
there was a problem.
For example:
$ pdns_control retrieve thisdoesntexist.com ; echo $?
Domain 'thisdoesntexist.com' unknown
0
$ pdns_c