Solution: factor the code into ip_resolver, add IPv6 support and unit tests.
Attach a file by drag & drop or click to upload