[Pdns-users] Virtual servers in pdns-recursor

Pieter Lexis pieter.lexis at powerdns.com
Fri Jan 8 15:46:08 UTC 2016


Hi Miguel,

On Fri, 8 Jan 2016 09:16:32 -0600
Miguel Miranda <miguel.mirandag at gmail.com> wrote:

> Hi, i want to run several instances of pdns-recursor, is there any support
> similar to pdns virtual hosting?
> I have tried copying /etc/init.d/pdns-recursor to
> /etc/init.d/pdns-recursor-balancer1 and copying
> /etc/pdns-recursor/recursor.conf to
> /etc/pdns-recursor/recursor-balancer1.conf (in this file i changed port
> settings) but nothing happens when i run
> /etc/init.d/pdns-recursor-balancer1 start.

You'll need to add '--config-name'[1] to command line options pdns_recursor in the init-script. Virtual hosting as done by the authoritative server is not supported with the recursor init-script.

Best regards,

Pieter

1 - https://doc.powerdns.com/md/recursor/settings/#config-name

-- 
Pieter Lexis
PowerDNS.COM BV -- https://www.powerdns.com




More information about the Pdns-users mailing list