With v4, if you use the should contain option and set it to
contain 127.0.0.2 then you would get a UP if the host that you are query for is
within the blacklist, and a down when it's not within the
blacklist.
Dirk.
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Davis
Sent: Monday, November 01, 2004 6:41 PM
To: [EMAIL PROTECTED]
Subject: RE: [SA-list] Using DNS to check Spamcop ?
Thanks for this. I did try
looking at the "Should contain" & "should be exactly" options. I ran a test
query and then pasted the output into the should contain text but this always
fails with a "does not contain the required text" error. The log
doesn't show what the DNS check returned, even when set to max
logging.
Is this
expected?
cheers
steve
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dirk Bulinckx
Sent: 01 November 2004 17:20
To: [EMAIL PROTECTED]
Subject: RE: [SA-list] Using DNS to check Spamcop ?
I don't think that in v4 there is a solution for
this.
In v5 there will be a solution for this. In v5 you'll
have an "invert" option, with this you can invert the status of an entry.
That way you would do a DNS check for
d.c.b.a.bl.spamcop.net and expect it to give
127.0.0.2
If it give 127.0.0.2 the entry is up BUT due to the invert
that would be DOWN instead.
(based on this I think that adding to the DNS check of v5
an option to "should NOT include" might be very usefull).
Dirk.
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Davis
Sent: Monday, November 01, 2004 4:47 PM
To: [EMAIL PROTECTED]
Subject: [SA-list] Using DNS to check Spamcop ?
Hi,
I'd like to use the DNS check to see if one of our relays
ends up in the spamcop blacklist. You can find out by doing a dns lookup against
an IP and if you get a result, usually 127.0.0.2 then you are listed. If you get
an error, or host not found then you are not listed. This is obviously the
reverse of Servers Alive's logic.
So I only want it to return a down state if it DOES come
back with an IP. Can you think of a way of achieving this check in
SA?
cheers
Steve
______________________________________________________________________
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom
they are addressed.
If you have received this email in error please notify the
originator of the message. This footer also confirms that this
email message has been scanned for the presence of known computer viruses.
Any views expressed in this message are those of the individual
sender, except where the sender specifies and with authority,
states them to be the views of Electronic Media Ltd.
______________________________________________________________________
This inbound email has been scanned by the MessageLabs Email Security
System on behalf of Electronic Media Ltd.
______________________________________________________________________
______________________________________________________________________
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom
they are addressed.
If you have received this email in error please notify the
originator of the message. This footer also confirms that this
email message has been scanned for the presence of known computer viruses.
Any views expressed in this message are those of the individual
sender, except where the sender specifies and with authority,
states them to be the views of Electronic Media Ltd.
