![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
|
|
Networking & Wireless Having problems getting connected to the internet or getting your wireless card to work? Ask here. |
|
|
Thread Tools | Display Modes |
|
|
#1 | |
|
First Cup of Ubuntu
![]() Join Date: Oct 2005
Beans: 10
|
Changing DNS to OpenDNS
My ISP DNS Servers keep getting spoofed and i would like to change to OpenDNS. I have a broadband ISP and use a router to log into the PPPoE account (pretty standard).
I would like to tell DHCP to not do DNS and then tell it which servers to use. However, the router will always reset the DNS on renewing their lease. I use dnsmasq to set a local DNS cache (speeds up access to often visited sites) so my first entry is 127.0.0.1, but otherwise the setup is pretty standard. In gentoo i can go to /etc/conf.d/net and set: Quote:
New to Ubuntu! Obvious isn't it - Loving it so far. |
|
|
|
|
|
|
#2 |
|
自己犠牲の精神
![]() Join Date: Mar 2006
Location: Kitakyushu Japan
Beans: 7,892
Xubuntu 8.04 Hardy Heron
|
Re: Changing DNS to OpenDNS
fantastic directions right on opendns ... http://www.opendns.com/start/unix.php under "Using OpenDNS with DHCP"
__________________
1) Samba server howto in progress | 2) mount windows/samba shares with CIFS + unicode | 3) best FTP server howto
4) NFS server/client howto | 5) Easy cross-platform LAN file sharing with FTP 6) Fix samba browsing!!! | 7) Fix Pulse audio Happy Ubunting!![]() |
|
|
|
|
|
#3 | |
|
First Cup of Ubuntu
![]() Join Date: Oct 2005
Beans: 10
|
Re: Changing DNS to OpenDNS
Quote:
My question is therefore how do we control DHCP the debian way (on the *.conf command line level or dpkg level?) 1. Tell DHCP not to do DNS (otherwise the router resets the servers on each lease change) 2. Tell DHCP which servers to use for DNS. (redirect to using whichever ones i choose to use) :: So that the changes are permanent on a router reboot, and "connection information" shows the opendns dns address and not my ISP's. Last edited by mirrorhall; July 27th, 2007 at 09:42 PM.. |
|
|
|
|
|
|
#4 | |
|
自己犠牲の精神
![]() Join Date: Mar 2006
Location: Kitakyushu Japan
Beans: 7,892
Xubuntu 8.04 Hardy Heron
|
Re: Changing DNS to OpenDNS
no ... under "using opendns with dhcp"
it says this: Quote:
__________________
1) Samba server howto in progress | 2) mount windows/samba shares with CIFS + unicode | 3) best FTP server howto
4) NFS server/client howto | 5) Easy cross-platform LAN file sharing with FTP 6) Fix samba browsing!!! | 7) Fix Pulse audio Happy Ubunting!![]() |
|
|
|
|
|
|
#5 |
|
自己犠牲の精神
![]() Join Date: Mar 2006
Location: Kitakyushu Japan
Beans: 7,892
Xubuntu 8.04 Hardy Heron
|
Re: Changing DNS to OpenDNS
i see ... there's a link for "ubuntu" at the top of the link i sent you.
for the ubuntu specific directions, the command line directions are also listed under: "If your settings get revoked after reboots, or after periods of inactivity, you can try this:" but they are the same directions as appears under "Using OpenDNS with DHCP" on the same page i linked you to earlier.
__________________
1) Samba server howto in progress | 2) mount windows/samba shares with CIFS + unicode | 3) best FTP server howto
4) NFS server/client howto | 5) Easy cross-platform LAN file sharing with FTP 6) Fix samba browsing!!! | 7) Fix Pulse audio Happy Ubunting!![]() |
|
|
|
|
|
#6 | |
|
First Cup of Ubuntu
![]() Join Date: Oct 2005
Beans: 10
|
Re: Changing DNS to OpenDNS
Quote:
The problem was that these settings were not being remembered on reboot. However i seem to have found my mistake. Adding user to the "dhcp" group and then setting up the networking options in the GUI seems to work. ![]() NOTE: Add user to group "dhcp" seems to allow Ubuntu to remember DHCP settings. |
|
|
|
|
|
|
#7 |
|
I Want My $2!!
![]() Join Date: Mar 2007
Location: Denver, CO
Beans: 7,077
Ubuntu 8.10 Intrepid Ibex
|
Re: Changing DNS to OpenDNS
I think using OpenDNS with Samba screws up connecting to other "windows" computers, particularly if you are using winbind to refer to them by name rather than by IP address. Just an FYI if you encounter this in the future. I contact OpenDNS about this, and they wanted me to subscribe to their service to find a solution. I told them to forget it!
|
|
|
|
|
|
#8 | |
|
自己犠牲の精神
![]() Join Date: Mar 2006
Location: Kitakyushu Japan
Beans: 7,892
Xubuntu 8.04 Hardy Heron
|
Re: Changing DNS to OpenDNS
Quote:
Code:
hosts: files wins dns
__________________
1) Samba server howto in progress | 2) mount windows/samba shares with CIFS + unicode | 3) best FTP server howto
4) NFS server/client howto | 5) Easy cross-platform LAN file sharing with FTP 6) Fix samba browsing!!! | 7) Fix Pulse audio Happy Ubunting!![]() |
|
|
|
|
|
|
#9 |
|
I Want My $2!!
![]() Join Date: Mar 2007
Location: Denver, CO
Beans: 7,077
Ubuntu 8.10 Intrepid Ibex
|
Re: Changing DNS to OpenDNS
Thanks for the tip!!! Why isnt this info just posted on the OpenDNS site? Why would they want to charge me for this??
|
|
|
|
|
|
#10 |
|
100% Pure Ubuntu
![]() Join Date: Jun 2007
Location: Colorado, USA
Beans: 882
Ubuntu 9.10 Karmic Koala
|
Re: Changing DNS to OpenDNS
just adding links for people serching this topic in the future:
HOWTO get around flaky DNS servers: pointers to some simple methods Ubuntu Tutorials - How To Setup OpenDNS On Ubuntu
__________________
HP G71 Notebook - 2.20 GHz Intel Core2Duo T6600 - 4GB DDR2 - Intel GMA 4500MHD - Atheros AR9285 802.11b/g/n WiFi Adapter Be aware of what you enter into the terminal. Ask for clarification if you are unsure what a command does. |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|