awein / SleepProxyClient

A SleepProxyClient implementation
GNU General Public License v3.0
59 stars 14 forks source link

Check DNS Update lifetime implementation #3

Closed awein closed 12 years ago

awein commented 12 years ago

It seems the current implementation of Lifetime/TTL is incorrect.

See http://tools.ietf.org/id/draft-cheshire-edns0-owner-option-00.txt section "3. EDNS0 'Owner' Option":

Typically these record registrations with the Sleep Proxy do not last forever; they have a finite lifetime, communicated using DNS0 option 2 "DNS Update Lease" [DNS-UL].

The current implementation should be adjusted to utilize the "DNS Update Lease" field as suggested at https://github.com/awein/SleepProxyClient/issues/2#issuecomment-7910750.

As a consequence the TTL value of a DNS Update record needs more testing to determine the consequences of changing this value.

awein commented 12 years ago

The wiki page "The protocol" describes which TTL/Lease time values used in practice.