My domain points to two different IP addresses after DNS nameserves change

Domain points to two different IP addresses after DNS  change

Domain points to two different IP addresses after DNS change

One of my friends faces the issue where his domain name (testing .com) pointing to two different IP addresses once he changed his DNS nameserves.
He told me that his domain (testing.com) points to IP address xxx-xxx-xxx-xxx before he changed his DNS nameservers
Then he changed his domain (testing.com) DNS nameserves and the new IP address is xxx-xxx-xxx-xxx.

After some time he use ping command to check the reply and he was wondering because he got reply from Both IP addresses. When he visit web-site url from browser than facing issue in data loading. Sometimes its loads web-page and sometimes doesn’t load web-page.

If you are facing the same issue than no need to worry, this issue resolved automatically. Let me explain why these issues arise?

DNS resolvers receive lots of requests daily and because of that they DNS resolver cache requests. Your domain points to first IP address before you change the DNS which is in cache. When you change your DNS nameservers than its points to new IP address but it doesn’t clear cache immediately. Existing cache points to old IP address, this is the reason why its points to both IP addresses.

Once the cache has been cleared than its will points to new IP address only.

How the domain name and domain DNS servers work and not working

How the domain name and DNS nameservers work

How the domain name and DNS nameservers work

I know many people who are not technical have lots of question about domain name and DNS name servers.

How the domains work?

How to park my domain?

What is nameservers?

What is DNS?

You are registering your domain on godaddy or any web-site which allowed you to purchase domain name. Once you purchase domain, you need to park your domain. To park domain you need to setup the DNS nameservers.

You get your DNS nameserves from your hosting provider where you host your web-site. This is the way to linkup your domain with your web-site pages.

Now, let’s see how it works when user type domain name in browser.

  • Computer send request to the ISP (Internet service provider) resolver to find out the IP Address of your domain name.
  • ISP (Internet service provider) resolver send request to the “.” Name server.
  • Once “.” Name server receive request than response back to ISP (Internet service provider) resolver to try using the com. Nameserver.
  • Now, after getting response ISP (Internet service provider) resolver send request to com. Nameserver.
  • The com. Nameserver look in to glue records for your domain and send the DNS nameservers information to your ISP (Internet service provider) resolver.
  • Now, ISP (Internet service provider) resolvers have the DNS nameserver for your domain, so send request for the web-page of your domain.
  • ISP (Internet service provider) resolvers send web-page to your computer browser to display.

 

 

As you change your DNS nameservers record in your domain account, that domain points to the hosting server. You need to understand domain name and web hosting before you plan to start your own web-site.