Re: [Pdns-users] LUA createForward() records and improvement suggestions

2020-06-22 Thread Michael Rommel via Pdns-users
Hi Otto, thanks for the pointer! AFAICT it covers my patches as well, looks a lot more complicated, though. I'll take a closer look at it. Is there any reason, why it hasn't been merged yet? Any cases that would break that needed to be avoided? Thanks, Michael. -- Michael Rommel, Erlangen

Re: [Pdns-users] LUA createForward() records and improvement suggestions

2020-06-22 Thread Otto Moerbeek via Pdns-users
On Mon, Jun 22, 2020 at 10:11:30PM +0200, Michael Rommel via Pdns-users wrote: > > Dear all, > > a while ago (2020-03-01) I asked about setting up domains with LUA > createForward() > records. > > I suceeded in setting it up and found some peculiarities, which I would like > to > discuss her

[Pdns-users] LUA createForward() records and improvement suggestions

2020-06-22 Thread Michael Rommel via Pdns-users
Dear all, a while ago (2020-03-01) I asked about setting up domains with LUA createForward() records. I suceeded in setting it up and found some peculiarities, which I would like to discuss here (in parallel I consider to submit PRs for some issues in Github and would appreciate guidance, w

Re: [Pdns-users] API issue

2020-06-22 Thread qutic development via Pdns-users
Hi Aki, >> we are using PowerDNS version 4.2.2 and seeing errors creating subdomains >> via the api. >> >> The following curl worked for years [1], but after an update to latest pdns >> version it is returning 500 http errors: >> >> curl -i -s -XPATCH \ >> -H 'X-API-Key: $powerdns_api_key' \ >

Re: [Pdns-users] Mysql cluster backend & rpz

2020-06-22 Thread Bill Pye via Pdns-users
- Original Message - > From: "Otto Moerbeek" > To: "bill pye" > Cc: "Pdns-users" > Sent: Monday, 22 June, 2020 12:44:31 > Subject: Re: [Pdns-users] Mysql cluster backend & rpz > On Mon, Jun 22, 2020 at 10:07:07AM +, Bill Pye via Pdns-users wrote: > >> As a follow-up to my last post

Re: [Pdns-users] Problem configuring rpz

2020-06-22 Thread Bill Pye via Pdns-users
- Original Message - > From: "Otto Moerbeek" > To: "bill pye" > Cc: "Pdns-users" > Sent: Monday, 22 June, 2020 12:40:58 > Subject: Re: [Pdns-users] Problem configuring rpz > On Mon, Jun 22, 2020 at 09:57:13AM +, Bill Pye via Pdns-users wrote: > >> Hi all >> >> I'm a home user of y

Re: [Pdns-users] Mysql cluster backend & rpz

2020-06-22 Thread Otto Moerbeek via Pdns-users
On Mon, Jun 22, 2020 at 10:07:07AM +, Bill Pye via Pdns-users wrote: > As a follow-up to my last post I have a question (or two) about using a mysql > cluster as the backend and using rpz. > > First, where does PDNS-recursor store the download zone for an rpz, is it in > the mysql db or an

Re: [Pdns-users] Problem configuring rpz

2020-06-22 Thread Otto Moerbeek via Pdns-users
On Mon, Jun 22, 2020 at 09:57:13AM +, Bill Pye via Pdns-users wrote: > Hi all > > I'm a home user of your excellent software and by no means an expert in DNS. > A while ago I was experimenting with setting-up rpz files on my DNS servers, > that all worked OK. Recently I've been trying to c

[Pdns-users] Mysql cluster backend & rpz

2020-06-22 Thread Bill Pye via Pdns-users
As a follow-up to my last post I have a question (or two) about using a mysql cluster as the backend and using rpz. First, where does PDNS-recursor store the download zone for an rpz, is it in the mysql db or an on-disk file? I'd assume it's on-disk. Second, as I use a cluster of three pdns,

[Pdns-users] Problem configuring rpz

2020-06-22 Thread Bill Pye via Pdns-users
Hi all I'm a home user of your excellent software and by no means an expert in DNS. A while ago I was experimenting with setting-up rpz files on my DNS servers, that all worked OK. Recently I've been trying to configure the rpz via AXFR from ioc2rpz here: [ https://ioc2rpz.net/ | https://ioc2r

Re: [Pdns-users] dnstap problem

2020-06-22 Thread Otto Moerbeek via Pdns-users
On Mon, Jun 22, 2020 at 08:13:11AM +0100, Brian Candler wrote: > On 22/06/2020 07:03, Otto Moerbeek wrote: > > AF 2 is inet, not inet6, in /usr/include/sys/socket.h on my (OpenBSD) > > machine: > > > > #define AF_INET 2 > > Ah I see, I was going by pdns/dnstap.proto: > > // SocketFamily

Re: [Pdns-users] dnstap problem

2020-06-22 Thread Brian Candler via Pdns-users
On 22/06/2020 07:03, Otto Moerbeek wrote: AF 2 is inet, not inet6, in /usr/include/sys/socket.h on my (OpenBSD) machine: #define AF_INET 2 Ah I see, I was going by pdns/dnstap.proto: // SocketFamily: the network protocol family of a socket. This specifies how // to interpret "network