Re: [Pdns-users] Retry NXDOMAIN with a secondary forwarder

2012-01-09 Thread Peter van Dijk
Hi, On Jan 9, 2012, at 12:13 , Richard Connon wrote: > I guess what's really needed here is really a DNS backend to the auth server, > but the use-cases for such a thing are very limited. This is the second time in 5 months that I've heard of a remotely sensible use case for such a backend :)

Re: [Pdns-users] Retry NXDOMAIN with a secondary forwarder

2012-01-09 Thread Richard Connon
On 09/01/2012 11:11, Peter van Dijk wrote: Hello, Could you possibly access "your" data by any other means than DNS (like database or something)? If so, couldn't you just write a plugin that checks your backend for the record and otherwise just return to normal lookup mode? There is no easy wa

Re: [Pdns-users] Retry NXDOMAIN with a secondary forwarder

2012-01-09 Thread Peter van Dijk
Hello, > Could you possibly access "your" data by any other means than DNS > (like database or something)? If so, couldn't you just write a plugin > that checks your backend for the record and otherwise just return to > normal lookup mode? There is no easy way to hook this into the recursor; what

Re: [Pdns-users] Retry NXDOMAIN with a secondary forwarder

2012-01-09 Thread Peter van Dijk
Hello, On Jan 9, 2012, at 11:43 , Erik Weber wrote: >> >> I could do that. How difficult would that be? At the moment I wouldn't know >> where to start. > > Take a look at the sample here: > http://doc.powerdns.com/recursor-scripting.html > > You'd have to write some lookup code (to the datab

Re: [Pdns-users] Retry NXDOMAIN with a secondary forwarder

2012-01-09 Thread Erik Weber
On Mon, Jan 9, 2012 at 11:30 AM, Richard Connon wrote: > On 08/01/2012 21:55, Erik Weber wrote: >> >> On Sat, Jan 7, 2012 at 6:30 PM, Richard Connon >>  wrote: >>> >>> On 07/01/2012 17:24, Peter van Dijk wrote: On Jan 7, 2012, at 4:45 , Richard Connon wrote: > Is it possible thr

Re: [Pdns-users] Retry NXDOMAIN with a secondary forwarder

2012-01-09 Thread Richard Connon
On 08/01/2012 21:55, Erik Weber wrote: On Sat, Jan 7, 2012 at 6:30 PM, Richard Connon wrote: On 07/01/2012 17:24, Peter van Dijk wrote: On Jan 7, 2012, at 4:45 , Richard Connon wrote: Is it possible through lua scripting or otherwise to configure powerdns to look NXDOMAIN responses up in a s

Re: [Pdns-users] Retry NXDOMAIN with a secondary forwarder

2012-01-08 Thread Erik Weber
On Sat, Jan 7, 2012 at 6:30 PM, Richard Connon wrote: > On 07/01/2012 17:24, Peter van Dijk wrote: >> On Jan 7, 2012, at 4:45 , Richard Connon wrote: >> >>> Is it possible through lua scripting or otherwise to configure powerdns >>> to look NXDOMAIN responses up in a second forwarder before return

Re: [Pdns-users] Retry NXDOMAIN with a secondary forwarder

2012-01-08 Thread Richard Connon
This is, unfortunately, impossible since I don't control all the names and can't get a zone transfer from the main DNS server. On 08/01/2012 21:41, Aki Tuomi wrote: Yep. Of course, I understand if this is not feasible. Just thought to suggest this option, too. Aki Tuomi On Sun, Jan 08, 2012

Re: [Pdns-users] Retry NXDOMAIN with a secondary forwarder

2012-01-08 Thread Aki Tuomi
Yep. Of course, I understand if this is not feasible. Just thought to suggest this option, too. Aki Tuomi On Sun, Jan 08, 2012 at 09:30:38PM +, Richard Connon wrote: > Wouldn't that mean I'd need the zone data for the entire zone rather > than just my hosts? > > On 08/01/2012 21:09, Aki Tuo

Re: [Pdns-users] Retry NXDOMAIN with a secondary forwarder

2012-01-08 Thread Richard Connon
Wouldn't that mean I'd need the zone data for the entire zone rather than just my hosts? On 08/01/2012 21:09, Aki Tuomi wrote: I would suggest you configure an powerdns AUTH server which contains the entire zone and use option 'forward=zone.name=auth.server.ip' in recursor.conf instead. Much

Re: [Pdns-users] Retry NXDOMAIN with a secondary forwarder

2012-01-08 Thread Aki Tuomi
I would suggest you configure an powerdns AUTH server which contains the entire zone and use option 'forward=zone.name=auth.server.ip' in recursor.conf instead. Much cleaner approach. Aki Tuomi On Sat, Jan 07, 2012 at 05:30:51PM +, Richard Connon wrote: > I want to overlay a set of names

Re: [Pdns-users] Retry NXDOMAIN with a secondary forwarder

2012-01-07 Thread Richard Connon
I want to overlay a set of names onto an existing DNS zone for which I don't control the nameserver. I have a number of names which are "mine" inside a zone managed "higher up" my organisation. The zone also contains lots of names which are not "mine". DNS updates can take over 3 weeks (ridiculo

Re: [Pdns-users] Retry NXDOMAIN with a secondary forwarder

2012-01-07 Thread Peter van Dijk
Hello Richard, On Jan 7, 2012, at 4:45 , Richard Connon wrote: > Is it possible through lua scripting or otherwise to configure powerdns to > look NXDOMAIN responses up in a second forwarder before returning NXDOMAIN. > To clarify I'd like it to go something like: > > lookup name in NS1 > if fo

Re: [Pdns-users] Retry NXDOMAIN with a secondary forwarder

2012-01-07 Thread bert hubert
On Sat, Jan 07, 2012 at 03:45:08AM +, Richard Connon wrote: > Is it possible through lua scripting or otherwise to configure > powerdns to look NXDOMAIN responses up in a second forwarder before > returning NXDOMAIN. > To clarify I'd like it to go something like: No, Lua does not have that lev

[Pdns-users] Retry NXDOMAIN with a secondary forwarder

2012-01-06 Thread Richard Connon
Is it possible through lua scripting or otherwise to configure powerdns to look NXDOMAIN responses up in a second forwarder before returning NXDOMAIN. To clarify I'd like it to go something like: lookup name in NS1 if found in NS1: return NS1 result else: lookup name in NS2 return N