Jump to content
djhfwk

Sync functions for Dns Query

Recommended Posts

In some cases, I need synchronous functionality of dnsquery, so I made a change to OverbyteIcsDnsQuery.pas

 

TDnsQuery now was inherited from TIcsWndControl.

 

These functions were added.

AAAALookup

SendQuerySync
MXLookupSync
ALookupSync
AAAALookupSync
PTRLookupSync
QueryAllSync
QueryAnySync

 

OverbyteIcsDnsQuery.pas

Share this post


Link to post

Thanks, will check it and add to ICS next week.  I bodge sync MX look-up in the mail queue unit, would be good to have a cleaner option.

 

Angus

 

Share this post


Link to post

Your changes are now in SVN and the overnight zip, with several other DNS query improvements, including support for trying lists of DNS servers where one or more don't respond.  It is also easier to access the arrays of different DNS answers.   These have all simplified DNS lookups in the Mail Queue and X509 certificate ordering components. 

 

Angus

 

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×