]> granicus.if.org Git - pdns/commit
dnsdist: Add statistics and config to API to make pdnscontrol happy
authorRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 4 Mar 2016 14:32:17 +0000 (15:32 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 4 Mar 2016 14:32:17 +0000 (15:32 +0100)
commitc8adc34c1470ee7e789d393c897d82e895b612ca
tree5df2115a1a7bd6eb1591aaa320d8f7a6c487d613
parent9c0e95ed6e885519f4e4b24aebc5c33c346f67a7
dnsdist: Add statistics and config to API to make pdnscontrol happy

This is a very rough implementation to unify dnsdist with auth and
rec as far as pdnscontrol is concerned, by adding:
- /api/v1/servers/localhost/config
- /api/v1/servers/localhost/statistics

We'll need to refactor this at some point, maybe by merging with
ws-api.
pdns/dnsdist-web.cc