Legend:
Library
Module
Module type
Parameter
Class
Class type
Extensions to DNS
An extension record (EDNS) is extendable, includes a version number, payload size restrictions, TCP keepalive timers, etc. This is only used in transaction, and not persisted to a store. It is treat specially in decode and encode.
val create :
?extended_rcode:int ->?version:int ->?dnssec_ok:bool ->?payload_size:int ->?extensions:extension list->unit ->t
create ~extended_rcode ~version ~dnssec_ok ~payload_size ~extensions () constructs an EDNS record with the optionally provided data. The extended_rcode defaults to 0, version defaults to 0, dnssec_ok to false, payload_size to the minimum payload size (512 byte), extensions to the empty list.