Re: [Pdns-users] pdns server api access leads to "Internal Server Error"

2019-05-07 Thread Tobi
Hi Frank and list case solved :-) I changed all TXT records of the affected domain directly in mysql to have a leading and a trailing " and api happily replied with the expected data on the endpoint. acme.sh now can issue v2 certificates for LE wildcard certs :-) Now the only remaining thing is t

Re: [Pdns-users] pdns server api access leads to "Internal Server Error"

2019-05-07 Thread frank+pdns--- via Pdns-users
Hi Tobi, > >> HTTP ISE for "/api/v1/servers/localhost/zones/REDACTED.tld": STL >> Exception: Parsing record content (try 'pdnsutil check-zone'): Data >> field in DNS should start with quote (") at position 0 of 'v=spf1 >> -all' > It seems you’ve hit https://github.com/PowerDNS/pdns/issues/6070

Re: [Pdns-users] pdns server api access leads to "Internal Server Error"

2019-05-07 Thread Tobi
Hi Frank think we're getting closer ;-) I added a new testdomain to pdns and that one was no problem on endpoint. After enabling debug in pdns.conf the following line jumped to my eyes > HTTP ISE for "/api/v1/servers/localhost/zones/REDACTED.tld": STL > Exception: Parsing record content (try 'pdn

Re: [Pdns-users] pdns server api access leads to "Internal Server Error"

2019-05-07 Thread frank+pdns--- via Pdns-users
Hi Tobi, > > is there a switch to just enable debug for api or has the debug to be > enabled globally? Will try with debug and let the list know my findings :-) Pre 4.2, this has to be done globally. See the “loglevel” parameter: https://docs.powerdns.com/authoritative/settings.html#loglevel C

Re: [Pdns-users] pdns server api access leads to "Internal Server Error"

2019-05-07 Thread Tobi
Hi Frank yes for that endpoint ALL domains are affected. Small or big has no influence on the error. In the testdomain there are 8 records according list-zone and check-zone does not report any error > Checked 8 records of 'REDACTED', 0 errors, 0 warnings. > If that looks fine, then I would enab

Re: [Pdns-users] pdns server api access leads to "Internal Server Error"

2019-05-07 Thread Nico CARTRON
Hi Tobi, On 07-May-2019 16:49 CEST, wrote: > Hi list > > I have an application which access the pdns server via the api > interface. I'm using pdns 4.1.8 on a CentOS 7 with latest updates. pdns > runs with mysql backend on mariadb. > > All except one api query work as expected but when I fire

Re: [Pdns-users] pdns server api access leads to "Internal Server Error"

2019-05-07 Thread frank+pdns--- via Pdns-users
Hi Tobi, > > curl -X GET -H 'X-API-Key: MY_API' > http://127.0.0.1:8081/api/v1/servers/localhost/zones/mydomain.tld > > I get a http 500 "Internal Server Error" message. Like said it's the > only query that fails. Any other for example > > > Anyone an idea what goes wrong here? > Can I somehow

[Pdns-users] pdns server api access leads to "Internal Server Error"

2019-05-07 Thread Tobi
Hi list I have an application which access the pdns server via the api interface. I'm using pdns 4.1.8 on a CentOS 7 with latest updates. pdns runs with mysql backend on mariadb. All except one api query work as expected but when I fire such a query curl -X GET -H 'X-API-Key: MY_API' http://127.

[Pdns-users] PowerDNS & Open Source

2019-05-07 Thread bert hubert
Hi everyone, First, apologies for boring you with a non-technical post. But I still think it is important. More than three years ago we announced that PowerDNS would be shipping non open source software, also known as the PowerDNS Platform. We hoped that you would understand. https://blog.powerd

[Pdns-users] PowerDNS Recursor 4.2.0 Beta 1 Released

2019-05-07 Thread Erik Winkels via Pdns-users
Hi, (via: https://blog.powerdns.com/2019/05/07/powerdns-recursor-4-2-0-beta-1-released/ ) The Beta 1 release comes with a lot of bug fixes, improvements and also some new features: - Add a new `max-cache-bogus-ttl` option to cap the TTL of a record that has been validated as `Bogus` in the qu