Add TXT Query to SMTPServer QueryDNS - WeOnlyDo Discussion board

Add TXT Query to SMTPServer QueryDNS (wodSmtpServer / wodPop3Server / wodImapServer)

by Dave Waters, Wednesday, September 27, 2006, 15:23 (6204 days ago)

Any chance you can add additional DNSQueryTypes to the wodSMTPServer QueryDNS Method. Specifically, I am trying to deal with SPAM. I would like to utilize querying a DNS server for an SPF record, which is stored in DNS as a TXT record (for more info on Sender Policy Framework(SPF), you can browse to: ).

If I could just have DNSResponse give me the TXT record that is returned, I could process it for SPAM - this would likely be a useful feature to all customers.

Implemented as Enumeration of DNSQueryTypes, adding QueryTXT Value=3 to send TXT query to DNS Server.

Otherwise, I will have to manually make a DNS call myself (uggg) to help stop SPAM.


Complete thread: