I'm running Mac OS X (wired connection) and on a really crappy ISP. Because of this I've set my DNS servers to use OpenDNS, which is generally much more responsive. However, for some reason 192.168.1.1 is at the top of my DNS search order (confirmed via /etc/resolv.conf and nslookup). The problem is that it's not listed anywhere in my network configuration. It might be coming from DHCP, but I've read that if it is it should be last in the list. How do I remove this altogether, or at the very least force Mac OS X to always try it last?
Very strange. When I go into System Preferences, only the OpenDNS servers are listed. I've checked every adapter listed, whether they are enabled or not (including Bluetooth, Firewire, etc.). When I run
networksetup -getdnsservers Ethernet it only returns the OpenDNS servers.
However if I
cat /etc/resolv.conf I get
nameserver 192.168.1.1 nameserver 126.96.36.199 nameserver 188.8.131.52
And nslookup gives me:
> server Default server: 192.168.1.1 Address: 192.168.1.1#53 Default server: 184.108.40.206 Address: 220.127.116.11#53 Default server: 18.104.22.168 Address: 22.214.171.124#53
When I look something up in nslookup it sometimes responds with 192.168.1.1 and sometimes with an OpenDNS server. And sometimes it times out completely due to my aforementioned crappy ISP.