<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Hi Vernon,<div><br></div><div>I am using Bind 9.8.1-P1</div><div><br></div><div>It is giving me an error, when i defined a RPZ category.</div><div><br></div><div><div><i>Jul 2 09:58:46 gaurav named[30496]: /etc/named.conf:45: undefined category: 'rpz'</i></div><div><i>Jul 2 09:58:46 gaurav named[30496]: loading configuration: failure</i></div><div><i>Jul 2 09:58:46 gaurav named[30496]: exiting (due to fatal error)</i></div><div><br></div><div>What can be the issue?</div><div><br></div><div><br></div><div>Thanks and Regards,</div><div>Gaurav Kansal</div><div><br></div><div><br></div><div><br></div><div><div id="SkyDrivePlaceholder"></div>> Date: Sun, 1 Jul 2012 19:50:45 +0000<br>> From: vjs@rhyolite.com<br>> To: dnsrpz-interest@lists.isc.org; gaurav.kansal@live.in<br>> Subject: Re: [RPZ] DNS RPZ Logging<br>> <br>> > > From: Gaurav Kansal <gaurav.kansal@live.in><br>> > <br>> > I configured the DNS RPZ in 2 Recursive Name Servers, one with<br>> > RPZ zone as a Master and in the other one, with DNS RPZ zone as a slave.<br>> > <br>> > I used the same logging type in both the servers.<br>> <br>> I bet that file or directory permissions or log configuration differ<br>> on the two servers.<br>> <br>> > logging {<br>> > channel default_syslog {<br>> > syslog local0;<br>> > };<br>> > <br>> > channel query_logging {<br>> > file "/var/log/dns-log/dnsquery" versions 20 size 100m;<br>> > print-time yes;<br>> > };<br>> > category queries {<br>> > query_logging;<br>> > };<br>> > };<br>> <br>> <br>> Where is the `category rzp` statement?<br>> <br>> <br>> I use statements like these to put RPZ logging into /etc/namedb/log/rpz :<br>> <br>> options {<br>> directory "/etc/namedb";<br>> ...<br>> <br>> logging {<br>> ...<br>> channel rpz { severity debug;<br>> file "log/rpz" versions 3 size 10m;<br>> ...<br>> };<br>> ...<br>> category rpz { rpz; };<br>> ...<br>> <br>> <br>> Vernon Schryver vjs@rhyolite.com<br></div></div> </div></body>
</html>