dns-client#

A DNS stub resolver over the guest's UDP stack. It sends an A query to the configured nameserver and prints every IPv4 address in the reply.
The example keeps DNS policy explicit: the caller selects the resolver and the
name, while Dns_client_mirage handles request encoding, retries, and response
decoding. It is the useful starting point for adding name resolution to a
network appliance without a Unix resolver.
dune exec unikernel-dns-client -- \
--ipv4-gateway 10.0.0.1 --resolver 10.0.0.1 --name one.one.one.one