DNS.Message.EDNS0.Option.UpdateLease (DNS v0.4.1)
View SourceEDNS0.Option.UpdateLease [RFC-ietf-dnssd-update-lease-08]
The Update Lease option is used in DNS-SD (DNS Service Discovery) to indicate the lease duration for resource record updates.
Option Format:
1 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 2 3 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | OPTION-CODE = 2 | OPTION-LENGTH = 4 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | LEASE-LIFETIME | | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
- LEASE-LIFETIME: 4 octets, lease duration in seconds
Summary
Types
@type t() :: %DNS.Message.EDNS0.Option.UpdateLease{ code: DNS.Message.EDNS0.OptionCode.t(), data: lease_lifetime :: 0..4_294_967_295, length: 4 }