Custom DNS resolving

Hi,
Is it possible with k6 to do custom DNS resolving - aka. overriding the lookup. This would be the same how curl has a --resolve option.

Thanks,
Greg

Hi @ghulands,
As shown in the options documentation (you will need to search for hosts) you can do it as follows:

 let options = {
    hosts: {
        "test.loadimpact.com": "1.2.3.4"
    }
};