Re: [Pdns-users] dnssec and lua-config--file

2020-05-13 Thread Brian Candler via Pdns-users
On 13/05/2020 09:05, Pierrick CHOVELON wrote: Thx, both of you. It works like a charm. Great.  Also look at the "auth-zones" option - depending on your use case it may be another option. https://docs.powerdns.com/recursor/settings.html#auth-zones I'll have a look on the forward-zones-file.

Re: [Pdns-users] dnssec and lua-config--file

2020-05-13 Thread Pierrick CHOVELON via Pdns-users
Thx, both of you. It works like a charm. I'll have a look on the forward-zones-file. Are modifications taken on the fly or it is necessary to restart the recursor ? Regards ___ Pdns-users mailing list Pdns-users@mailman.powerdns.com https://mailman.powe

Re: [Pdns-users] dnssec and lua-config--file

2020-05-13 Thread Brian Candler via Pdns-users
On 13/05/2020 08:18, Pierrick CHOVELON via Pdns-users wrote: Now, let's imagine I want to resolve foo.example.net and also bar.example.net . Do I have to create two zone files one for foo.example.net and one for bar.e

Re: [Pdns-users] dnssec and lua-config--file

2020-05-13 Thread Pierrick CHOVELON via Pdns-users
Hi, Thank you very much, it works. (I've some typos in the named.conf files too). For the hint file, it was in the default configuration. Now, let's imagine I want to resolve foo.example.net and also bar.example.net. Do I have to create two zone files one for foo.example.net and one for bar.exa

Re: [Pdns-users] dnssec and lua-config--file

2020-05-12 Thread Nico CARTRON via Pdns-users
On 12-May-2020 19:11 CEST, wrote: > Hi, > > Yes I do : > > cat recursor.conf | grep -v '^\s*$\|^\s*\#' > config-dir=/etc/powerdns > dnssec-log-bogus=yes > hint-file=/usr/share/dns/root.hints > local-address=0.0.0.0 > local-port=3334 > *lua-config-file=/etc/powerdns/recursor.lua* > quiet=yes > s

Re: [Pdns-users] dnssec and lua-config--file

2020-05-12 Thread Pierrick CHOVELON via Pdns-users
Hi, Yes I do : cat recursor.conf | grep -v '^\s*$\|^\s*\#' config-dir=/etc/powerdns dnssec-log-bogus=yes hint-file=/usr/share/dns/root.hints local-address=0.0.0.0 local-port=3334 *lua-config-file=/etc/powerdns/recursor.lua* quiet=yes security-poll-suffix= setgid=pdns setuid=pdns trace=fail forwar

Re: [Pdns-users] dnssec and lua-config--file

2020-05-12 Thread Nico CARTRON via Pdns-users
Hi Pierre, On 12-May-2020 16:59 CEST, wrote: > Hello, > > I'm testing pdns-recursor and I'd like to config it in order to : > >- resolves normally exemple.net >- forwards the request foo.example.net to an internal authoritative >server > > I've read the documentation, and found :

[Pdns-users] dnssec and lua-config--file

2020-05-12 Thread Pierrick CHOVELON via Pdns-users
Hello, I'm testing pdns-recursor and I'd like to config it in order to : - resolves normally exemple.net - forwards the request foo.example.net to an internal authoritative server I've read the documentation, and found : https://docs.powerdns.com/recursor/settings.html#forward-zones I'v