1. Home
  2. Knowledge Base
  3. GMS
  4. How do I white list certain IP's so that they pass my DNSBL checks?

How do I white list certain IP's so that they pass my DNSBL checks?


A white list is a list of "good" people! That is peole that you explicitly want to hear from.

This question asks if you can set up a list of IP addresses which are always treated as good and pass the other DNSBL checks?



In order to do this, you will need set up your own DNSBL server and use this as an exception list, set this server as the first server in the list and set the action to allow the mail through.

To do this, follow these steps:

  1. Create a new zone on your DNS server (like whitelist.your.domain)
  2. Create an A record for the new zone to point at your DNS server:
    Whitelist.your.domain IN A x.x.x.x
    This is required as the mail server will use this name to connect to the DNS server.

  3. Add host records in reverse lookup format with an address of, for example: IN A
    which would cause to pass through the DNSBL check as long as this is the first server checked and the action was set to allow the server through.

  4. Define the DNSBL list under GMS Anti-Spam > Connect > RBL Check and ensure it is at the top of the list. Set the action to Accept.
  5. Define any other DNSBL lists that you wish to use.

If you are using Microsoft’s Win2K DNS server the setup is not quite so straightforward. The following information, supplied by a customer should assist in this situation.

Create a standard primary zone (not AD-integrated, and call it say reject.comcept.net). Then, within that zone, create a new host but do not add a host name and give it the IP of the DNS server (2k will whine that it’s an invalid host IP but it works fine, my DNS Servers and GMS Server are behind a PIX thus have private IPs, in this case

Now modify the zone.dns file in C:WINNTsystem32dns with the IPs you want to block (or accept if you’re creating a whitelist) as


My current file looks like this:

;  Database file 1reject.comcept.net.dns for 1reject.comcept.net zone.
;      Zone version:  6

@                       IN  SOA ml370.colo.comcept.net.  admin.colo.comcept.net. (
                                6            ; serial number
                                900          ; refresh
                                600          ; retry
                                86400        ; expire
                                3600       ) ; minimum TTL

;  Zone NS records

@                       NS      ml370.colo.comcept.net.
@                       NS      ns.colo.comcept.net.
ns.colo.comcept.net.    A
@                       NS      ns1.colo.comcept.net.
ns1.colo.comcept.net.   A

;  Zone records

@                       A          A             A            A          A         A            A            A          A         A           A          A           A

Then you save the file and go back to the DNS MMC and right click on the zone and then click Reload.

NOTE: The IPs are reversed in the zone. For example, the first IP is really "". This file works for both black and white lists.

Put "" for white list and then tell GMS to Accept for "" and Deny for "".

You need to do modifications in notepad and not in W2k’s DNS MMC. Be sure to reload the zone when your changes are done.

See Also:

Keywords:DNSBL blackhole realtime bypass JUCE block white list whitelist Spam checker GMS Anti-spam anti spam antispam

Was this article helpful?

Related Articles

Need Support?

Can't find the answer you're looking for?
Contact Support