go to Settings>Internet>Internet Settings>Your Wifi Connection>Change Settings>DNS Settings to change the Primary DNS setting of your Switch to
Settings>Internet>Internet Settings>Your Wifi Connection>Change Settings>DNS Settings
and your Secondary DNS as