PowerDNS / pdns

PowerDNS Authoritative, PowerDNS Recursor, dnsdist
https://www.powerdns.com/
GNU General Public License v2.0
3.7k stars 908 forks source link

pdns_control and rec_control need to handle failure better #2274

Open rubenk opened 9 years ago

rubenk commented 9 years ago

The line based protocol between pdns and pdns_control, and between recursor and rec_control, has no way to return failure. It returns various different messages when stuff goes wrong, like Empty line, Unknown command or Wrong number of parameters. Returning the message plus an error code in some structured format would be better.

Habbie commented 9 years ago

:+1:

pieterlexis commented 8 years ago

3038