I'm trying to set up my LAN with OpenDNS, and it seems that my DNS settings are being completely ignored. Even if I set my laptop (running Ubuntu) to have only the OpenDNS primary IP (and verify in resolv.conf that NetworkManager did its job) then
$ host myip.opendns.com
Host myip.opendns.com not found: 3(NXDOMAIN)
Still not using OpenDNS.
My ISP is running a transparent proxy, but that shouldn't affect DNS queries... could they be hijacking my DNS traffic somehow?
If they are transparently proxying one protocol, they may well be doing the same for DNS too.
To confirm this, try forcing
dig
to use the OpenDNS server instead of reading from other configuraion (to further rule out a config isue at your end) with something likedig @208.67.222.222 myip.opendns.com
- if your ISP is redirecting DNS traffic then you should get the same response (if you don't, i.e. you get the expected response instead of NXDOMAIN, then your local config may be in error as success indicates requests are getting through to OpenDNS's servers).If they are messing with DNS traffic your three options are:
In theory, your ISP could be manipulating your DNS responses. What's your ISP?
What's in resolv.conf?
What IP address does nslookup query by default?
What does nsswitch.conf say? It should look into the files first (in this case, /etc/resolv.conf), assuming that is where you put the OpenDNS servers IPs: