By default I would like to use the google public DNS servers and to fallback to intranet ones when these are failing.
Is this possible? … I am looking for a setup that would not break when I move my laptop no other networks.
It would be acceptable if I found a solution specific to this wifi network connection (to do the trick only in this case, and to use defaults for others).
Best Answer
You can use
ipconfig getpacket
to find the DNS server that DHCP recommended:So, assuming you are using the
Wi-Fi
adapter and its device isen0
, you can: