[rbldnsd] host name checking
Amos Jeffries
amos at treenetnz.com
Fri Aug 25 10:04:50 MSD 2006
----- Original Message -----
From: <KarlKingston at ongov.net>
To: <rbldnsd at corpit.ru>
Sent: Friday, August 25, 2006 6:37 AM
Subject: [rbldnsd] host name checking
> I'm using rbldnsd to create my own private whitelist. While this seems
> to work well using ip4set and IP addresses, I have a situation where I
> want to be able to whitelist an entire domain.
>
> let's take for example: server mail.example.com. Has an IP address of
> 1.2.3.4
>
> mydomain.com is running the whitelist.
>
> so if I have:
>
> *.example.com:127.0.0.3
>
> in my zone file.
>
> When my mailserver gets a connection from 1.2.3.4, it does a lookup of
> 4.3.2.1.mydomain.com
>
> How do I get rbldnsd to return 127.0.0.3 based on the zone file (assuming
> I don't have an IP entry anywhere)???
>
> Thanks
>
You cannot do both RHSBL and RBL without knowing both halves of the lookup.
Your zone contains "*.example.com:127.0.0.3" it can do RHSBL lookups
"an.example.com.mydomain.invalid"
Your zone contains "1.2.3.4 : 127.0.0.3" it can do RBL lookups
"4.3.2.1.mydomain.invalid"
You have two zones simultaneously listing BOTH, you can look up either.
You will need to configure:
EITHER
the listing mechanism to lookup IPA and list "1.2.3.4 : 127.0.0.3:
example.com Whitelisted"
OR
configure the mailer to check domain name instead of IPA.
Either may work, but without details of your mailer software more detailed
help will be hard.
PS. I collect info on what RBL/RHSBL are available or in use. When this is
going I would like to know what the actual name of "mydomain.com" you are
using above is. And twhether or not it is strictly private or if its
publicly available.
AYJ
More information about the rbldnsd
mailing list