LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-18-2014, 12:53 PM   #1
TheBatmanKiller
LQ Newbie
 
Registered: Jan 2014
Location: /dev/null
Distribution: Debain/Gentoo/openSUSE
Posts: 27

Rep: Reputation: Disabled
Exclamation Why doesn't Wicd use OpenDNS after I configured to (on debian jessie)?


I have recently signed up OpenDNS, but I can't get it working. I have tried a least 3 different methods (modify /etc/resolv.conf, add something to /etc/dhcp/dhclient.conf, etc), but none work. I am wondering why wicd doesn't use the OpenDNS servers, even though I set it to? (By the way, I use Google Chrome and Firefox as my default browsers, although I occasionally use Midori)
 
Old 08-18-2014, 02:38 PM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
i noticed that wicd has an option to use specific dns servers.
nifty.

how do you know what nameservers your system is actually using?
i would guess it's using those that actually are in resolv.conf.

and what exactly does "add something to /etc/dhcp/dhclient.conf" mean?
 
Old 08-18-2014, 06:42 PM   #3
TheBatmanKiller
LQ Newbie
 
Registered: Jan 2014
Location: /dev/null
Distribution: Debain/Gentoo/openSUSE
Posts: 27

Original Poster
Rep: Reputation: Disabled
I followed a guide and put this "option domain-name-servers x.y.z.1 x.y.z.2" in /etc/dhcp/dhclient

It didn't work.

I checked my resolv.conf to see that it was overwritten to the default for my system.

In wicd, wlan0 and eth0 are set to use the the OpenDNS servers as the default DNS server.

Last edited by TheBatmanKiller; 08-18-2014 at 06:48 PM.
 
Old 08-19-2014, 03:34 AM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
i've been tinkering with resolv.conf a while ago and remember that it wasn't so easy - please check out this even if you're not using archlinux.

if the problem remains we can continue later today..
 
Old 08-19-2014, 06:22 PM   #5
TheBatmanKiller
LQ Newbie
 
Registered: Jan 2014
Location: /dev/null
Distribution: Debain/Gentoo/openSUSE
Posts: 27

Original Poster
Rep: Reputation: Disabled
Thanks for the tip, but I will have to wait to try it. School just started back up, and there's a lot of stuff I have to do now.
 
Old 08-19-2014, 06:46 PM   #6
metaschima
Senior Member
 
Registered: Dec 2013
Distribution: Slackware
Posts: 1,982

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Just go to the wicd options and set it there, that's how I set it.
 
Old 08-20-2014, 07:55 AM   #7
TheBatmanKiller
LQ Newbie
 
Registered: Jan 2014
Location: /dev/null
Distribution: Debain/Gentoo/openSUSE
Posts: 27

Original Poster
Rep: Reputation: Disabled
Thumbs down

Quote:
Just go to the wicd options and set it there, that's how I set it.
That's what I did in the first place. It didn't work, obviously, because this thread exists.
 
Old 08-20-2014, 11:25 AM   #8
metaschima
Senior Member
 
Registered: Dec 2013
Distribution: Slackware
Posts: 1,982

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Quote:
Originally Posted by TheBatmanKiller View Post
That's what I did in the first place. It didn't work, obviously, because this thread exists.
How do you know it doesn't work ? How are you testing it ?

Set them as global DNS servers and make sure all connections use them.
 
Old 08-20-2014, 07:21 PM   #9
TheBatmanKiller
LQ Newbie
 
Registered: Jan 2014
Location: /dev/null
Distribution: Debain/Gentoo/openSUSE
Posts: 27

Original Poster
Rep: Reputation: Disabled
I've been going to OpenDNS's test pages and they all say I am not using OpenDNS's servers. That is how I know it doesn't work.
 
Old 08-20-2014, 08:24 PM   #10
metaschima
Senior Member
 
Registered: Dec 2013
Distribution: Slackware
Posts: 1,982

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Weird, that has never happened before. You can either try network manager instead, or you can set the DNS servers on your router.

Also, resolv.conf tends to be overwritten by dhcpcd and dhclient, so you will need to configure these to not overwrite it if you want to put the DNS servers there.
 
Old 08-21-2014, 09:14 AM   #11
TheBatmanKiller
LQ Newbie
 
Registered: Jan 2014
Location: /dev/null
Distribution: Debain/Gentoo/openSUSE
Posts: 27

Original Poster
Rep: Reputation: Disabled
Well, I have gotten it working for the moment. Here's my resolv.conf

supersede domain-name-server 208.67.222.222,208.67.220.220

# OpenDNS IPv4 nameservers
nameserver 208.67.222.222
nameserver 208.67.220.220

# OpenDNS IPv6 nameservers
nameserver 2620:0:ccc::2
nameserver 2620:0:ccd::2

# My router's ip address
nameserver 192.168.42.7

Then I used "resolvconf --disable-updates"
Let's just see if it works in the long run.

EDIT (Later that day):
I turned on my computer again and guess what? Resolv.conf was overwriten.

Last edited by TheBatmanKiller; 08-21-2014 at 06:06 PM.
 
  


Reply

Tags
chrome, debian jessie, opendns, wicd


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Debian Jessie security dinodesilva Debian 3 06-26-2014 10:52 PM
VDPAU fglrx Debian jessie kaz2100 Debian 13 05-24-2014 09:09 AM
LXer: Ubuntu 14.04 vs. Debian 7.3 vs. Debian Jessie Preview LXer Syndicated Linux News 0 01-27-2014 09:52 PM
LXer: Debian 8.0 Will Be Known as Jessie LXer Syndicated Linux News 0 07-31-2012 11:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration