Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 08-16-2002, 12:21 PM   #1
Registered: Jun 2001
Location: Up in the clouds
Distribution: Fedora et al.
Posts: 353

Rep: Reputation: 30
Host lookups fail at first, but then succeed consistently.

K, recently the newsletter I send has gone from taking 2 hours, to 24hours to send. I recently updated my bind to fix a buffer overflow (bind 9.1) and I figured I would test it to make sure it was working okay. Well when i run a "host" it consistently fails on the first try, and then if I do it right after it works. The errors are:

;; connection timed out; no servers could be reached

There are no errors in my logs, and I have tried with numerous different sites with the same result. My box is hosted, so Iam wondering if the host is screwing up net traffic, but I am trying to narrow it down a little more before I accuse them of network issues. I have rebooted the server, and it didn't help, there is no abnormal traffic on my system. System specs are:

512mb ram
Multi DC3 network
RH 7.2
Bind 9.2.1-1.7x.2

Any help or ideas are greatly appreciated. I don't see how it could be on my end.

Old 08-23-2002, 01:22 AM   #2
Registered: Apr 2002
Location: St. Paul, Minnesota
Distribution: UbuntuStudio, Ubuntu
Posts: 357

Rep: Reputation: 31
It's relatively common for DNS to time out on the first try. A cacheing name server is likely taking too long to forward a dns request, and by the time it recieves the answer - your local already gave up. The subsequent request will have the cached answer. There are ways around this, but some info is required...

Post your named.conf - and the output of 'dig' for a "new" host.


This will search DNS for one of my servers (Mandrake) - and will likely give enough output that we will be able to figure it out.


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
DPMS is not working consistently on Fedora Core 2 george.howitt Linux - Hardware 1 09-26-2004 11:29 PM
Mysterious DNS Lookups on private host neiljt Linux - Security 3 08-31-2004 07:31 PM
Yast2 Backup Fails Consistently wmeler Linux - General 0 06-18-2004 04:10 PM
Ping continues to fail after remote host recovers cahenesy Linux - Networking 7 04-19-2004 03:16 PM
Using the 'make' command consistently returns errors Baryonic Being Linux - Software 4 03-24-2004 01:02 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:42 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration