[Pdns-users] Re: Using both recursor and pdns authorative

Udo Rader udo.rader at bestsolution.at
Fri May 18 15:26:02 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

frv at medipads.de wrote:
> Hi, first thanks to both of for your quick answer. I have read the docu  and set the recursor to listen port 5300  (local-port=5300) and the IP of recursing namesarever in pdns to (recursor=192.168.70.50:5300). 
> Now, i start the pdns for monitoring but for those recursive lookup i got the following message
> 
> Error receiving packet from recursor backend: Connection refused
> 
> if i do a nslookup for a RR stored in the authorative server, this works
> then i do also a nslookup specifying the port 5300 for a resolution on the internet and also is fine. but it does not resolve the names when i donot specify any port and the message above is shown . 
> 
> any idea what can be missing in the configration ?

Hi,

first please don't reply offlist.

Your recursor.conf should minimally look like this:

- --------------CUT--------------
daemon=yes
local-port=5353
local-address=127.0.0.1
allow-from=_YOUR_LOCAL_NETMASK_,127.0.0.1
- --------------CUT--------------

regarding recursion, your pdns.conf should look like this:

- --------------CUT--------------
allow-recursion=_YOUR_LOCAL_NETMASK_,127.0.0.1
recursor=127.0.0.1:5353
- --------------CUT--------------

After you have made the changes, be sure that you _restart_ (not reload)
both the recursor and the main pdns process.

If that does not help, post the contents of your recursor.conf & pdns.conf.

- --
Udo Rader
BestSolution.at EDV Systemhaus GmbH
http://www.bestsolution.at

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mandriva - http://enigmail.mozdev.org

iD8DBQFGTcVsuhFd84GLxP8RApC5AKCF/t0Se35UauDR27HrS3b2UO9L0gCfSiyY
R6mC/hb8zlXwRaiUYs/tai8=
=5zjc
-----END PGP SIGNATURE-----


More information about the Pdns-users mailing list