[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

OpenDNS con Debian, come fare?



Ciao a tutti,
per problemi con il mio operatore ADSL ho deciso di usare OpenDNS
sulla mia macchina debian.
Il computer con lenny è collegato ad un router (dell'operatore => non
posso settare i DNS li), che funziona in DHCP (per le altre macchine).
(N.B.: ho scelto io di usare un indirizzo statico, per altri motivi)

In /etc/network/interface ho messo (seguendo la guida di debian):
manuel@athlonXP:/etc/network$ cat interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug eth0
#la riga sotto l'ho commentata io!
#iface eth0 inet dhcp

iface eth0 inet static
             address 192.168.1.99
             netmask 255.255.255.0
             gateway 192.168.1.1
             dns-search opendns.com
             dns-nameservers 208.67.222.222,208.67.220.220

Poi ho dato:
manuel@athlonXP:/etc/network$ sudo ifdown eth0 && sudo ifup eth0

Ma in /etc/resolv.conf c'è sempre:
manuel@athlonXP:/etc/network$ cat /etc/resolv.conf
domain MB8
search MB8
nameserver 192.168.1.1

Che sono dati settati sul router!
Come faccio ad usare OpenDNS?

Ciao e grazie in anticipo per l'aiuto,
Manuel
-- 
http://web.mac.com/manuelmagic


Reply to: