[Pdns-users] RPMS for CentOS/RHEL - 4.x and 5.x

Eugene Pefti eugenep at w3media.net
Thu Apr 10 15:51:26 UTC 2008


Yeah, I know it helps just because it is required. It is configured to point
to the entire network, like this:

allow-recursion=127.0.0.0/0, 192.197.96.0/26

Eugene

From: pdns-users-bounces at mailman.powerdns.com
[mailto:pdns-users-bounces at mailman.powerdns.com] On Behalf Of Ralf van der
Enden
Sent: Thursday, April 10, 2008 1:31 AM
To: pdns-users at mailman.powerdns.com
Subject: Re[2]: [Pdns-users] RPMS for CentOS/RHEL - 4.x and 5.x

 

Hello Eugene,

 

Thursday, April 10, 2008, 10:18:54 AM, you wrote:

 

> Hi Kees,

 

> That worked, thanks a lot. The graphs are neat and informative. In the

> meanwhile I encountered a problem with latest pdns-recursor that I

> downloaded from ftp://ftp.monshouwer.eu/pub/linux/pdns-recursor/

> Not very sure my problem is inherent to the latest pdns-recursor actually.
I

> run CentOS 4.5 with older recursor and pdns-server but here with CentOS
5.0

> and packages for EL5 I stumbled. Anyways, I installed

> pdns-server-2.9.21-2.el5.MIND.i386.rpm and

> pdns-server-backend-mysql-2.9.21-2.el5.MIND.i386.rpm to build
authoritative

> DNS server and then downloaded and installed

> pdns-recursor-3.1.5-1.el5.MIND.i386.rpm

> Having done all config files I started both services, pdns-server and

> pdns-recursor but the recursor part doesn't work. I've got errors in the

> logs: 

 

> ====================================================

> Apr  9 17:44:53 pdnstest pdns[20216]: Not authoritative for 'ya.ru',
sending

> servfail to 192.197.96.22 (recursion was desired)

> ====================================================

 

> Here's part of pdns.log file:

 

> ===============================================

> Apr  9 18:26:07 pdns1 pdns[2196]: Guardian is launching an instance

 

> Apr  9 18:26:07 pdns1 pdns[2196]: UDP server bound to 192.197.96.10:53

 

> Apr  9 18:26:07 pdns1 pdns[2196]: TCP server bound to 192.197.96.10:53

 

> Apr  9 18:26:07 pdns1 pdns[2196]: DNS Proxy launched, local port 20845,

> remote 127.0.0.1:5300                 

> Apr  9 18:26:07 pdns1 pdns[2196]: Creating backend connection for TCP

 

> Apr  9 18:26:07 pdns1 pdns[2196]: Launched webserver on 192.197.96.10:8080

 

> ===============================================

 

> And these are essentials of my pdns.conf

 

> ==================================================

> module-dir=/usr/lib/

 

> socket-dir=/var/run/pdns-server

 

> setuid=powerdns

 

> setgid=powerdns

 

> launch=gmysql

 

> gmysql-host=127.0.0.1

 

> gmysql-user=root

 

> gmysql-dbname=pdns

 

> gmysql-password=94615Pdns

 

> recursor=127.0.0.1:5300

> =================================================

 

> Any ideas, what is wrong with my setup?

 

> Eugene

 

You also need to set the allow-recursion= setting in pdns.conf

 

.ie allow-recursion=192.197.96.10/32

 

Hope that helps.

 

 

-- 

Best regards,

 Ralf                             <mailto:tremere at cainites.net>
mailto:tremere at cainites.net

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20080410/04202951/attachment-0001.html>


More information about the Pdns-users mailing list