<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><title>Re[2]: [Pdns-users] RPMS for CentOS/RHEL - 4.x and 5.x</title>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-15">
<meta http-equiv="Content-Style-Type" content="text/css">
<style type="text/css"><!--
body {
margin: 5px 5px 5px 5px;
background-color: #ffffff;
}
/* ========== Text Styles ========== */
hr { color: #000000}
body, table /* Normal text */
{
font-size: 9pt;
font-family: 'Courier New';
font-style: normal;
font-weight: normal;
color: #000000;
text-decoration: none;
}
span.rvts1 /* Heading */
{
font-size: 10pt;
font-family: 'Arial';
font-weight: bold;
color: #0000ff;
}
span.rvts2 /* Subheading */
{
font-size: 10pt;
font-family: 'Arial';
font-weight: bold;
color: #000080;
}
span.rvts3 /* Keywords */
{
font-size: 10pt;
font-family: 'Arial';
font-style: italic;
color: #800000;
}
a.rvts4, span.rvts4 /* Jump 1 */
{
font-size: 10pt;
font-family: 'Arial';
color: #008000;
text-decoration: underline;
}
a.rvts5, span.rvts5 /* Jump 2 */
{
font-size: 10pt;
font-family: 'Arial';
color: #008000;
text-decoration: underline;
}
span.rvts6
{
font-weight: bold;
color: #800000;
}
a.rvts7, span.rvts7
{
color: #0000ff;
text-decoration: underline;
}
span.rvts8
{
font-weight: bold;
color: #800000;
}
span.rvts9
{
font-size: 8pt;
font-family: 'arial';
font-style: italic;
color: #c0c0c0;
}
a.rvts10, span.rvts10
{
font-size: 8pt;
font-family: 'arial';
color: #0000ff;
text-decoration: underline;
}
/* ========== Para Styles ========== */
p,ul,ol /* Paragraph Style */
{
text-align: left;
text-indent: 0px;
padding: 0px 0px 0px 0px;
margin: 0px 0px 0px 0px;
}
.rvps1 /* Centered */
{
text-align: center;
}
--></style>
</head>
<body>
<p>Hello Eugene,</p>
<p><br></p>
<p>Thursday, April 10, 2008, 10:18:54 AM, you wrote:</p>
<p><br></p>
<p><span class=rvts6>> Hi Kees,</span></p>
<p><br></p>
<p><span class=rvts6>> That worked, thanks a lot. The graphs are neat and informative. In the</span></p>
<p><span class=rvts6>> meanwhile I encountered a problem with latest pdns-recursor that I</span></p>
<p><span class=rvts6>> downloaded from </span><a class=rvts7 href="ftp://ftp.monshouwer.eu/pub/linux/pdns-recursor/">ftp://ftp.monshouwer.eu/pub/linux/pdns-recursor/</a></p>
<p><span class=rvts6>> Not very sure my problem is inherent to the latest pdns-recursor actually. I</span></p>
<p><span class=rvts6>> run CentOS 4.5 with older recursor and pdns-server but here with CentOS 5.0</span></p>
<p><span class=rvts6>> and packages for EL5 I stumbled. Anyways, I installed</span></p>
<p><span class=rvts6>> pdns-server-2.9.21-2.el5.MIND.i386.rpm and</span></p>
<p><span class=rvts6>> pdns-server-backend-mysql-2.9.21-2.el5.MIND.i386.rpm to build authoritative</span></p>
<p><span class=rvts6>> DNS server and then downloaded and installed</span></p>
<p><span class=rvts6>> pdns-recursor-3.1.5-1.el5.MIND.i386.rpm</span></p>
<p><span class=rvts6>> Having done all config files I started both services, pdns-server and</span></p>
<p><span class=rvts6>> pdns-recursor but the recursor part doesn't work. I've got errors in the</span></p>
<p><span class=rvts6>> logs: </span></p>
<p><br></p>
<p><span class=rvts6>> ====================================================</span></p>
<p><span class=rvts6>> Apr 9 17:44:53 pdnstest pdns[20216]: Not authoritative for 'ya.ru', sending</span></p>
<p><span class=rvts6>> servfail to 192.197.96.22 (recursion was desired)</span></p>
<p><span class=rvts6>> ====================================================</span></p>
<p><br></p>
<p><span class=rvts6>> Here's part of pdns.log file:</span></p>
<p><br></p>
<p><span class=rvts6>> ===============================================</span></p>
<p><span class=rvts6>> Apr 9 18:26:07 pdns1 pdns[2196]: Guardian is launching an instance</span></p>
<p><br></p>
<p><span class=rvts6>> Apr 9 18:26:07 pdns1 pdns[2196]: UDP server bound to 192.197.96.10:53</span></p>
<p><br></p>
<p><span class=rvts6>> Apr 9 18:26:07 pdns1 pdns[2196]: TCP server bound to 192.197.96.10:53</span></p>
<p><br></p>
<p><span class=rvts6>> Apr 9 18:26:07 pdns1 pdns[2196]: DNS Proxy launched, local port 20845,</span></p>
<p><span class=rvts6>> remote 127.0.0.1:5300 </span></p>
<p><span class=rvts6>> Apr 9 18:26:07 pdns1 pdns[2196]: Creating backend connection for TCP</span></p>
<p><br></p>
<p><span class=rvts6>> Apr 9 18:26:07 pdns1 pdns[2196]: Launched webserver on 192.197.96.10:8080</span></p>
<p><br></p>
<p><span class=rvts6>> ===============================================</span></p>
<p><br></p>
<p><span class=rvts6>> And these are essentials of my pdns.conf</span></p>
<p><br></p>
<p><span class=rvts6>> ==================================================</span></p>
<p><span class=rvts6>> module-dir=/usr/lib/</span></p>
<p><br></p>
<p><span class=rvts6>> socket-dir=/var/run/pdns-server</span></p>
<p><br></p>
<p><span class=rvts6>> setuid=powerdns</span></p>
<p><br></p>
<p><span class=rvts6>> setgid=powerdns</span></p>
<p><br></p>
<p><span class=rvts6>> launch=gmysql</span></p>
<p><br></p>
<p><span class=rvts6>> gmysql-host=127.0.0.1</span></p>
<p><br></p>
<p><span class=rvts6>> gmysql-user=root</span></p>
<p><br></p>
<p><span class=rvts6>> gmysql-dbname=pdns</span></p>
<p><br></p>
<p><span class=rvts6>> gmysql-password=94615Pdns</span></p>
<p><br></p>
<p><span class=rvts6>> recursor=127.0.0.1:5300</span></p>
<p><span class=rvts6>> =================================================</span></p>
<p><br></p>
<p><span class=rvts6>> Any ideas, what is wrong with my setup?</span></p>
<p><br></p>
<p><span class=rvts6>> Eugene</span></p>
<p><br></p>
<p>You also need to set the allow-recursion= setting in pdns.conf</p>
<p><br></p>
<p>.ie allow-recursion=192.197.96.10/32</p>
<p><br></p>
<p>Hope that helps.</p>
<p><br></p>
<p><br></p>
<p><span class=rvts9>-- </span></p>
<p><span class=rvts9>Best regards,</span></p>
<p><span class=rvts9> Ralf </span><a class=rvts10 href="mailto:tremere@cainites.net">mailto:tremere@cainites.net</a></p>
</body></html>