resolv.conf
domain example.com
nameserver 192.168.122.54
nameserver 192.168.124.44
Take this as the sample resolv.conf
. The scenario is that the DNS tries to resolve in the first name server as mentioned, if it is not able to resolve it should try to resolve using the second name server but it is not happening this way but an exception Unknown host is thrown during HTTPS call in Java code.
Could someone advice on how to resolve this?