August 3rd, 2009, 07:59 PM
Can't use OpenDNS with BSD router
I'm trying to set up OpenDNS for my network.
I have a router running OpenBSD. My resolv.conf looks like the following:
# cat resolv.conf
lookup file bind
I've set up dhclient so it doesn't munge this file.
On my desktop, my resolv.conf looks like this:
[nathan@ebisu ~] cat /etc/resolv.conf
I know that the router is using OpenDNS because I can do the following:
# nslookup addr
I know that the desktop is using the router because I see the following:
[nathan@ebisu ~] nslookup addr
However, the desktop isn't using OpenDNS. I can verify this by, for example, typing in google.cmo. I would expect it to autocorrect, but it doesn't. The OpenDNS site itself also tells me that I'm not configured to use their service.
Do you have any idea why the desktop isn't using OpenDNS?
August 4th, 2009, 09:01 PM
Found the answer
Needed to configure bind via named.conf to use OpenDNS.
August 10th, 2009, 12:45 AM
Why don't you configure bind to host your own DNS server and use openDNS as a forwarder?