[rbldnsd] implementasi rbldnsd
sonjaya
sonjaya at gmail.com
Mon May 19 20:58:08 MSD 2008
wow is great working now thq a lot .
but the problem show when i dig i must with option -p 9053 because in
that machine running rbldns have bind too.
i follow tutorial in this web site http://tqmcube.com/rbldnsd.php , i
have line in main.cf postfix :
reject_rbl_client clients.blocked.rbl,
reject_rbl_client china.blocked.rbl,
reject_rhsbl_client hosts.blocked.rbl,
reject_rhsbl_sender hosts.blocked.rbl
so how make rbldnsd working with bind machine :)
On Mon, May 19, 2008 at 8:17 PM, Amos Jeffries <amos at treenet.co.nz> wrote:
> sonjaya wrote:
>> thank's for answer ,
>>
>>
>>
>>
>> On Wed, May 14, 2008 at 5:59 PM, Amos Jeffries <amos at treenet.co.nz> wrote:
>>> sonjaya wrote:
>>> > hi ...
>>> >
>>> > i have succsess installed rbldnsd in openbsd , but i need some advice
>>> > from everybody in here :
>>> > 1. i try put 3 zone :
>>> > - zone clients.blocked.rbl with file clients
>>> > - zone hosts.blocked.rbl with file hosts
>>> > - zone china.blocked.rbl with file china
>>> > then i test query :
>>> > - clients sucsess , with respond ip in the list of 127.0.0.2
>>> > - hosts sucsess , with respond domain name in thelist of 127.0.0.2
>>> > - china not sucsess not responded ... how to solved this , i
>>> > try set same as clients .
>>> >
>>>
>>> So... after all that... what does your configuration file say?
>>
>> ====>
>> below i runing like this :
>> # rbldnsd -r /var/rbldns/ -b 0.0.0.0/9053
>> clients.blocked.rbl:ip4set:clients china.blocked.rbl:ip4set:china
>> hosts.blocked.rbl:dnset:hosts
>> rbldnsd: listening on 0.0.0.0/9053
>> rbldnsd: ip4set:clients: 20080513 142515: e32/24/16/8=119/96/35/2
>> rbldnsd: ip4set:china: 20080513 203403: e32/24/16/8=64/4979/902/0
>> rbldnsd: dnset:hosts: 20080513 185811: e/w=171/171
>> rbldnsd: zones reloaded, time 0.3e/0.0u sec
>> rbldnsd: rbldnsd version 0.996a (27 Jul 2006) started (1 socket(s), 3 zone(s))
>> #
>>
>> here named.conf
>>
>> zone "clients.blocked.rbl" IN {
>> type forward;
>> forward first;
>> forwarders {
>> 127.0.0.1 port 9053; # if bind and rbldnsd are on the same server
>> };
>> };
>>
>> zone "hosts.blocked.rbl" IN {
>> type forward;
>> forward first;
>> forwarders {
>> 127.0.0.1 port 9053; # if bind and rbldnsd are on the same server
>> };
>> };
>>
>> zone "china.blocked.rbl" IN {
>> type forward;
>> forward first;
>> forwarders {
>> 127.0.0.1 port 9053; # if bind and rbldnsd are on the same server
>> };
>> };
>>
>> and here china file :
>> :127.0.0.2: $ is detect spam source Mail from $ Not Accept Come To
>> Our Email Server !
>> 95.32
>> 59.33
>> 59.34
>> 59.35
>> 222.249.166
>> 222.249.167
>> 222.249.168
>> 222.249.169
>> 222.249.170
>> 222.249.171
>> 222.249.172
>> 222.249.173
>> 222.249.174
>> 222.249.175
>>
>> and i try to dig :
>> # dig 175.249.222.china.blocked.rbl -p 9053
>
> Sorry for the long delay.
>
> Your dig needs 4-th IP-octet to work. rbldnsd replies NX for all
> partial-IP requests.
>
> 0.175.249.222.china.blocked.rbl should get an actual yay/nay result.
>
>
>>
>> # dig 222.249.175.china.blocked.rbl -p 9053
>>
>> ; <<>> DiG 9.4.2 <<>> 222.249.175.china.blocked.rbl -p 9053
>> ;; global options: printcmd
>> ;; Got answer:
>> ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 21218
>> ;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
>> ;; WARNING: recursion requested but not available
>>
>> ;; QUESTION SECTION:
>> ;222.249.175.china.blocked.rbl. IN A
>>
>> ;; Query time: 1 msec
>> ;; SERVER: 127.0.0.1#9053(127.0.0.1)
>> ;; WHEN: Thu May 15 03:11:14 2008
>> ;; MSG SIZE rcvd: 47
>>
>>
>>
>>>
>>> > 2. I installed rbldnsd with bind ( named ) and using port 9053.
>>> > - how to make can query rbl to machine rbldnsd from other
>>> > machine ( was running postfix ) ?
>>> > 3. where i can download list of rbl base on host n ip of course free
>>> > and up to date :)
>>> >
>>> > many thank's for all the respond .
>>>
>>> What are you trying to do? *why* do you need to setup yet another RBL?
>>> and what use will it be if you do your own instead of joining an
>>> existing list?
>> he he , i instaled rbldns only one also in one machine , but i have
>> 4 mx mail server , as my plant all will be query rbl to server
>> rbldnsd i was made , now all mx machine running query to public rbldns
>> .
>>
>>
>>> Before you answer take a read of this:
>>> http://www.techtheft.info/book/dnsbl/ch1_reasons.php
>>
>>
>>> As for sources of free lists, take a look through:
>>> http://www.techtheft.info/zones/
>>> then consider my third question.
>>>
>> ok thq for the info :)
>>
>>> AYJ
>>> _______________________________________________
>>> rbldnsd mailing list
>>> rbldnsd at corpit.ru
>>> http://www.corpit.ru/mailman/listinfo/rbldnsd
>>>
>>
>>
>>
>
> _______________________________________________
> rbldnsd mailing list
> rbldnsd at corpit.ru
> http://www.corpit.ru/mailman/listinfo/rbldnsd
>
--
sonjaya
http://sicute.blogspot.com
More information about the rbldnsd
mailing list