All tests regarding this are being done on the computer running Apache, not on any client computer. Also I checked and for this also emptied out the HOSTS file of every client computer on the local network. There should not be any traces of .dev or .test on any client computer in this case.
The HOSTS file is also empty on the computer running Apache, that is the strange thing, that despite the HOSTS file being empty and having put in flushdns and gotten confirmation that the DNS Resolver Cache is empty it still resolves to localhost, or in this case, while WAMPServer is running, to the default WAMPServer default page.
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
Before flushing with the HOSTS file empty.
C:\Windows\system32>ipconfig /displaydns
Windows IP Configuration
1.dev
----------------------------------------
Record Name . . . . . : 1.dev
Record Type . . . . . : 1
Time To Live . . . . : 3580
Data Length . . . . . : 4
Section . . . . . . . : Answer
A (Host) Record . . . : 127.0.53.53
Also, why do I get a 53.53 here??
wpad
----------------------------------------
Name does not exist.
after flushing
C:\Windows\system32>ipconfig /flushdns
Windows IP Configuration
Successfully flushed the DNS Resolver Cache.
C:\Windows\system32>ipconfig /displaydns
Windows IP Configuration
Could not display the DNS Resolver Cache.
I now enter 1.dev in the browser on the computer running Apache and look for DNS entries et violĂ it comes up again with the default page. But why?
I now check the DNS Resolver cache and again it displays the .dev domain.
C:\Windows\system32>ipconfig /displaydns
Windows IP Configuration
1.dev
----------------------------------------
Record Name . . . . . : 1.dev
Record Type . . . . . : 1
Time To Live . . . . : 3522
Data Length . . . . . : 4
Section . . . . . . . : Answer
A (Host) Record . . . : 127.0.53.53
C:\Windows\system32>
All this leaves me puzzled. As I said, on purpose for this I have emptied the HOSTS file completely, there is not a single line in there.
I then do further tests with other fake TLDs:
C:\Windows\system32>net stop dnscache
The DNS Client service is stopping.
The DNS Client service was stopped successfully.
C:\Windows\system32>ipconfig /flushdns
Windows IP Configuration
Could not flush the DNS Resolver Cache: Function failed during execution.
C:\Windows\system32>net start dnscache
The DNS Client service is starting.
The DNS Client service was started successfully.
C:\Windows\system32>ipconfig /displaydns
Windows IP Configuration
Could not display the DNS Resolver Cache.
C:\Windows\system32>ipconfig /displaydns
Windows IP Configuration
anything.rem
----------------------------------------
Name does not exist.
www.anything.deev
----------------------------------------
Name does not exist.
www.anything.rem
----------------------------------------
Name does not exist.
anything.deev
----------------------------------------
Name does not exist.
C:\Windows\system32>
As I would think, .deev or .rem TLDs are not being resolved and this shows in the DNS Resolver Cache. However .dev is always being resolved. Also it gives me the IP 127.0.
53.53. Why 53.53??
Is there anything else that I can try to "reset" the computer's DNS Resolver Cache?
Should I try and go back to a clean system image BEFORE I installed WAMPServer and see if it resolves the .dev TLD then? I make clean system images all the time and have no issues travelling back and forth in various stages of the system.
Perhaps there is something else that makes the .dev TLD resolve? Do you have a clue? As I said the HOSTS file is empty and I think I cleared the DNS Resolver Cache fine. Also starting and stopping the DNS Client service does not help. Well if the DNS Client service is stopped nothing works but that is to be expected.
If you have a clue please do let me know. Am I finding a bug here or is my system compromised even? Let's not speculate and get to the bottom of this together.
Again, thank you for your reply and all the best to you!!
Kind Regards
Version of Operating system? Windows 7 Ultimate 64bit
Version of Wamp Server installed? 2.5 32bit
Version of Apache you are running? 2.4.9
Version of MySQL you are running? 5.6.17
Version of PHP you are running? 5.5.12
What colour is your WampManager icon? Green
Host file localhost 127.0.0.1
New to WAMP?
Read this please: [
forum.wampserver.com]
Edited 1 time(s). Last edit at 02/18/2015 03:26PM by funkyfrank.