Welcome to the most active Linux Forum on the web.
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 05-24-2006, 06:38 PM   #1
Registered: May 2004
Posts: 63

Rep: Reputation: 15
dns taking 2 lookups to work

I have a VPS server that i'm running some hosting from. I have noticed for a while now that anytime I try to go to one of the websites hosted on my server the initial attempt fails; giving a server not found message in IE. The second picks the IP up real quick and loads fine. This is true for web pages and everything else that involves using a dns name thats on my server. This leads me to believe that its a DNS issue but i'm not sure what would cause this. This happens no matter what computer I try it from, and it seems to happen about once a day. Meaning once I access a site in the morning it works fine for the rest of the day. Now for some information as to my configuration:

OS: CentOS 3.5
Bind Version 9.2.4
Main server IP: xx.xx.xx.94
Secondary IP: xx.xx.xx.95 is on xx.xx.xx.94 is on xx.xx.xx.95

Main Site is on secondary IP, since it uses a SSL certificate, the rest of the sites are on the main IP.

Any clue as to what could be causing this? Any help is appriciated.
Old 05-26-2006, 06:52 AM   #2
Registered: May 2004
Location: Iowa USA
Distribution: CentOS
Posts: 419

Rep: Reputation: 30
It does sound like a DNS problem. The first resolution attempt seems to be failing, and the second is second with the results then cached for the remainder of the TTL so that it does not happen again that day.

Does this happen only to you, or is this widespread? Are you using xx.xx.xx.94 and xx.xx.xx.95 as resolvers on your PC from which you experience the problems? Anything of interest in /var/log/messages?

Last edited by zaichik; 05-26-2006 at 06:54 AM.
Old 05-26-2006, 07:39 AM   #3
Registered: May 2004
Posts: 63

Original Poster
Rep: Reputation: 15
Well I tracked it down to a screwup on my providers end. I recently ordered a SSL certificate so they moved that domain to xx.xx.xx.95 and in the process changed the DNS record for the main nameserver to the wrong IP. Once they changed it back and updated the nameservers for the domain name everything returned to normal. Nothing was showing in /var/log/messages and it was happening to all the domains on my server, as well as occuring no matter what computer I was using, which realy made me thing DNS issue.


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
Webalizer with DNS lookups jnichel Linux - Software 21 01-23-2009 11:13 AM
DNS Lookups Slow kwiksand Linux - Networking 0 11-15-2004 04:52 AM
Caching DNS lookups vikasa Linux - Networking 0 06-26-2003 12:30 PM
Sendail and DNS lookups Hessian Rider Linux - Networking 3 11-05-2002 07:03 AM
Reverse DNS Lookups ascii2k Linux - Networking 2 08-08-2001 09:01 AM > Forums > Linux Forums > Linux - Networking

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