Start console windows and run the command:

scutil --dns