Setting up PowerDNS Server with PowerDNS Recursor

You may also like...

4 Responses

  1. Jon says:

    Michael, You are correct. Recursor on 53 (so it answers all requests), and pdns server on 54 (so it only answers redirects from the recursor). I’ve updated accordingly.

  2. Michael says:

    A little typo? Instead of….:

    nano /etc/pdns/recursor
    Set “local-port=54” and “forward-zones=mydomain.local=127.0.0.1:54” (Do be sure to change ‘mydomain.local’ to your domain that you’ll be hosting in PowerDNS Server)

    ..I am sure you meant Port 53 here!? Both pdns and recursor obviously cannot sit on the same chair… ;-)

  3. Davis says:

    Hi Jon,

    I have similar requirement but slightly different. I want to achieve following.

    1. Have the PDNS Recursor run in non recursive mode.

    That means I want recursor to perform the recursive look up only when it cant find the answer in the backend ( I am not sure if the recursor actually is able to talk to backend..if yes then I would like to know how to configure this)..

    I do not know how do I configure recursor to act like above.

    I tried so many things but could not get it right.

    Could you please help me with this?

    Thanks.

    Regards,
    Davis Jira

    • Jon says:

      I’m not much of a PDNS expert. To my knowledge, the only way the Recursor works is: Look up specialized in alternate servers (IE Forward-zones, if some are listed), else fail to default DNS server.

      What I’m guessing you want, is to have a LOT of domains in the backend (what forward-zones is for) and not list them all and maybe not all of your zone records are complete. That being said, I have no idea how to go about doing that. I’m guess you need something more advanced than the simple Recursor.

Leave your thoughts

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: