[Pdns-users] PowerDNS - Remote Backend - "Fatal error: Trying to set unexisting parameter 'remote-connection-string'" - CentOS release 6.5 (Final)

2014-04-23 Thread Aleksandar Bakalov
Hi, I use PowerDns 3.3.1. on CentOS 6.5. The PowerDns service works ok. When I add the 'remote-connection-string' to the pdns.conf I get the "Fatal error: Trying to set unexisting parameter 'remote-connection-string'". What could be the reason for this? My pdns.conf looks like this: # MySQL

Re: [Pdns-users] PipeBackend: no remote-ip-address when AXFR?

2014-04-23 Thread Daniel Funke
I just tried. After switching from version 2 to version 3 there is one further field at the end. It's called the "edns-subnet-address". But in the SOA-Query just before the AXFR it's 0.0.0.0/0 too. But this works how docu says (http://doc.powerdns.com/html/backends-detail.html#pipebackend): "N

Re: [Pdns-users] PipeBackend: no remote-ip-address when AXFR?

2014-04-23 Thread Aki Tuomi
Did you look at real-remote or remote? The real-remote field is present on abi version 3 and later (if present). Aki On Wed, Apr 23, 2014 at 07:32:09PM +0200, Daniel Funke wrote: > Aki, > > this trick doesn't work for me. The query just before the AXFR is a > SOA-Query for the domain, but the r

Re: [Pdns-users] PipeBackend: no remote-ip-address when AXFR?

2014-04-23 Thread Daniel Funke
Aki, this trick doesn't work for me. The query just before the AXFR is a SOA-Query for the domain, but the remote-ip-address is "0.0.0.0" for this query, not the real address. Maybe you can explain more detailed how you do this trick? Daniel Am 23.04.2014 17:26, schrieb Aki Tuomi: In rem

Re: [Pdns-users] PipeBackend: no remote-ip-address when AXFR?

2014-04-23 Thread Aki Tuomi
In remotebackend we have support for AXFR with zone name, and for Pipe Backend you can use the trick I use in my python/ruby package. Keep track of last Q name, AXFR will follow a query. Aki On Wed, Apr 23, 2014 at 02:55:28PM +, Leigh Porter wrote: > > How do you find performance for this?

Re: [Pdns-users] PipeBackend: no remote-ip-address when AXFR?

2014-04-23 Thread Leigh Porter
How do you find performance for this? I would like to use a similar approach for a simple DNS filter so I lookup the remote IP address and then, depending upon that I'll choose the view (i.e. RPZ-style filter or not) based on that. But I'm concerned that the database lookup will slow it down to

[Pdns-users] PipeBackend: no remote-ip-address when AXFR?

2014-04-23 Thread Daniel Funke
Hi all, to get something like views in bind, I'm trying to use a PipeBackend which is asking a PostgreSQL database. For simple queries it works fine because I get the remote-ip-address in the query and can select the depending view from my db. But the zone transfer just comes with "AXFR

Re: [Pdns-users] Recursor

2014-04-23 Thread Johan Kooijman
Aaah, yes, that was indeed the issue. I wonder how on gods earth that ended up in the DB ... Thx! On Wed, Apr 23, 2014 at 2:18 PM, Aki Tuomi wrote: > You've managed to claim your server authoritative for . zone, this is > probably > not a good thing. This might break more things for you. Do you

Re: [Pdns-users] Recursor

2014-04-23 Thread Aki Tuomi
You've managed to claim your server authoritative for . zone, this is probably not a good thing. This might break more things for you. Do you have authoritative server in front of the recursor? Aki On Wed, Apr 23, 2014 at 02:14:30PM +0200, Johan Kooijman wrote: > Aki, > > Indeed, the client had

Re: [Pdns-users] Recursor

2014-04-23 Thread Johan Kooijman
Aki, Indeed, the client had the search domain jkit.nl. Removed that, but.. still no luck: [14:06:44 jkooijman /home/jkooijman]$ dig @ cnn.com ; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.23.rc1.el6_5.1 <<>> @ cnn.com ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY,

Re: [Pdns-users] Recursor

2014-04-23 Thread Aki Tuomi
You have search parameter in /etc/resolv.conf, and host command uses that. Now, you have a *.jkit.nl IN MX record, which in turn gets used by host and gethostbyname when asked for it. Easy fix. Remove search jkit.nl from /etc/resolv.conf and stop using host =) use dig instead. Aki On Wed, Apr

Re: [Pdns-users] Recursor

2014-04-23 Thread Leen Besselink
On Wed, Apr 23, 2014 at 01:49:17PM +0200, Johan Kooijman wrote: > Hi all, > > I'm seeing something I cannot explain. I've setup my pdns daemon to send > requests for recursions to Google DNS for now. But when I execute a host > lookup, I'm seeing this: > > *[13:35:42 jkooijman /home/jkooijman]$

[Pdns-users] Recursor

2014-04-23 Thread Johan Kooijman
Hi all, I'm seeing something I cannot explain. I've setup my pdns daemon to send requests for recursions to Google DNS for now. But when I execute a host lookup, I'm seeing this: *[13:35:42 jkooijman /home/jkooijman]$ host cnn.com * *Using domain server:* *Name: * *Address: #53*