[Top][All Lists]

[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: Gecko/20071025 Firefox/

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

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


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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