Re: [Pdns-users] Lua Scripting

2014-12-12 Thread Jason Frisvold
Peter van Dijk wrote: > Hello Jason, > > In that case it’s easiest to have a second auth server for internal data, and > make sure your recursor talks to that one. You can use forward-zones in the > recursor to make that happen. Hrm.. I guess I can do that.. I'll have to play games with what

Re: [Pdns-users] Lua Scripting

2014-12-12 Thread Peter van Dijk
Hello Jason, On 12 Dec 2014, at 19:07 , Jason Frisvold wrote: > Peter van Dijk wrote: >> Hello Jason, >> >> If your clients are end hosts (i.e. machines with the equivalent of >> resolv.conf), they should always be talking to a recursor. If your ‘view’ >> needs are simple (just a few overridd

Re: [Pdns-users] Lua Scripting

2014-12-12 Thread Jason Frisvold
Peter van Dijk wrote: > Hello Jason, > > If your clients are end hosts (i.e. machines with the equivalent of > resolv.conf), they should always be talking to a recursor. If your ‘view’ > needs are simple (just a few overridden IPs here and there), using pre- or > postresolve in the PowerDNS Rec

Re: [Pdns-users] Lua Scripting

2014-12-12 Thread Peter van Dijk
Hello Jason, On 09 Dec 2014, at 18:45 , Jason Frisvold wrote: > I'm in the midst of transitioning from a BIND-based DNS system to a > PowerDNS one. For a myriad of reasons, I need to mimic the views > functionality that BIND has within PowerDNS. It *appears* that I can do > this via Lua script

[Pdns-users] Lua Scripting

2014-12-09 Thread Jason Frisvold
I'm in the midst of transitioning from a BIND-based DNS system to a PowerDNS one. For a myriad of reasons, I need to mimic the views functionality that BIND has within PowerDNS. It *appears* that I can do this via Lua scripting. >From what I'm seeing, the authoritative server only allows for a p

Re: [Pdns-users] Lua Scripting

2012-02-16 Thread Peter van Dijk
Hi, On Feb 14, 2012, at 17:18 , kamvij wrote: > I am trying to return an SRV record using Lua, but the pdns-recursor does > not seem to parse my return list correctly. > > I use the following: > > ret={} > ret[1]= {type="SRV", rdata="_http._tcp. SRV 0 1 80 address.>", ttl=1} > return 0, ret >

[Pdns-users] Lua Scripting

2012-02-14 Thread kamvij
Hi, I am trying to return an SRV record using Lua, but the pdns-recursor does not seem to parse my return list correctly. I use the following: ret={} ret[1]= {type="SRV", rdata="_http._tcp. SRV 0 1 80 ", ttl=1} return 0, ret Any help is appreciated. -- View this message in context: http://ol