package dns-resolver

  1. Overview
  2. Docs
DNS resolver business logic

Install

Dune Dependency

Authors

Maintainers

Sources

dns-v6.0.1.tbz
sha256=b26c2a62a534501929962f12e5aa71b025bd457cf032e4a0ea8ed645b6febae1
sha512=b22342807aa48a2dc1c0fcaa079e136f078e3b85614e97646535330322edb927d619aa5fb5640e120b9698803b12cccc0ec2bb40fb59e3a50b16488f9d16d3bd

doc/dns-resolver.mirage/Dns_resolver_mirage/Make/argument-2-P/index.html

Parameter Make.P

val now_d_ps : unit -> int * int64

now_d_ps () is (d, ps) representing the POSIX time occurring at d * 86'400e12 + ps POSIX picoseconds from the epoch 1970-01-01 00:00:00 UTC. ps is in the range [0;86_399_999_999_999_999L].

val current_tz_offset_s : unit -> int option

current_tz_offset_s () is the clock's current local time zone offset to UTC in seconds, if known. This is the duration local time - UTC time in seconds.

val period_d_ps : unit -> (int * int64) option

period_d_ps () is Some (d, ps) representing the clock's picosecond period d * 86'400e12 + ps, if known. ps is in the range [0;86_399_999_999_999_999L].

OCaml

Innovation. Community. Security.