ShadowM
Verified User
- Joined
- Jan 31, 2007
- Messages
- 10
On our machine we've setup an arbitrary/private/supplematary DNS blacklist,
we've written a mass-add page in php that adds/delete ip's in a MySQL DB first, then via Cron the ip's are sent to DA via the CMD_DNS_API
just the add of a bunch of IP's ( like ~100 it takes AGES to get them added in DA, in contrast the add to the DB is done in an few seconds)
-- example statusmail from cron script ----
Stats for the Blacklist cronjob
Time of start : 8:00:03 CEST
Time of End : 8:07:36 CEST
Entry's added: 26
Entry's deleted: 0
Total Entry's in database: 6653
This mail is automatically generated.
-- End Example statusmail ----
any suggestions ?
We already had to limit adds by checking other blacklists so if the ip's we add are already present then they are skipped (so it really is a supplementary list)
at this time ( and we're running it now for a month ) it isn't even possible to get the zone data in DA itself due to the amount of reccords.
And it's growing every day.

A little inside info :
the dns zone is setup in DA, config is taken from this Tutorial : http://www.kloth.net/internet/dnsbl-howto.php
After that we wrote a small php-script to check for validity and add the ip's in the correct (reversed) way.
A secondary script is made to get the ip's added from DB and pump them into DA
we've written a mass-add page in php that adds/delete ip's in a MySQL DB first, then via Cron the ip's are sent to DA via the CMD_DNS_API
just the add of a bunch of IP's ( like ~100 it takes AGES to get them added in DA, in contrast the add to the DB is done in an few seconds)
-- example statusmail from cron script ----
Stats for the Blacklist cronjob
Time of start : 8:00:03 CEST
Time of End : 8:07:36 CEST
Entry's added: 26
Entry's deleted: 0
Total Entry's in database: 6653
This mail is automatically generated.
-- End Example statusmail ----
any suggestions ?
We already had to limit adds by checking other blacklists so if the ip's we add are already present then they are skipped (so it really is a supplementary list)
at this time ( and we're running it now for a month ) it isn't even possible to get the zone data in DA itself due to the amount of reccords.
And it's growing every day.

A little inside info :
the dns zone is setup in DA, config is taken from this Tutorial : http://www.kloth.net/internet/dnsbl-howto.php
After that we wrote a small php-script to check for validity and add the ip's in the correct (reversed) way.
A secondary script is made to get the ip's added from DB and pump them into DA
Last edited: