I'm thinking I'll start by reviewing the protocol and reading the source of some preexisting implementation - and by continuing with Real World OCaml, of course. I'm sure I'll have plenty of questions in the coming months. Thanks again!
Sorry :-)
https://github.com/mirage/ocaml-dns/blob/master/lwt/mldig.ml
$ opam install dns
$ (build mldig from mirage/ocaml-dns, it's not installed by default)
$ mldig txt
recoil.org
;; <<>> MLDiG 1.0 <<>>
;; global options:
;; ->>HEADER<<- opcode: STANDARD, status: NOERROR, id: 57877
;; flags: tc aa qr; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;
recoil.org. IN TXT
;; ANSWER SECTION:
recoil.org. 10800 IN TXT "Llamaz United"
+1 to the DHCP server though -- that would be most useful!
-anil
On 5 Sep 2014, at 12:03, Jon Crowcroft <
jon.crowcroft@xxxxxxxxxxxx> wrote:
> Rewrite dig in ocaml, maybe?
>
> On Sep 5, 2014 1:11 AM, "Aaron Quamme" <
aaron.quamme@xxxxxxxxx> wrote:
> Hello,
>
> I'm looking for suggestions in the vein of Stephen's project - something relatively small and non-critical but still useful. I discovered Mirage and unikernels last week and find topic rather fascinating, so I decided to make it the focus of my undergraduate research project this semester. I don't have much experience with OCaml or with functional languages in general, but I've started on Real World OCaml.
>
> I'd greatly appreciate any suggestions you provide!
>
> -- Aaron
>
> _______________________________________________
> MirageOS-devel mailing list
>
MirageOS-devel@xxxxxxxxxxxxxxxxxxxx
>
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
>
> _______________________________________________
> MirageOS-devel mailing list
>
MirageOS-devel@xxxxxxxxxxxxxxxxxxxx
>
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
_______________________________________________