Deleted my default DNS servers

DrZach21

macrumors newbie
Original poster
Apr 4, 2012
8
0
Ottawa, Ontario, Canada
I accidentally deleted the default DNS server of the WiFi Interface in the Advanced menu of the Network pane in System Preferences. (Image here)

Without it, I can't access the Internet on my that Mac. Any Ideas?

Right now, I'm using Google's Public DNS but I would like to retrieve my old DNS server back.
 

leventozler

macrumors 6502
Feb 18, 2009
307
106
It should restore the default ones automatically (if you're using DHCP) Remove the current ones and try the 'renew DHCP lease' button under TCP/IP
 

Amyrogers88

macrumors newbie
Aug 2, 2016
1
0
Thanks! It worked!
[doublepost=1470175445][/doublepost]
I have deleted the DNS servers, renewed the DHCP lease under TCP/IP and it hasn't worked.

I am now unable to access the Internet. I accidentally deleted all DNS servers and now have only half the original saved.

Please help!
 

KALLT

macrumors 601
Sep 23, 2008
4,933
3,007
I have deleted the DNS servers, renewed the DHCP lease under TCP/IP and it hasn't worked.
As leventozler said, you cannot delete your DNS fallback, these are set by your router. Perhaps you or another program added custom DNS to the list, which you now removed, and these addresses are defunct. You should remove them all to restore the default or look in your router preferences for the DNS configuration (TCP/IP tells you the IP address of the router, which you can type into your browser). You can also try another DNS instead, like 8.8.8.8 (Google’s DNS) or 208.67.222.222 and 208.67.220.220 (OpenDNS).