On Sat, May 30, 2026 at 01:09:24PM -0400, Charles Sprickman via Pdns-users wrote:
> Hi all, > > This is a simple one, fits entirely in the subject line. :) > > I know I can get the startup config from the API or "rec_control > get-parameter [the paramater I want to check]", but how do I get the current > running config. > > I imagine most of your users at this point are folks running giant sites and > all, but we started using the recursor way, way back when we found djb's > dnscache couldn't keep up with what we were doing - like really early days > IIRC, and we just stuck with it, so please bear with me a bit - I'm not at > all a power user here, I haven't even touched things like dnsdist (or had a > need to) > > Basic scenario - I have the recursor running and want to make a change to the > running config, for example: > > "rec_control set-minimum-ttl 1000" > > And in the config file that value is either not set or is set to a different > value > > Now I come back in a few weeks and ask myself "what did I set that to? I > should probably put it in the config file!", so: > > "rec_control get-parameter minimum-ttl-override" > > And that provides me with the configured, but no running config. > > Same for something like: > > curl -s -H 'X-API-Key: secret' > http://10.99.88.131:8082/api/v1/servers/localhost/config|grep minimum > > I kind of hijacked a github issue, but I think we were talking past each > other here: > > https://github.com/PowerDNS/pdns/issues/2580 > > It should be possible to see the running config somewhere, right? Even people > running in a fully containerized, automated environment start with some > initial tinkering in a test environment somewhere where they're manually > making changes by hand and testing, right? And you need to know where your > config is at after a bunch of fiddling about with various params... > > Thanks, > > Charles There's is no way to get the running condfig right now. It is on the roadmap though, -Otto _______________________________________________ Pdns-users mailing list [email protected] https://mailman.powerdns.com/mailman/listinfo/pdns-users
