#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2009
    Posts
    2
    Rep Power
    0

    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
    search nc.rr.com
    nameserver 208.67.222.222
    nameserver 208.67.220.220
    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
    search homebase
    nameserver 10.10.10.1
    nameserver 208.67.222.222

    I know that the router is using OpenDNS because I can do the following:
    # nslookup addr
    Server: 208.67.222.222
    Address: 208.67.222.222#53

    Non-authoritative answer:
    Name: addr
    Address: 208.77.188.166

    I know that the desktop is using the router because I see the following:
    [nathan@ebisu ~] nslookup addr
    Server: 10.10.10.1
    Address: 10.10.10.1#53

    Non-authoritative answer:
    Name: addr
    Address: 208.77.188.166

    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?

    Thanks,
    Nathan
  2. #2
  3. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2009
    Posts
    2
    Rep Power
    0
    Found the answer

    Needed to configure bind via named.conf to use OpenDNS.
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2009
    Posts
    1
    Rep Power
    0
    Why don't you configure bind to host your own DNS server and use openDNS as a forwarder?

IMN logo majestic logo threadwatch logo seochat tools logo