| Mandriva This Forum is for the discussion of Mandriva (Mandrake) 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. |
 |
|
01-25-2004, 04:44 PM
|
#1
|
|
Member
Registered: Oct 2003
Posts: 81
|
Problems with "resolving host" and Mozilla
[ Log in to get rid of this advertisement]
I updated my Mozilla to the newest stable release and noticed that Mozilla spends most of it's time "resolving host" usually 10 to 20 seconds on a website. I've done some reading and found that this appears to be common to mostly Linux installs. I haven't found any reason or solution and was wondering if anyone else had the same troubles and perhaps a solution.
Finally one last note is my resolve.conf only contains my wireless router's IP. Should I perhaps throw in some other dns servers? I tried the dns names of my IP (SBC in the bay area) and it didn't seem to do much (although I only restarted my browser and not the whole system.) Do I have to restart the whole computer to get this data to take?
Mandrake 9.2 RC2, Emachines M5310 Laptop, Kernel 2.6 test 11 (working on 2.6.1 upgrade soon), Mozilla .8+ Athlon XP build
Last edited by adamis; 01-25-2004 at 04:47 PM..
|
|
|
|
01-25-2004, 05:58 PM
|
#2
|
|
Member
Registered: Oct 2003
Location: Mississauga, ON (currently in Charlottesville, VA)
Distribution: Ubuntu 8.04
Posts: 488
|
It happens to me in Konqueror and Opera too, so I doubt it's a browser problem. Did this problem happen to you before you upgraded Mozilla?
I posted a similar thread two weeks ago and no one has been able to fix the problem despite me bumping the thread 3 times.
|
|
|
|
03-20-2004, 12:21 PM
|
#3
|
|
LQ Newbie
Registered: Mar 2004
Posts: 3
|
I have a fix for this problem (at least in my case).
History:
I have a Linksys Switch connected to a cable modem. I've Been struggling with SLOW Internet surfing in all browsers I tried in Red Hat 9 (I use Mozilla in general). Windows on the same machine is like lightening. Previous versions of RH and Knoppix had the same problems so I knew it was a setup thing. Any time going to a new website "Resolving Host" would take a long time, as would "Connecting...", and the pages would generally load slow also. POP Mail was slow to connect to check messages. ping and traceroute were also slow. Using both DHCP and static settings had the same SLOW results.
Now everything is like lightening on RH.
Here is what I did:
In the Network panel (redhat-config-network on command line) the clincher was putting my WAN Default Gateway IP address in for the DNS Search Path. The WAN gateway being the "switch" at my cable provider which is my WHOLE network's gateway to the rest of the world. I previously had my LAN gateway address (the switch LAN address or internal IP gateway address). I expect that I am not the only one who made the same conceptual error.
For those who are looking for these IP addresses, I HTTP over to my switch configuration and check the STATUS page. Here is where one can find the DNS server IP addresses and WAN gateway address to use in the DNS setup.
Hope it helps!
Axigrav
|
|
|
|
03-20-2004, 01:56 PM
|
#4
|
|
LQ Newbie
Registered: Jan 2004
Location: Northern California
Distribution: Mandrake 9.2 - 10 Official, XP Pro
Posts: 29
|
I have been having the same problem lately too... Thought it got solved my replacing the dead cable moden... I have my IP Address, Net Mask and Gateway set manually... They are set the correct places... Using Mozilla 1.6... Also tried using Epiphany, got some slow results with no "resolving host" message ... XP was doing this too, now I can anly see a flash of the "resolving host" message then the page gets displayed...
Last edited by Healing Bear; 03-20-2004 at 04:43 PM..
|
|
|
|
03-21-2004, 12:21 PM
|
#5
|
|
Member
Registered: Apr 2002
Location: Wales MA.
Distribution: openSuSE 10.3
Posts: 392
|
Axigrav,
Thank You sir. I was having the same problem since getting a US Robotics Router your fix is working like a charm. I have tried about everything even entering my ISP's DNS numbers but nothing helped, adding my cable boxes number did the trick, again thank you very much.
|
|
|
|
03-26-2004, 05:54 PM
|
#6
|
|
LQ Newbie
Registered: Mar 2004
Posts: 3
|
Great!
You're welcome...Glad it has helped!!
|
|
|
|
04-24-2004, 02:21 AM
|
#7
|
|
LQ Newbie
Registered: Apr 2004
Distribution: Red Hat 9
Posts: 2
|
please help to solve mozilla/linux host resolving problem
Hi Axigrav,
Being a newbie I did not completely understand your solution.
I am using RH9, and is facing same problem which u have explained.
My setup is as follows, i use a wireless PCMCIA 64kbps modem to dialup
to my ISP.
From the PPP configuration, i know the address of their DNS.
Adding DNS address to /etc/resolv.conf is of no use regarding this
problem.
I checked, Network panel (redhat-config-network on command line)
in my system, But in that DNS search field path is empty.
Could you guide me in fixing this host resolving problem in mozilla/RH9
Thanks in advance
godofmind
|
|
|
|
06-03-2004, 08:25 AM
|
#8
|
|
Member
Registered: May 2003
Location: Canberra, Australia
Distribution: SUSE 10.2
Posts: 438
|
This might help
|
|
|
|
07-06-2004, 02:12 AM
|
#9
|
|
LQ Newbie
Registered: May 2004
Location: Sydney
Distribution: Mandrake 10.0
Posts: 2
|
slow site loading in mozilla
I have had a similar problem with mozilla 1.7 (and 1.6) under MDK10. While I am totally out of my depth here, apparently it can be caused by ipv6. Some posts talk about changing some conf files, but you can check, and in my case, fix, the problem by navigating to about:config (enter this in the address bar) and scrolling down to network.dns.disableIPv6. This is usually false, so change it to true (right click, modify, type true) and restart mozilla. I noticed an immediate improvement. This should fix the mozilla problem without affecting other network processes.
|
|
|
|
07-12-2004, 06:31 PM
|
#10
|
|
LQ Newbie
Registered: Jul 2004
Location: Massachusetts
Posts: 1
|
Resolving Host
I am running Windows XP, Mozille 1.7.1 with the same problem (I run Linux on all our data acquistion boxes). I applied the fix, use the DNS entries from my D-Link router, and web sites are suddenly found with no 20 second delay. Instantaneous. I.e. this problem is not unique to Linux. I don't recall this being an issue until perhaps Mozilla 1.7, not sure about 1.6, but this sure fixed it. I am not sure how to fix it on my eoaming notebook though. Thanks a thousand times for the DNS clue!!! DocFOC
|
|
|
|
07-27-2004, 10:38 PM
|
#11
|
|
LQ Newbie
Registered: Jul 2004
Posts: 3
|
I had a similar problem with the "resolving host" delay of about 10 seconds per page change. I was irate! I tried everything and scanned the manuals and different forums for answers. I have SUSE 9.1 by the way.
As a last resort, I decided to remove my Network Card configuration completely and start over. To my surprise, I had 4 configurations setup for my Network Card! I deleted each and every one of them and then added back the detected Network Card accepting defaults using DHCP automatic assignment of IP stuff. To my surprise this did the trick.
I can only guess how I got 4 different Network Card configurations. It may have happened in the course of getting MYSQL or Tomcat or Eclipse setup or maybe even SAMBA. Whatever it works now.
Try it:
1- Go into YAST
2- Choose Network Devices...
3- Choose Network Card
You should see detected configurations at this point. If you have more than one, you may have the same issue.
|
|
|
|
07-28-2004, 08:24 AM
|
#12
|
|
Member
Registered: Jul 2004
Location: London, England
Distribution: Mandrake 10.1
Posts: 300
|
Quote:
Originally posted by Axigrav
I have a fix for this problem (at least in my case).
Here is what I did:
In the Network panel (redhat-config-network on command line) the clincher was putting my WAN Default Gateway IP address in for the DNS Search Path. The WAN gateway being the "switch" at my cable provider which is my WHOLE network's gateway to the rest of the world. I previously had my LAN gateway address (the switch LAN address or internal IP gateway address). I expect that I am not the only one who made the same conceptual error.
For those who are looking for these IP addresses, I HTTP over to my switch configuration and check the STATUS page. Here is where one can find the DNS server IP addresses and WAN gateway address to use in the DNS setup.
Hope it helps!
Axigrav
|
I'm using Mandy 10.0 and in my network panel there doesn't seem to be an entry for DNS search path.
I connect via an ethernet card and router.
In my network setup box I have these options tabs: TCP/IP Options and Information.
On the TCP/IP tab I have these settings.
Device select: eth0
A subheading IP configurations. There's a Protocol setting button which is set to DHCP by default, and the only other option is 'static'. Also in this window I have boxes for IP address (which is set and 'greyed out' so I can't edit it). Netmask (which is also set and greyed out so I can't edit it) and Gateway. There's nothing in the Gateway box, but it's also greyed out and uneditable.
To the right there's a box for DNS Server which gives the IP address for my router. It's info only and not editable. Below that there's a Search Domain box which again, is info only and not editable, here it says 'none'.
The options tab doesn't have anything interesting - start at boot: enabled, network hotplugging: disabled and track network card ID: also disabled.
The information tab rehashes everything in the prior two boxes.
The greyed out boxes remain greyed out and uneditable whether I'm in usr mode or su.
Any suggestions?
Thanks in advance.
Last edited by pongmaster; 07-28-2004 at 08:26 AM..
|
|
|
|
07-28-2004, 06:23 PM
|
#13
|
|
LQ Newbie
Registered: Jul 2004
Posts: 3
|
Mandrake question
There are two options when setting up your Network Card, Static IP Address where you supply the numbers and Dynamic using DHCP. I've heard that DHCP is safer, and sometimes necessary if you are going through a firewall or router. DHCP will automatically detect and set the appropriate settings each time you connect to your ISP.
That said, don't be concerned about the greying out. You probably do not want to change that stuff anyway. The solution you referred to above, setting the default gateway is a STATIC solution.
My suggestion is to look into why your DHCP is having problems resolving the Host IP Address information. In my case, I had several configurations conflicting with one another. If you see more than one, and perhaps even if you don't, I recommend deleting your Network Card configuration and re-detecting in. Mandrake should easily recognize your Network Card and set it up properly for you when you do this. Give it a shot.
Good Luck.
|
|
|
|
07-28-2004, 07:52 PM
|
#14
|
|
Member
Registered: Jul 2004
Location: London, England
Distribution: Mandrake 10.1
Posts: 300
|
Quote:
Originally posted by drsuse23
had several configurations conflicting with one another.
|
Ah, yes... after checking my setting more thoroughly, I found a similar problem.
Mozilla/internet running 100% now.
Thanks for the heads up. 
|
|
|
|
08-01-2004, 08:55 PM
|
#15
|
|
LQ Newbie
Registered: Aug 2004
Posts: 1
|
Re: slow site loading in mozilla
I just like to say that the advice I got below worked straight away and has saved me a lot of time and tears. I thought that the only solution for fixing my mozilla problem was to use squid to proxy the information to mozilla but this proved to be too awkward.
I like to give credit were credit is due.
GRooney
Quote:
Originally posted by icenov
I have had a similar problem with mozilla 1.7 (and 1.6) under MDK10. While I am totally out of my depth here, apparently it can be caused by ipv6. Some posts talk about changing some conf files, but you can check, and in my case, fix, the problem by navigating to about:config (enter this in the address bar) and scrolling down to network.dns.disableIPv6. This is usually false, so change it to true (right click, modify, type true) and restart mozilla. I noticed an immediate improvement. This should fix the mozilla problem without affecting other network processes.
|
|
|
|
|
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 10:43 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
LQ Podcast
LQ Radio
|
|