LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-04-2004, 10:24 PM   #1
rtt2
LQ Newbie
 
Registered: Feb 2004
Posts: 5

Rep: Reputation: 0
Mozilla 1.6 latency resolving DNS lookup w/ Fedora and Kernel 2.6.1


All,

Just put together my first Linux system, and am in the process of retiring my old WIn 2000 machine and using Linux exlusively. So far it's been fun, as well as a learning experience, but this issue w/ Mozilla 1.6 is confounding me so far.

I built a system using a AMD XP2500 and an Asus mobo (nForce 2), and loaded Fedora Core 1 using KDE. I recently installed kernel 2.6.1 and things were working well, however some inconsistencies in pasting text into Mozilla motivated me to upgrade to 1.6, which I did using the official yum repository.

However, when using Mozilal 1.6 with the 2.6 kernel I'm get this strange issue where *some* DNS lookups that Mozilla does hang for as long as 5 or 10 seconds before resolving, and some take longer than that. If I go back to using the 2.4 kernel installed with Fedora Core (I think it's 2.4.22, or maybe .18) then no problems--it's blazing fast.

A bunch of websearching uncovered very little information except for this:
news.gw.com/comp.unix.bsd.freebsd.misc/198526

where the fellow has the same problem I do, except he's using BSD 5.2, not Linux. However, I went ahead and disabled IPv6 on the ethernet *interface* using ifconfig, but this didn't help matters at all.

Konqueror *seems* to be unaffected by this.

Anyone have any idea what's going on? My system is almost completely stock, no crazy config modifications or anything like that (not yet at least ), and I can't imagine that I'm the only one with this problem. It makes using Mozilla a real pain.

Thanks!

PS--sorry for the URL posting w/o the http:// --the forum said I couldn't post a URL until one had 5 posts (to ward of spammers), which I don't think this is.

Last edited by rtt2; 02-04-2004 at 10:28 PM.
 
Old 02-07-2004, 08:28 PM   #2
rtt2
LQ Newbie
 
Registered: Feb 2004
Posts: 5

Original Poster
Rep: Reputation: 0
Well, no replies but if anyone cares it seems to have fixed itself now. Strange.
 
Old 04-30-2006, 04:03 PM   #3
zzeepphhoo
LQ Newbie
 
Registered: Apr 2006
Distribution: Fedora 4
Posts: 4

Rep: Reputation: 0
New distros like fedora 4,5 have Ipv6 turned on by default. IpV6 is a new DNS lookup that few servers use. This means that if the site you are trying to access in not listed on Ipv6, a 30 second timeout immeditately happens. It should be disabled. Also, Some other DNS servers miss the first few requests from linux machines. The default timeout is 5 seconds, so this could cause up to another 15 second delay. Step by step fix is as follows:
1. Log out of Fedora
2. Log in as root
3. enter your root password (the root password you entered when you installed fedora)
4. Click on "Home" or "My Computer"
5, Click on "Filesystem" or use up arrow to navigate to etc folder.
6. go to resolv.conf file. (not a folder, but a file located at the end of the files in your etc folder)
7. Insert this line at the bottom of the file: option timeout:1
8. Save the file
9. Go to etc/modprobe.conf file. Insert these lines at the bottom of the file:
alias ipv6 off
alias net-pf-10 off
10. Save the file.
11. Reboot your machine
12. Enjoy the SPEED!

Registered Linux User: #415505
 
  


Reply


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
Traceroute, Ping, Domain Name Server (DNS) Lookup, WHOIS, and DNS Records Lookup netoknet General 1 05-09-2005 04:43 AM
DNS lookup arsham Linux - General 2 05-07-2005 09:44 AM
Mozilla pauses in DNS lookup. cyent Linux - Software 0 11-29-2004 06:51 PM
DNS lookup vibhory2j Linux - Software 8 10-19-2004 11:24 AM
/etc/hosts resolving before DNS resolving ? markraem Linux - Networking 4 11-02-2003 05:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:19 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