LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 10-29-2005, 01:28 PM   #1
RobertHyatt
LQ Newbie
 
Registered: Oct 2005
Posts: 1

Rep: Reputation: 0
DNS question


I have been a long-time linux user, primarily redhat, through redhat 9. I have recently decided to move to more recent systems, and have tried both SuSE 9.3 and now Fedora Core 4, which I am currently using (SuSE is _way_ too slow on my laptop, booting up).

My question is this: Using a web browser, the DNS stuff is _way_ slow. I've written a simple C program to use gethostbyname() and that runs just fine with nearly instant results. Ditto for a ping to something like mit.edu, which starts pinging almost instantly.

But when I use a web browser, such as firefox, each new URL takes _many_ seconds to resolve. When I run TCPDUMP there seems to be a lot of DNS activity spanning 10-15 seconds, before the web page starts to load. Since this happened on both SuSE and Fedora, and since it is only related to web browsing so far as I have noticed, I assume there must be some new sort of authentication/security/etc settings that are causing this.

Any ideas or suggestions? If I put the www URL address into /etc/hosts, the web pages for that web site load instantly. But not with something that hits an unknown host name. If I run named, the first probe of a web site takes forever, but subsequent ones apparently are handled from the named cache, so there is something very fishy going on...

thanks for any suggestions...
 
Old 10-29-2005, 01:34 PM   #2
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
Nameserver trouble, most likely.

What does
Code:
cat /etc/resolv.conf
show you?
 
  


Reply



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
DNS question lambmt Linux - Networking 1 11-07-2003 09:02 AM
DNS question J_Szucs Linux - Software 4 10-31-2003 03:02 AM
DNS question jolu2000 Linux - Networking 3 06-04-2003 10:26 AM
dns question -- new to dns gadhiraju Linux - Networking 7 05-09-2001 05:59 PM
dns question -- new to dns gadhiraju Linux - General 2 05-09-2001 07:44 AM

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

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