LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Konqueror and Firefox Cannot Browse (https://www.linuxquestions.org/questions/linux-networking-3/konqueror-and-firefox-cannot-browse-533764/)

linux_2007_ 03-01-2007 10:39 PM

Konqueror and Firefox Cannot Browse
 
I have a strange problem:

Niether Firefox nor Konqueror can resolve domain names. It should not be a connectivity problem a I can check that. Also, the proxy settings are correct, ie, "direct connection to the internet".

They both, however, work if IP addresses are supplied, not with domain names.

Could anyone please help me out here?

Thanks!

baldwonder 03-01-2007 10:55 PM

It sounds like neither Firefox nor Konqueror is resolving domain names. I ran into the same problem. I believe the problem lies with the /etc/resolv.conf file. This file should contain a list of DNS servers. If it is empty, that may be your problem. man resolv.conf gives you more information if needed.

linux_2007_ 03-02-2007 01:12 AM

Quote:

Originally Posted by baldwonder
It sounds like neither Firefox nor Konqueror is resolving domain names. I ran into the same problem. I believe the problem lies with the /etc/resolv.conf file. This file should contain a list of DNS servers. If it is empty, that may be your problem. man resolv.conf gives you more information if needed.


There are only 3 lines in this file on my pc: 2 nameservers and 1 search. How should I fill it? Is there a database (or similar) so copy and paste (or put the address as a pointer) in this file? Please remember I am not a linux expert. Thanks.

baldwonder 03-07-2007 05:36 PM

Since that file has 2 nameservers listed, it should work, unless those nameservers are wrong. Are you using DSL or cable? If you connect to your DSL modem (or cable modem), you should be able to find the DNS servers (or nameservers) that are being used by your DSL. Make sure the ones in the resolv.conf file are the same as these. If not, you may have to change the ones in the resolv.conf file. Also, you might open up a terminal window and see what errors you get when you type "ping www.google.com". If the ping works (if you get ping results back....hit <cntl>-<C> to stop the pinging), then the nameservers listed in the resolv.conf file are correct. If you get an error, can you post the error here?


All times are GMT -5. The time now is 12:09 AM.