DNS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsSystem AdministrationDNS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old January 7th, 2013, 05:25 AM
Rhytz's Avatar
Rhytz Rhytz is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2011
Posts: 100 Rhytz User rank is Sergeant Major (2000 - 5000 Reputation Level)Rhytz User rank is Sergeant Major (2000 - 5000 Reputation Level)Rhytz User rank is Sergeant Major (2000 - 5000 Reputation Level)Rhytz User rank is Sergeant Major (2000 - 5000 Reputation Level)Rhytz User rank is Sergeant Major (2000 - 5000 Reputation Level)Rhytz User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 1 Day 11 h 4 m 50 sec
Reputation Power: 50
DNS doesnt resolve on first try?

I have lately moved some of my sites to a new host. (3 weeks ago) However, my network seems to have trouble resolving the domains I think.

Whenever I visit one of the websites after rebooting my pc, it will not load, until i refresh the page. The same goes for FTP, which wont connect only until the second try. I'm using the IP of the server for FTP.

Whenever I connected to it once, it will work for the entire time the computer is on.

What could be causing this?

One of the sites is: http://wordfeudoppc.nl.

I'm also curious if im the only one, and if its not a server-side problem.

It also happens on other computers on the network, and on my phone connected to the wifi. I have also tried on my mobile network, but I cant be sure, since i just tried with the wifi

Last edited by Rhytz : January 7th, 2013 at 05:27 AM.

Reply With Quote
  #2  
Old January 7th, 2013, 11:15 AM
couttsj couttsj is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2011
Posts: 169 couttsj User rank is Sergeant Major (2000 - 5000 Reputation Level)couttsj User rank is Sergeant Major (2000 - 5000 Reputation Level)couttsj User rank is Sergeant Major (2000 - 5000 Reputation Level)couttsj User rank is Sergeant Major (2000 - 5000 Reputation Level)couttsj User rank is Sergeant Major (2000 - 5000 Reputation Level)couttsj User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 2 Days 18 h 7 m 40 sec
Reputation Power: 43
What you are experiencing is a DNS timeout. It failed to get the answer on the first attempt in time, but by the time you refreshed it had the answer. After that the answer was in cache.

The problem is not necessarily with the authoritative name servers, but with the DNS servers your computer is using to get the answer. The only solution is to use different DNS servers that will respond more quickly (eg. opendns).

J.A. Coutts

Reply With Quote
  #3  
Old January 8th, 2013, 04:15 AM
Rhytz's Avatar
Rhytz Rhytz is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2011
Posts: 100 Rhytz User rank is Sergeant Major (2000 - 5000 Reputation Level)Rhytz User rank is Sergeant Major (2000 - 5000 Reputation Level)Rhytz User rank is Sergeant Major (2000 - 5000 Reputation Level)Rhytz User rank is Sergeant Major (2000 - 5000 Reputation Level)Rhytz User rank is Sergeant Major (2000 - 5000 Reputation Level)Rhytz User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 1 Day 11 h 4 m 50 sec
Reputation Power: 50
I am already using OpenDNS How come the IP doesnt resolve either in the FTP?

Do you encounter the same problem when visiting the website?

Reply With Quote
  #4  
Old January 8th, 2013, 11:01 AM
couttsj couttsj is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2011
Posts: 169 couttsj User rank is Sergeant Major (2000 - 5000 Reputation Level)couttsj User rank is Sergeant Major (2000 - 5000 Reputation Level)couttsj User rank is Sergeant Major (2000 - 5000 Reputation Level)couttsj User rank is Sergeant Major (2000 - 5000 Reputation Level)couttsj User rank is Sergeant Major (2000 - 5000 Reputation Level)couttsj User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 2 Days 18 h 7 m 40 sec
Reputation Power: 43
Quote:
Originally Posted by Rhytz
I am already using OpenDNS How come the IP doesnt resolve either in the FTP?

Do you encounter the same problem when visiting the website?

It does not matter which program you use, it all requires client DNS resolution. When I tested your domain, it resolved almost immediately. That meant that the DNS servers I am using (Telus) already had the domain in cache, and did not need to use Recursion to obtain it from the authoritative server. The OpenDNS servers do not have a very long Time To Live (TTL), so they are dropped from cache quite quickly. Although your domain resolved quickly, I do experience the same thing occasionally on other domains. If you can find DNS servers that are close (your own ISP) and responsive, they are usually the best. I used a program called "dnstester" to find the best servers for me. Google also provides public DNS servers, but again they can have a long transit time, depending on your location. Do not use more than two. On a bad lookup, it has to time out on all servers, and that could take a long time if you have several configured.

J.A. Coutts

Reply With Quote
  #5  
Old January 24th, 2013, 09:15 AM
vincewicks vincewicks is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2012
Location: Brooklyn, NYC
Posts: 24 vincewicks User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 52 sec
Reputation Power: 0
Send a message via AIM to vincewicks
Most likely It's not a server-side issue if you connect via FTP with direct IP. Try to install sniffer (ex. Fiddler) and look through the log of your connections. Also check your firewall.

Reply With Quote
  #6  
Old January 24th, 2013, 09:17 AM
Rhytz's Avatar
Rhytz Rhytz is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2011
Posts: 100 Rhytz User rank is Sergeant Major (2000 - 5000 Reputation Level)Rhytz User rank is Sergeant Major (2000 - 5000 Reputation Level)Rhytz User rank is Sergeant Major (2000 - 5000 Reputation Level)Rhytz User rank is Sergeant Major (2000 - 5000 Reputation Level)Rhytz User rank is Sergeant Major (2000 - 5000 Reputation Level)Rhytz User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 1 Day 11 h 4 m 50 sec
Reputation Power: 50
Thanks for the answers

It seems the problem has resolved itself by now.
__________________
Post to Facebook using a Nokia 3310

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationDNS > DNS doesnt resolve on first try?

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap