Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am running a BIND installation as a simple RBL server. The problem I am running in to is that if I have listed a block of IP addresses like:

* IN A

* IN TXT "Excessive Spam"

This meets all the requirements so that mail servers will reject the entire class C block.

The problem comes in if I need to delist one IP address in the middle of the block, such as for this example.

Is there a way I can do this without having to write 252 discrete host listings and skipping this one address? I have tried adding a legitimate IP as the rDNS address but mail servers still count that as listed.

Much appreciation for your help and advice.

share|improve this question
You really need to be using a database, LDAP directory, or something else for this. – Michael Hampton Mar 5 '13 at 0:59

You could use the $GENERATE option to create the entries before and after the IP in question.

You're still creating all the entries, but at least it automated vs creating the all by hand.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.