You would likely have to implement WPAD. Problem here is that both DHCP and DNS queries is not something you can do with native LabVIEW functions so you have to go to external code anyhow. In that case it might be simpler to just issue some .Net calls and get the relevant information in such a way. Something along the ways of creating a WebRequest object and then retrieving its default proxy https://docs.microsoft.com/en-us/dotnet/api/system.net.httpwebrequest.proxy?view=netframework-4.8#Sy...