LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 05-24-2006, 06:38 PM   #1
rustyz82
Member
 
Registered: May 2004
Posts: 49

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

ns1.domain.com is on xx.xx.xx.94
ns2.domain.com 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
zaichik
Member
 
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
rustyz82
Member
 
Registered: May 2004
Posts: 49

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.
 
  


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
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


All times are GMT -5. The time now is 09:18 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration