ref: 9186d1ce9b8e6bd1443d6c2e24f378dedbaa5a30
parent: 22dfaa6b4c03222803ae97cf4ff9401788b5d4ea
author: Ori Bernstein <ori@markovcorp.com>
date: Mon Jun 5 10:05:53 EDT 2017
Now if you try to resolve v6 addresses, we try.
--- a/lib/std/resolve+posixy.myr
+++ b/lib/std/resolve+posixy.myr
@@ -73,6 +73,7 @@
}
const resolve = {host
+ /*TODO: v4 and v6 */
-> resolverec(host, `DnsA)
}
@@ -85,7 +86,7 @@
| `Some hinf:
-> `Ok sldup([hinf][:])
| `None:
- -> dnsresolve(host, rectype(`DnsA))
+ -> dnsresolve(host, rectype(t))
;;
}