Debian This forum is for the discussion of Debian Linux.
|
| 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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
05-29-2009, 02:47 PM
|
#1
|
|
LQ Newbie
Registered: Jun 2005
Distribution: Slackware 10.0
Posts: 14
Rep:
|
Ping works, but browsers cannot resolve domains
Hello,
On my new Debian Squeeze installation (kernel 2.6.26) I'm running into a problem with browsers. Apt-get can access the debian repositories just fine, and ping has no problem resolving hostnames. However, when I run konqueror or iceweasel and try to access any sites, the browsers can't resolve the domains (The browser could not find the host server for the provided address.)
My /etc/resolv.conf looks like this:
nameserver 172.16.0.1
However, I doubt that the problem is with resolv.conf since ping can resolve any arbitrary existing domain name (I've tried google.com, linuxquestions.org, debian.org, and pandora.com).
Ideas?
EDIT:
I forgot to try accessing sites directly via IP earlier. Even when I attempt to load, say, 74.125.45.100 (google), I still get the "host cannot be found" error. I doubt also that this is a firewall issue, since internet access works fine on XP and slackware on the same box.
Thanks for taking the time to read and reply to this =).
~Morgan McDermott
Last edited by morganmcdermott; 05-29-2009 at 02:58 PM.
|
|
|
|
05-29-2009, 02:57 PM
|
#2
|
|
Member
Registered: Dec 2008
Distribution: Debian SID Xfce
Posts: 40
Rep:
|
If you can ping but not connect you have yourself a DNS issue. Try
(write this down) http://64.233.169.103<-- google. If that works then you indeed have a DNS issue.
Last edited by anarchyinc; 05-29-2009 at 02:58 PM.
|
|
|
|
05-29-2009, 03:05 PM
|
#3
|
|
LQ Newbie
Registered: Jun 2005
Distribution: Slackware 10.0
Posts: 14
Original Poster
Rep:
|
Thanks, anarchyinc.
Trying to access google with http://64.233.169.103 yields the same result: host cannot be found.
I'll research the possible DNS problem as best I can. Any suggested fixes?
|
|
|
|
05-29-2009, 03:17 PM
|
#4
|
|
Member
Registered: Dec 2008
Distribution: Debian SID Xfce
Posts: 40
Rep:
|
No, if that didn't work then DNS is not the issue. That is what the test has proven. Looks like now we either have incorrect proxy server.... Look at the proxy first, if you have one turned on, turn it off.
Or your tcp port is blocked somehow, pings go though a different port than web access.
*have you tried hitting refresh just in case, sometimes my firefox times out like that. My kid automaticly restarts the modem and I keep telling her just to hit refresh first...
Last edited by anarchyinc; 05-29-2009 at 03:19 PM.
Reason: added
|
|
|
|
05-29-2009, 03:32 PM
|
#5
|
|
LQ Newbie
Registered: Jun 2005
Distribution: Slackware 10.0
Posts: 14
Original Poster
Rep:
|
Mmm well, unfortunately it doesn't appear that any proxy is configured... I also made sure to refresh the page several times after I received the error, but to no avail.
I've also experimented with completely disabling my firewall, but that didn't change anything either. This is really bizarre.
Thanks again for all your help, anarchyinc. Any more possibilities?
|
|
|
|
05-29-2009, 04:16 PM
|
#7
|
|
Member
Registered: Dec 2008
Distribution: Debian SID Xfce
Posts: 40
Rep:
|
Quote:
Originally Posted by farslayer
|
Did this work? I forgot about this little bug. Can't remember what causes it though.
|
|
|
|
05-30-2009, 02:37 AM
|
#8
|
|
LQ Newbie
Registered: Jun 2005
Distribution: Slackware 10.0
Posts: 14
Original Poster
Rep:
|
Sorry for the delay in response. I've been away all day. Going to try disabling IPv6 now.
|
|
|
|
05-30-2009, 02:59 AM
|
#9
|
|
LQ Newbie
Registered: Jun 2005
Distribution: Slackware 10.0
Posts: 14
Original Poster
Rep:
|
Quote:
Originally Posted by farslayer
|
This worked perfectly. Many thanks, AnarchyInc. I would have never guessed that having IPv6 enabled was the culprit.
For future reference, I specifically added these lines to /etc/modprobe.d/00local:
Code:
alias net-pf-10 off
alias ipv6 off
Since I run KDE I also added this to /etc/environment but I'm not sure if it's necessary
Code:
"Google finally revealed that you must add
KDE_NO_IPV6=true
to /etc/environment."
IPv6 was already disabled in iceweasel.
Thanks again, AnarchyInc =)!
|
|
|
|
05-30-2009, 06:43 PM
|
#10
|
|
Guru
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,231
Rep: 
|
From your description of the issue I wasn't sure that was the cause either.. but at least it worked out in the end.
Glad to hear you are up and running 
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 04:30 PM.
|
|
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
|
|