constrain dns to ocaml4+