DNS library : no more than 15 requests ?

Xavier IZARD <[email protected]>
Newsgroups gmane.comp.hardware.microcontrollers.tini
Message-ID <[email protected]>
Hello,

I use DNS library v3 with keil compiler
I have a problem with the DNS library : it seems the library is unable 
to do more than 15 requests.
My test are based on dns_sample application using IPv4 only requests.
Then I replaced all requests in the example by this :
     i=0;
     while(i<17)
         {
         printf("Request number : %u\n",i+1);
         result = gethostbyname("smtp.wanadoo.fr");
         printResults(result);
         i++;
         }

     result = gethostbyname("www.google.com");
     printResults(result);

Looking at the requests with ethereal, I can see that tini never issue 
more than 15 requests. Note that the problem is the same using more than 
15 different hosts (ie not always smtp.wanadoo.fr)

Below you will find javakit output.

Could you please test this with your smtp_sample program ? (note that I 
have enabled IPv4 requests queries only in the DNS library) Or do you 
see something wrong with my requests ?


Regards,
						Xavier

*** smtp_sample output:
Request number : 1
    Hostname: smtp.wanadoo.fr
       Addr Type: 4
       Length: 4
       IP: 193.252.22.79
       IP: 193.252.22.80
       IP: 193.252.22.81
       IP: 193.252.22.82
       IP: 193.252.22.83
       IP: 193.252.22.110
       IP: 193.252.22.116
       IP: 193.252.22.123
       IP: 193.252.22.78
Request number : 2
    Hostname: smtp.wanadoo.fr
       Addr Type: 4
       Length: 4
       IP: 193.252.22.82
       IP: 193.252.22.83
       IP: 193.252.22.110
       IP: 193.252.22.116
       IP: 193.252.22.123
       IP: 193.252.22.78
       IP: 193.252.22.79
       IP: 193.252.22.80
       IP: 193.252.22.81

[...]

Request number : 15
    Hostname: smtp.wanadoo.fr
       Addr Type: 4
       Length: 4
       IP: 193.252.22.123
       IP: 193.252.22.78
       IP: 193.252.22.79
       IP: 193.252.22.80
       IP: 193.252.22.81
       IP: 193.252.22.82
       IP: 193.252.22.83
       IP: 193.252.22.110
       IP: 193.252.22.116

[*** From here, no more request are issued on the network]

Request number : 16
    Hostname: smtp.wanadoo.fr
       Addr Type: 4
       Length: 4
       IP: 193.252.22.123
       IP: 193.252.22.78
       IP: 193.252.22.79
       IP: 193.252.22.80
       IP: 193.252.22.81
       IP: 193.252.22.82
       IP: 193.252.22.83
       IP: 193.252.22.110
       IP: 193.252.22.116
Request number : 17
    Hostname: smtp.wanadoo.fr
       Addr Type: 4
       Length: 4
       IP: 193.252.22.123
       IP: 193.252.22.78
       IP: 193.252.22.79
       IP: 193.252.22.80
       IP: 193.252.22.81
       IP: 193.252.22.82
       IP: 193.252.22.83
       IP: 193.252.22.110
       IP: 193.252.22.116

[*** As requests 16 and 17, the request on google is returning NULL and 
is neither sent to network]

Result on ibutton.com is NULL
DONE

_______________________________________________
TINI mailing list
TINI-6tN4nzCoH/[email protected]
To UNSUBSCRIBE, edit your profile, or see list archives:
http://lists.dalsemi.com/mailman/listinfo/tini
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.