[Pdns-users] help to combine authorative and recursor

Rene Stoutjesdijk r.stoutjesdijk at gmail.com
Sun Dec 23 10:14:50 UTC 2018


Goodday,
i've installed recently for testing purposes the powerdns (master
authorative) on a fresh ubuntu (bionic) server.

First let me start by saying that the products look fine and i'm primarily
interested in the mysql backend.

A remark for the installation:
on a fresh bioninc server it will not install as it misses the libluajit
package, which also seems a bit hard to install until you add the keyword
universe to the entries in /etc/apt/sources.list
So this is may be an advice for doing a small update on the bionic
installation procedure.

The help question:
Now i wanted to combine ( i know it's not advised) the authoritative server
also to be acting as the recursor.
I've used the settings on:
https://doc.powerdns.com/md/authoritative/recursion/

But the keywords recursor and allow-recursion seems to be invaid keywords,
see journal statements:
QUOTE
-- Unit pdns.service has begun starting up.
Dec 23 09:53:34 pdns pdns_server[4325]: Loading
'/usr/lib/x86_64-linux-gnu/pdns/libgmysqlbackend.so'
Dec 23 09:53:34 pdns pdns_server[4325]: Loading
'/usr/lib/x86_64-linux-gnu/pdns/libbindbackend.so'
Dec 23 09:53:34 pdns pdns_server[4325]: This is a standalone pdns
Dec 23 09:53:34 pdns pdns_server[4325]: Listening on controlsocket in
'/var/run/pdns.controlsocket'
Dec 23 09:53:34 pdns pdns_server[4325]: Fatal error: Trying to set unknown
parameter 'recursor'
Dec 23 09:53:34 pdns systemd[1]: pdns.service: Main process exited,
code=exited, status=1/FAILURE
Dec 23 09:53:34 pdns systemd[1]: pdns.service: Failed with result
'exit-code'.
Dec 23 09:53:34 pdns systemd[1]: Failed to start PowerDNS Authoritative
Server.

-- Unit pdns.service has begun starting up.
Dec 23 09:54:16 pdns pdns_server[5179]: Loading
'/usr/lib/x86_64-linux-gnu/pdns/libgmysqlbackend.so'
Dec 23 09:54:16 pdns pdns_server[5179]: Loading
'/usr/lib/x86_64-linux-gnu/pdns/libbindbackend.so'
Dec 23 09:54:16 pdns pdns_server[5179]: This is a standalone pdns
Dec 23 09:54:16 pdns pdns_server[5179]: Listening on controlsocket in
'/var/run/pdns.controlsocket'
Dec 23 09:54:16 pdns pdns_server[5179]: Fatal error: Trying to set unknown
parameter 'allow-recursion'
Dec 23 09:54:16 pdns systemd[1]: pdns.service: Main process exited,
code=exited, status=1/FAILURE
Dec 23 09:54:16 pdns systemd[1]: pdns.service: Failed with result
'exit-code'.
Dec 23 09:54:16 pdns systemd[1]: Failed to start PowerDNS Authoritative
Server.
UNQUOTE

How can this be resolved?

thx in advance for your response
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20181223/a0259622/attachment.html>


More information about the Pdns-users mailing list