Archive for the ‘Microsoft’ Category

How to trace your DNS queries


Hi again

In this blog I just to introduce you with very useful command to trace the dns queries. as you know the DNS queries has two main categories which are Iterative and Recursive. sometimes in your network you will be faced with the DNS records problem. for Iterative queries ( having delegation in your dns zones to other dns servers)  the best way that you can understand which DNS server is causing the error is “dig” command. it can be installed on both Windows and Linux OSes. it has many options that I am really interested to tell you what are they but unfortunately time is little.

the command you should use is :

dig @your Caching Only Name Server or Iterative Dns Query Server IP Address +trace

I am always waiting for your question about the DNS.

Reference : The dig manual


How to find The Windows Server Uptime


Hi again

After surfing many websites i found that the best and easiest way is downloading the uptime.exe file from Microsoft website and run it in the Command Environment of windows.

its support all the windows version from NT4 SP4.

The download links are :

Download Intel (x86) Version  


Download Alpha Version 

references :


How to Enable or Disable Simple File Sharing in Windows XP


Hi again

to Enable or Disable Simple File Sharing in Windows XP , you should follow this instruction.

1. Click Start, and then click My Computer.

2. On the Tools menu, click Folder Options.

3. Click the View tab.

4. In the Advanced Settings section, click to clear the Use simple file sharing (Recommended) check box.

5. Click OK.

Reference :


How to install the Squid on windows as a service



The first thing you should do about installing the squid proxy service on windows, is downloading the compiled version of the service from the following site:

then you easily extract the whole file in directory with name “c:\squid” and change your directory into c:\squid\etc

Then in etc subdirectory try to configure your squid.conf

next step is  typing squid -z to create all the subdirectory for your caching. inorder to run the following command change your directory into c:\squid\bin

after creating the cache directory, just type squid -i to install the service in the windows.

then you can start your service in the windows services console. (in run menu type services.msc)


     Copyrighted Mehdi Behamin , All Rights Reserved
Blog has been visited 207130 times