Advertisement

06.03.2008 at 10:02PM PDT, ID: 23455624
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

5.3

Host File, DNS, Loopback - Annoying!

Asked by apollovega in Domain Name Service (DNS), Windows XP Operating System

Tags: , ,

Experts,

You would think something like this would be an easy solution, but I've probably spent a good few hours looking into it to find absolutely nothing worthwhile. Naturally, I give the fate of this to all fellow Experts.

So my understanding of XP and how it handles dns (correct me if I'm wrong) follows.
Note : Assuming the "Dns Client" service and dependencies "TCP/IP Protocol" are running,
1) If the dns/IP address is not in the dns cache it will first check the registry to find out where the host file is located.
\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\DataBasePath
2) Will load up the host file to see if the dns name is located within. If not, it sends a broadcast to the preferred dns server, in hopes that will resolve the dns address to an IP.
3) The router looks at the dns name in it's own dns cache and if the dns name isn't located there, it goes to it's dns server and so forth until it resolves the dns name to an ip.

That's atleast my understanding of how XP resolves dns names.

Now to get to the problem. I realize that XP has a tendency of not using the host file (for whatever reason) and that's all fine and dandy since I don't really need it per-say. However, while trying to ping grisoft.com, it returns my loopback, 127.0.0.1. When I ping google, it resolves the dns name to an ip and everything is A-ok.
I should say that this computer had spyware (which added around 200 entries to the original host file) as well as a few viruses and trojans. After removing (hopefully) all that could be seen, I was faced with this new issue.

Steps I've tried in no particular order.. But numerous times on a few of them.
1) ipconfig /flushdns
2) Made sure the registry was pointing to the correct host file.
3) Ran Hijackthis to make sure nothing was running in the background.
4) Added static entries to the host file (seemed like Windows bypassed it anyways). Renamed host file to allow windows to possibly recreate one. Created a new host file. Copied the host file from another machine.
5) Made a bogus dns preferred/alternate entry
6) Winsock repair
7) lsp repair
8) Searched registry for any entry for "Grisoft" and the loopback address
9) Made sure no bogus proxy was being used - anywhere - .
10) Restarted machine before and after each change (including ipconfig /flushdns)

Can't remember exactly what else I've tried.. It almost seems like XP is using an old host file somewhere (apart from C:\Windows\System32\Drivers\etc\). I'm not entirely sure as I'm not 100% clear on the order of how XP resolves DNS names.

Any help whatsoever would be appreciated.. Also, I realize I could merely reimage the PC and redo everything, but I'm a firm believer in getting my hands dirty and trying to fix it the long and hard way.

Thank you kindly guys!Start Free Trial
[+][-]06.03.2008 at 10:11PM PDT, ID: 21707124

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Domain Name Service (DNS), Windows XP Operating System
Tags: Microsoft, XP Pro, SP2
Sign Up Now!
Solution Provided By: sofianshibani
Participating Experts: 4
Solution Grade: B
 
 
[+][-]06.03.2008 at 10:15PM PDT, ID: 21707141

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.03.2008 at 10:34PM PDT, ID: 21707208

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.03.2008 at 10:37PM PDT, ID: 21707215

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]06.03.2008 at 10:41PM PDT, ID: 21707225

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.03.2008 at 10:41PM PDT, ID: 21707226

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]06.03.2008 at 10:42PM PDT, ID: 21707229

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.03.2008 at 11:02PM PDT, ID: 21707285

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628