login about faq

Hi,

It seems that the maxWaitMs parameter of the DnsLookup method is being ignored (tested with ActiveX 9.5.0.45).

For example, if I call DnsLookup("google.com", 2000) on a computer where the DNS server is misconfigured, it takes about 17-18 seconds to timeout instead of 2.

The LastErrorText result is:

ChilkatLog:
  DnsLookup:
    DllDate: Oct  7 2014
    ChilkatVersion: 9.5.0.45
    UnlockPrefix: STATSLSocket
    Username: FIVEDEV:JB
    Architecture: Little Endian; 32-bit
    Language: ActiveX
    VerboseLogging: 0
    fd: 0xffffffff
    objectId: 9
    dnsLookup:
      domainLookup_ipv4:
        domainLookupIpv4_win32:
          resolveHostname1:
            Resolving domain name (IPV4) via gethostbyname
          --resolveHostname1
          DNS timed out.
        --domainLookupIpv4_win32
      --domainLookup_ipv4
     DNS lookup failed.
      domain: google.com
    --dnsLookup
    Failed.
  --DnsLookup
--ChilkatLog

The error text indicates a timeout, but doesn't mention the timeout period, so it's hard to know for sure what value it is using. Anybody else notice this issue?

asked Oct 08 '14 at 12:13

jpbro's gravatar image

jpbro ♦
1.1k2618


link

answered Oct 08 '14 at 18:47

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

Thanks a lot, that appears to work as expected in limited testing.

(Oct 08 '14 at 22:14) jpbro ♦

Thanks, I'll investigate..

link

answered Oct 08 '14 at 16:41

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×23
×11
×3
×1

Asked: Oct 08 '14 at 12:13

Seen: 913 times

Last updated: Oct 08 '14 at 22:14

powered by OSQA