lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [task #7017] Implement DNS client


From: Jim Pettinato
Subject: [lwip-devel] [task #7017] Implement DNS client
Date: Tue, 13 Nov 2007 20:25:28 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071025 Firefox/2.0.0.9

Follow-up Comment #23, task #7017 (project lwip):

>From RFC 1035 (DNS): 

2.3.4. Size limits

Various objects and parameters in the DNS have size limits.  They are listed
below.  Some could be easily changed, others are more
fundamental.

labels          63 octets or less
names           255 octets or less
TTL             positive values of a signed 32 bit number.
UDP messages    512 octets or less

So we're good with max name length... as to TTL, variable size is defined but
not typical values... but we don't care, we should be using the TTL passed to
us for the cache. It is up to the SERVER, not the client, to default to the
MINIMUM ttl specified in the SOA.
(Note: RFC1035 does say a TTL of zero means do not cache, only use immediate
value)


    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/task/?7017>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]