[dnsdist] Manage dnsdist with ansible
Alejandro Adroher Mellado
alejandro.adroher at omniaccess.com
Mon Aug 7 12:20:16 UTC 2017
Hi Remi,
Thanks for your clarification.
There is any plan for this implementation? Or time estimation? Just to know if I can follow planning my ansible project through API or maybe not and I need to use other ways to reach my goal (like controlsocket)
In other side I've just saw the "setAPIWritable(allow[, dir])" command and I would like to know if I can try to play or interact with on my test env. or maybe is not fully functional yet.
Thanks a lot for your time!!
Ale
-----Original Message-----
From: dnsdist [mailto:dnsdist-bounces at mailman.powerdns.com] On Behalf Of Remi Gacogne
Sent: jueves, 3 de agosto de 2017 17:39
To: dnsdist at mailman.powerdns.com
Subject: Re: [dnsdist] Manage dnsdist with ansible
Hi Alejandro,
On 08/03/2017 05:21 PM, Alejandro Adroher Mellado wrote:
> Now I'm planning the next steps on our DNS project, what I want to get is the ability to manage N remotely dnsdist servers from ansible. You know, add and remove rules, collect statistics .. basically the ability to interact with all those remote consoles.
> [...]
> The first basic thing, is this possible?
> There is any kind of documentation about this? I didn't find it. Not sure about if this must be made through API or through controlsocket.
>
> I know how to get JSON data about the current config using API, but nothing in how to modify a dnsdist instance remotelly.
Unfortunately the API is currently almost exclusively read-only, the only thing that can be modified through it is the ACLs. I would really like to be able to manage rules via the HTTP API, but I never found the time to actually implement it.
You can manage them via the console over TCP, though.
--
Remi Gacogne
PowerDNS.COM BV - https://www.powerdns.com/
More information about the dnsdist
mailing list