Archived Forum Post

Index of archived forum posts

Question:

DNS lookup - specify DNS server

Aug 13 '12 at 12:11

Is it possible to specify the DNS server used when completing a DNSLookup? By default I assume it uses the DNS server specified in the settings of my network card. I would like to override this if possible.

Thanks,

Martin.


Answer

Martin, I'm sorry to say it's not possible. Any Chilkat method argument or property that is a domain name can also use a dotted IP address string. Therefore, you could find a non-Chilkat solution to do the DNS lookup using a specified server, and then use the dotted IP address string in at Chilkat method call (or property setting).