Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I would like to configure my ubuntu and get the benefits of configuring OpenDNS on my computer

  • is a home computer, with dynamic IP

    1. ¿ What packages I need to install ?
    2. ¿ what configuration is necessary ?

thanks.,

P.S : I'm not asking about how to include OpenDns server in my /etc/resolv.conf....

Possible Problem :

How can I access Windows shares after changing DNS servers (e.g. switching to OpenDNS)?

share|improve this question
add comment

2 Answers

The normal way to set it up at home is to just configure your router to use it. How to do this varies by model, but the basic support page for OpenDNS is here, it's a good starting point.

If you still want to just configure your Ubuntu machine to use OpenDNS, their how-to is here.

Good luck.

share|improve this answer
add comment
up vote 2 down vote accepted

after some research I can configure it :

  1. create your account in OpenDns.
  2. install ddclient :

ddclient is a Perl based client used to update DNS entries. This client works with all of our services as well as services provided by many of our competitors.

sudo apt-get install ddclient

when it starts to ask for parameters just click next and next ...

  • now we have to configure 2 files, open a terminal and type the following :

sudo nano /etc/default/ddclient

# Configuration for ddclient scripts
# Generated from debconf on Mon Aug 2 12:39:39 CEST 2010
#
# /Etc/default/ddclient

# Set to "true" if ddclient run Should Be Every time a new ppp connection is
# Established. This Might Be Useful, if You are using dial-on-demand.
run_ipup = "false"

# Set to "true" if ddclient Should run in daemon mode
# If tis is changed to true, run_ipup Must Be Set to false.
run_daemon = "true"

# Set the time interval Between the updates of the dynamic DNS name in seconds.
# This option only Takes effect if the ddclient runs in daemon mode.
daemon_interval = "300"
  • now with the other:

sudo nano /etc/ddclient.conf

# #
# # OpenDNS.com account-configuration
# #

ssl = yes
use = web, web = whatismyip.org

server = updates.opendns.com
protocol = dyndns2
login = username in OpenDNS                   <-----
password = 'key OpenDNS'                      <----- CHANGE THIS
(Name of the network you set up in OpenDNS)   <----- 
  1. and configure your DNS as describe JE2Tom in his post.
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.