LUA Script Suggestion

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

LUA Script Suggestion

Federico87
Hi guys,

A quick e-mail to ask a suggestion for a LUA script (or a similar functionality) in power dns recursor to redirect all in-addr.arpa and ip6.arpa to an external DNS server! Thank you!

Federico

_______________________________________________
Pdns-users mailing list
[hidden email]
http://mailman.powerdns.com/mailman/listinfo/pdns-users
Reply | Threaded
Open this post in threaded view
|

Re: LUA Script Suggestion

Aki Tuomi
On Wed, Feb 10, 2016 at 11:21:05PM +0000, Federico Olivieri wrote:
> Hi guys,
>
> A quick e-mail to ask a suggestion for a LUA script (or a similar
> functionality) in power dns recursor to redirect all in-addr.arpa and
> ip6.arpa to an external DNS server! Thank you!
>
> Federico

It can be done with no Lua, imagine!

forward-zones-recurse=in-addr.arpa=external.ip,ip6.arpa=external.ip

Aki
_______________________________________________
Pdns-users mailing list
[hidden email]
http://mailman.powerdns.com/mailman/listinfo/pdns-users
Reply | Threaded
Open this post in threaded view
|

Re: LUA Script Suggestion

Federico87
Hi Aki,

After I while that I run my server with the configuration suggested from you, it goes down.

This is the log generated

Feb 23 11:48:01 iPig systemd[1]: pdns-recursor.service: main process exited, code=killed, status=6/ABRT
Feb 23 11:48:01 iPig systemd[1]: Unit pdns-recursor.service entered failed state.


Federico

2016-02-11 11:37 GMT+00:00 Aki Tuomi <[hidden email]>:
On Wed, Feb 10, 2016 at 11:21:05PM +0000, Federico Olivieri wrote:
> Hi guys,
>
> A quick e-mail to ask a suggestion for a LUA script (or a similar
> functionality) in power dns recursor to redirect all in-addr.arpa and
> ip6.arpa to an external DNS server! Thank you!
>
> Federico

It can be done with no Lua, imagine!

forward-zones-recurse=in-addr.arpa=external.ip,ip6.arpa=external.ip

Aki


_______________________________________________
Pdns-users mailing list
[hidden email]
http://mailman.powerdns.com/mailman/listinfo/pdns-users
Reply | Threaded
Open this post in threaded view
|

Re: LUA Script Suggestion

bert hubert-3
On Tue, Feb 23, 2016 at 11:50:20AM +0000, Federico Olivieri wrote:
> Hi Aki,
>
> After I while that I run my server with the configuration suggested from
> you, it goes down.
>
> This is the log generated

This is an issue fixed in later PowerDNS Recursor 4.x builds as available on
https://repo.powerdns.com/

https://github.com/PowerDNS/pdns/issues/3121 was the ticket.

Can you verify that it works in newer builds?

        Bert

>
> Feb 23 11:48:01 iPig systemd[1]: pdns-recursor.service: main process
> exited, code=killed, status=6/ABRT
> Feb 23 11:48:01 iPig systemd[1]: Unit pdns-recursor.service entered failed
> state.
>
>
> Federico
>
> 2016-02-11 11:37 GMT+00:00 Aki Tuomi <[hidden email]>:
>
> > On Wed, Feb 10, 2016 at 11:21:05PM +0000, Federico Olivieri wrote:
> > > Hi guys,
> > >
> > > A quick e-mail to ask a suggestion for a LUA script (or a similar
> > > functionality) in power dns recursor to redirect all in-addr.arpa and
> > > ip6.arpa to an external DNS server! Thank you!
> > >
> > > Federico
> >
> > It can be done with no Lua, imagine!
> >
> > forward-zones-recurse=in-addr.arpa=external.ip,ip6.arpa=external.ip
> >
> > Aki
> >

> _______________________________________________
> Pdns-users mailing list
> [hidden email]
> http://mailman.powerdns.com/mailman/listinfo/pdns-users

_______________________________________________
Pdns-users mailing list
[hidden email]
http://mailman.powerdns.com/mailman/listinfo/pdns-users
Reply | Threaded
Open this post in threaded view
|

Re: LUA Script Suggestion

Federico87
Hi Bert,

I'm running 4.0.0-alpha1.

root@iPig:~# rec_control version
4.0.0-alpha1

Do I have to move on Master Branch repository?

Regards,

Federico


2016-02-23 12:07 GMT+00:00 bert hubert <[hidden email]>:
On Tue, Feb 23, 2016 at 11:50:20AM +0000, Federico Olivieri wrote:
> Hi Aki,
>
> After I while that I run my server with the configuration suggested from
> you, it goes down.
>
> This is the log generated

This is an issue fixed in later PowerDNS Recursor 4.x builds as available on
https://repo.powerdns.com/

https://github.com/PowerDNS/pdns/issues/3121 was the ticket.

Can you verify that it works in newer builds?

        Bert

>
> Feb 23 11:48:01 iPig systemd[1]: pdns-recursor.service: main process
> exited, code=killed, status=6/ABRT
> Feb 23 11:48:01 iPig systemd[1]: Unit pdns-recursor.service entered failed
> state.
>
>
> Federico
>
> 2016-02-11 11:37 GMT+00:00 Aki Tuomi <[hidden email]>:
>
> > On Wed, Feb 10, 2016 at 11:21:05PM +0000, Federico Olivieri wrote:
> > > Hi guys,
> > >
> > > A quick e-mail to ask a suggestion for a LUA script (or a similar
> > > functionality) in power dns recursor to redirect all in-addr.arpa and
> > > ip6.arpa to an external DNS server! Thank you!
> > >
> > > Federico
> >
> > It can be done with no Lua, imagine!
> >
> > forward-zones-recurse=in-addr.arpa=external.ip,ip6.arpa=external.ip
> >
> > Aki
> >

> _______________________________________________
> Pdns-users mailing list
> [hidden email]
> http://mailman.powerdns.com/mailman/listinfo/pdns-users



_______________________________________________
Pdns-users mailing list
[hidden email]
http://mailman.powerdns.com/mailman/listinfo/pdns-users