Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
08-18-2014, 12:53 PM
|
#1
|
LQ Newbie
Registered: Jan 2014
Location: /dev/null
Distribution: Debain/Gentoo/openSUSE
Posts: 27
Rep:
|
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)
|
|
|
08-18-2014, 02:38 PM
|
#2
|
LQ Addict
Registered: Dec 2013
Posts: 19,872
|
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?
|
|
|
08-18-2014, 06:42 PM
|
#3
|
LQ Newbie
Registered: Jan 2014
Location: /dev/null
Distribution: Debain/Gentoo/openSUSE
Posts: 27
Original Poster
Rep:
|
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.
|
|
|
08-19-2014, 03:34 AM
|
#4
|
LQ Addict
Registered: Dec 2013
Posts: 19,872
|
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..
|
|
|
08-19-2014, 06:22 PM
|
#5
|
LQ Newbie
Registered: Jan 2014
Location: /dev/null
Distribution: Debain/Gentoo/openSUSE
Posts: 27
Original Poster
Rep:
|
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.
|
|
|
08-19-2014, 06:46 PM
|
#6
|
Senior Member
Registered: Dec 2013
Distribution: Slackware
Posts: 1,982
|
Just go to the wicd options and set it there, that's how I set it.
|
|
|
08-20-2014, 07:55 AM
|
#7
|
LQ Newbie
Registered: Jan 2014
Location: /dev/null
Distribution: Debain/Gentoo/openSUSE
Posts: 27
Original Poster
Rep:
|
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.
|
|
|
08-20-2014, 11:25 AM
|
#8
|
Senior Member
Registered: Dec 2013
Distribution: Slackware
Posts: 1,982
|
Quote:
Originally Posted by TheBatmanKiller
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.
|
|
|
08-20-2014, 07:21 PM
|
#9
|
LQ Newbie
Registered: Jan 2014
Location: /dev/null
Distribution: Debain/Gentoo/openSUSE
Posts: 27
Original Poster
Rep:
|
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.
|
|
|
08-20-2014, 08:24 PM
|
#10
|
Senior Member
Registered: Dec 2013
Distribution: Slackware
Posts: 1,982
|
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.
|
|
|
08-21-2014, 09:14 AM
|
#11
|
LQ Newbie
Registered: Jan 2014
Location: /dev/null
Distribution: Debain/Gentoo/openSUSE
Posts: 27
Original Poster
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 11:18 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|