KI114 Posted May 1, 2011 Share Posted May 1, 2011 We have recently switched to a new server, changing the IP on the domain. However, some of our clients are still being sent to our old server. We changed the IP on the 18th of April, why are some users still using old server? Thanks Quote Link to comment https://forums.phpfreaks.com/topic/235273-dns-problems/ Share on other sites More sharing options...
gizmola Posted May 2, 2011 Share Posted May 2, 2011 Two ways. DNS has a value called the TTL (Time to live) that is associated with a domain. This tells server that they should cache the DNS entry for that domain once they read it. Big ISP's may be even more aggressive and just ignore the TTL altogether and cache it for a week. Often the default TTL for many domains quite long. Secondly the workstations themselves depending on the operating system will cache DNS for domains they've visited, and they may never pick up the right DNS information without a reboot. Keep in mind that if for example, someone used a DNS server that let's say had cached information for your domain from the 17, with a long TTL, any clients which go through that DNS server will not be getting the new information. If this is a website, it's always good to put in a redirect on the server to the new server to catch people who have the old information until such time as everything is sorted out. Quote Link to comment https://forums.phpfreaks.com/topic/235273-dns-problems/#findComment-1209530 Share on other sites More sharing options...
KI114 Posted May 2, 2011 Author Share Posted May 2, 2011 How could I put a redirect on the old server though? Because surely it'd just be back to the domain, which then again would point to the old server. So, they'd end up in a loop. Quote Link to comment https://forums.phpfreaks.com/topic/235273-dns-problems/#findComment-1209641 Share on other sites More sharing options...
Philip Posted May 2, 2011 Share Posted May 2, 2011 You could always link to the new server's IP Quote Link to comment https://forums.phpfreaks.com/topic/235273-dns-problems/#findComment-1209652 Share on other sites More sharing options...
gizmola Posted May 2, 2011 Share Posted May 2, 2011 Yes, you need to use an IP address or an entirely different domain. Quote Link to comment https://forums.phpfreaks.com/topic/235273-dns-problems/#findComment-1209675 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.