Re: [Pdns-users] SERVFAIL on backend failure - is this possible?

2020-02-26 Thread Vytenis A via Pdns-users
Issue: https://github.com/PowerDNS/pdns/issues/8866 If anyone has any ideas on how to workaround it - that would be great Thanks again! On Wed, Feb 26, 2020 at 11:43 AM Aki Tuomi wrote: > > This is a bug, please file an issue at > https://github.com/PowerDNS/pdns/issues > > Aki > > On 26.2.2020

Re: [Pdns-users] SERVFAIL on backend failure - is this possible?

2020-02-26 Thread Aki Tuomi via Pdns-users
This is a bug, please file an issue at https://github.com/PowerDNS/pdns/issues Aki On 26.2.2020 11.24, Vytenis A wrote: > UPDATE: pDNS returns NXDOMAIN only when TXT query returns HTTP 500, > and SOA returns 200. > > We would like to keep SOA record statically defined in our backend, > and TXT is

Re: [Pdns-users] SERVFAIL on backend failure - is this possible?

2020-02-26 Thread Vytenis A via Pdns-users
UPDATE: pDNS returns NXDOMAIN only when TXT query returns HTTP 500, and SOA returns 200. We would like to keep SOA record statically defined in our backend, and TXT is quered in DB. I guess pDNS treats remote DNS store as healthy if SOA is OK, ignoring subsequent request status. On Wed, Feb 26, 2

Re: [Pdns-users] SERVFAIL on backend failure - is this possible?

2020-02-26 Thread Vytenis A via Pdns-users
Hi Aki! Ok, so I've implemented SOA into remote backend and dropped bind completely. The only backend active now is "remote" If I provide invalid connection string to a closed port - I get REFUSED, which is good But our concern is that our HTTP backend could start misbehaving (returining 40x, 50

Re: [Pdns-users] SERVFAIL on backend failure - is this possible?

2020-02-25 Thread Aki Tuomi via Pdns-users
Hi! It is not really supported to split domains like this. You need to host the entire domain in remote backend. Aki On 26.2.2020 2.00, Vytenis A via Pdns-users wrote: > Hi Bert, > > Thanks for a prompt reply. > > This is currently on my local test VM, it's waay past midnight, I can > put it on

Re: [Pdns-users] SERVFAIL on backend failure - is this possible?

2020-02-25 Thread Vytenis A via Pdns-users
Hi Bert, Thanks for a prompt reply. This is currently on my local test VM, it's waay past midnight, I can put it on resolvable domain tomorrow if this isn't helpful. Not sure how to show you this exactly :) I'm using latest pDNS, using official repo: pdns-4.2.1-1pdns.el7.x86_64, CentOS 7.7.1908

Re: [Pdns-users] SERVFAIL on backend failure - is this possible?

2020-02-25 Thread bert hubert via Pdns-users
On Wed, Feb 26, 2020 at 12:35:21AM +0200, Vytenis A via Pdns-users wrote: > While trying to implement authoritative DNS server using "remote" > backend, I've stumbled into an issue when HTTP backend is unreachable > - PowerDNS is returning NXDOMAIN. Can you reproduce this for us so we can check? I

[Pdns-users] SERVFAIL on backend failure - is this possible?

2020-02-25 Thread Vytenis A via Pdns-users
Hi List, While trying to implement authoritative DNS server using "remote" backend, I've stumbled into an issue when HTTP backend is unreachable - PowerDNS is returning NXDOMAIN. What I would like to achieve is return SERVFAIL in case my HTTP endpoint is unavailable. Is this possible? Maybe Lua f