const gotRequestOptions = {
dnsLookupIpVersion: 4,
dnsLookup: async function lookup(hostname, options, callback) {
console.log('lookup', { hostname, options, callback });
},
agent: {
http: new HttpProxyAgent(proxyParams),
https: new HttpsProxyAgent(proxyParams),
},
};
When used agent as proxy together with dnsLookup got doesn't call options.dnsLookup function. but in hpagent I cannot find any DNS possibilities to customisation.
When used agent as proxy together with dnsLookup
got
doesn't calloptions.dnsLookup
function. but in hpagent I cannot find any DNS possibilities to customisation.