Ask Leo! by Leo A. Notenboom

Can I fake the DNS ip lookup to test my website?

Search First! Then browse: Categories | Full Archive | By Date | Newsletter

Home » Internet

Comments

Read the article that everyone's commenting on.
RSS feed Subscribe to the RSS Feed for comments on this article.

Comment Page:  1  |  2 

so we can say in short that we can't change our website DNS unless YOU changing you hosting server. thanks leo for the useful article.
http://www.fosdir.com

Posted by: peter at July 20, 2008 10:18 PM

Karl wrote: (quote) This is not true, all over the microsoft website it is said that the DNS is read FIRST and the HOSTS file read SECOND. (end quote)

Never mind the documentation - a 2 minute test shows that the hosts file overrides your DNS server. Try putting microsoft.com or whatever other host name you like in your hosts file with a redirection to some other IP, and then do a NSLOOKUP on that host name. You will see that it goes to the IP you specified in the hosts file, not what your DNS server says. What is confusing though is that even though it got the answer from the Hosts file, NSLOOKUP will say that it got the answer from your DNS server - but it is lying.

Posted by: jinlye at October 6, 2008 4:22 AM

hi,
The above article is nice.It gave an details of changing DNS entry for our domain.I collected the ip details from this ip-details.It's having the details of finding the ip address location,domain host search also is there.It is really useful for me.

Posted by: Anonymous at May 20, 2009 2:33 AM

Hi, I have uploaded my site on two servers. I want to use one as a primary server and the second like a backup in case the first goes off-line. I'm experimenting with the name servers, but it seems to choose servers randomly. I set ns1 & ns2 to first server and ns3 & ns4 to second. Any suggestions?

Posted by: nick at October 6, 2009 11:12 PM
Comment Page:  1  |  2 
Read the article that everyone's commenting on.
RSS feed Subscribe to the RSS Feed for comments on this article.
Post a Comment

To post a comment on "Can I fake the DNS ip lookup to test my website?", please return to that article's main page.

Question? Ask Leo!