How to DNS cache on Windows or macOS?

Almost all operating systems cache DNS records to improve the performance of applications and speed up internet access. Browsers do cache DNS records too and to flush these the easiest way is just to close the browser and start ti again. But sometimes there is a need to flush operating system DNS cache. Here’s how you can do that easily.

How to flush DNS cache on Windows XP / Windows Vista?

  • Step 1: Open the Command Prompt
    • Click on the Start Menu and click Run. Type in cmd and hit Enter.
  • Step 2: Flush DNS
    • Type ipconfig /flushdns and hit Enter.

 

How to flush DNS cache on Windows Vista or Windows 7?

  • Step 1: Open the Command Prompt
    • Click on the Start Menu and type cmd in the search bar and hit Enter.
  • Step 2: Flush DNS
    • Type ipconfig /flushdns and hit Enter.

 

How to flush DNS cache on Windows 8 or Windows 8.1?

  • Step 1: Open the Command Prompt
    • Hold Win key (windows logo key) and press letter X on your keyboard. Click on Command Prompt.
  • Step 2: Flush DNS
    • Type ipconfig /flushdns and hit Enter.

 

How to flush DNS cache on Windows 10?

  • Step 1: Open the Command Prompt
    • Hold Win key (windows logo key) and press letter X on your keyboard. Click on Command Prompt.
  • Step 2: Flush DNS
    • Type ipconfig /flushdns and hit Enter.

 

Starting Command Prompt in Windows 8 and Windows 10

Flushing the DNS cache in Command Prompt

 

How to flush DNS cache on Mac OS X 10.6 Snow Leopard

  • Step 1: Open the Terminal
    • Navigate to Applications -> Utilities -> Terminal
  • Step 2: Flush DNS
    • Type sudo dscacheutil -flushcache and hit Return.

 

How to flush DNS cache on Mac OS X 10.7 Lion and Mac OS X 10.8 Mountain Lion

  • Step 1: Open the Terminal
    • Navigate to Applications -> Utilities -> Terminal
  • Step 2: Flush DNS
    • Type sudo killall -HUP mDNSResponder and hit Return.

 

How to flush DNS cache on Mac OS X 10.9 Mavericks

  • Step 1: Open the Terminal
    • Navigate to Applications -> Utilities -> Terminal
  • Step 2: Flush DNS
    • Type sudo killall -HUP mDNSResponder and hit Return.

 

How to flush DNS cache on Mac OS X 10.10 Yosemite

  • Step 1: Open the Terminal
    • Navigate to Applications -> Utilities -> Terminal
  • Step 2: Flush DNS
    • Type sudo killall -HUP mDNSResponder and hit Return.

 

How to flush DNS cache on Mac OS X 10.11 El Capetain

  • Step 1: Open the Terminal
    • Navigate to Applications -> Utilities -> Terminal
  • Step 2: Flush DNS
    • Type sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder; and hit Return.

 

How to flush DNS cache on macOS X 10.12 Sierra and macOS X 10.13 High Sierra

  • Step 1: Open the Terminal
    • Navigate to Applications -> Utilities -> Terminal
  • Step 2: Flush DNS
    • Type sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponderHelper; and hit Return.

 

 

How to flush DNS cache on Linux

Most current Linux distributions do not use a DNS resolver cache in the same way that Windows and Mac OS X use. However, as a common DNS caching application sometimes used is the Name Service Caching Daemon (nscd) or . It’s most likely not installed by default so there is no need to flush the cache. But, if you’ve already installed it you can flush the cache by running the following command in a terminal:

  • Step 1: Open the Terminal
    • Depends on the Linux system you have
  • Step 2: Flush DNS
    • Type /etc/init.d/named restart and hit Enter or
    • Type /etc/init.d/nscd restart and hit Enter (depending on the Linux distribution you have)

 

What’s DNS resolver cache?

Every time you visit a website or use any software that has access to the Internet (like Skype or WhatsApp) your browser, or that software, finds out on what actual IP address is the website (or server) that you are trying to access. It then stores this information for future use  by creating a record consisting of one IP address and that domain name that points to that IP address is created within operating system. If you want to visit that same website again, the system already knows on what IP address it’s wastes no time trying to find that out saving you time. These records are cached for certain period of time and are called DNS Resolver Cache.

 

Why would anyone want to flush this cache?

Well sometimes IP addresses of some websites or servers may change and your DNS resolver cache might still keep the old IP address. This can result in your computer not being able to reach the website or it reaches an older copy of it. In some circumstances the data may become corrupt and accessing some websites might fail. So, cleaning your DNS cache is something you can try doing when you can’t access some site or in case you know that the website’s IP has changed. It’s also very helpful for web developers or web admins when migrating websites to a new server or IP (other way around is by modifying hosts file).

 

How can DNS Resolver Cache data be viewed?

Windows: from a command prompt type ipconfig /displaydns and hit enter. If there is too much data you can save that in a text file using this command: ipconfig /displaydns > dnscache.txt and that will create the dnscache.txt file in the current folder and fill it with the output.

Mac and Linux: I don’t know how to do it. If you do please leave a comment. Thank you!

Tags: LNFN

How to fix 0x0000007b blue screen (BSOD) ?

Are you getting that blue screen (BSOD) with error message 0x0000007b when booting your computer or trying to install a new Windows operating system (on a computer with SSD drive)?

0x0000007b blue screen BSOD

The problem is that in BIOS your SATA is set to AHCI instead of ATA. To fix this problem you’ll have to enter the BIOS and change it back and your system will function normally. This can happen if your BIOS data is lost or in some cases the BIOS batter is empty, or if you cleared bios by hand. Don’t worry none of your data is damaged in any of these cases.

Here’s how to fix this problem:

  1. Reboot your computer and keep pressing F12 to enter BIOS. On some laptops  it’s F2 or F8 (it should be shown on your screen)
  2. Go to Advanced tab and change ACHI to ATA option under SATA Operation (it might have a different name depending on your BIOS).
  3. Save the changes and reboot.

That’s it!

 


Download Offline Installer for Microsoft .NET Framework 4.6, 4.5, 4.0, 3.5, 2.0 and 1.0

Microsoft Windows applications developed using .NET Framework require Microsoft .NET Framework to be installed on computer that will run the application. Microsoft provides installer for .NET Framewework but by default it’s an online installer. That means that you basically download a small installer file that after it’s executed automatically connects to Microsoft servers and downloads the required components and completes the installation.

The online installers work great as long as you have internet conection. But some users don’t have an internet connection and that can be a problem. Sometimes developers require offline installer so they can ship it with the software inside software installation or on CD/DVD medium.microsoft-dot-net-new-logo

I have gathered a set of links of Microsoft .NET Framework offline installers and you can download full installation files from the following links:

.NET Framework 4.6 Setup

.NET Framework 4.5 Setup

.NET Framework 4.0 Setup

.NET Framework 3.5 Setup Service Pack 1

.NET Framework 3.5 Setup

.NET Framework 2.0 Setup

.NET Framework 1.0 Setup

.NET Framework Client Profile Offline Installer

 

Tags: dotnet 4 0 download offline installer, microsoft net 3 5-2 0 for windows 8 (offline) product key, microsoft net framework 3 5 client setup download, Microsoft Net Framework 4 5setup, net framework 4 5 3, net framework 4 t 32bit offline

How to get rid of Windows 10 upgrade nag screen?

If you run Windows 7, Windows 8 or Windows 8.1 you probably got an offer to upgrade to Windows 10 and you noticed that upgrade icon in task bar to your clock.

Windows 10 Free Upgrade Icon

Windows 10 Free Upgrade App GWX

If you don’t want to upgrade to Windows 10 and you want to keep your current Windows and you’d like to get rid of that GWX.exe nag screen and taskbar icon run cmd as administrator by typing in cmd in start menu search and right clicking the Command Prompt result and clicking on Run as administrator and confirming that you want to run command prompt as admin.

Run command prompt as administrator

When you get that black command prompt window just type (copy/paste) the following command and once it’s executed reboot your computer and Windows 10 upgrade will be gone. Out of many this is the only solution that actually worked for me!

reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Gwx" /v DisableGwx /t REG_DWORD /d 00000001 /f

 

One more thing I also noticed is that even if you’re not interested in upgrade Microsoft still downloads entire Windows 10 installation and stores it in c:/$windows.~BT folder just in case you say “yes” to their upgrade offer. That folder can take from 2 to 3 GB of your disk space and it’s especially valuable if you have (a smaller) SSD as your primary hard drive. Removing the folder frees up the space but quickly (after a reboot) it starts downloading it again so it doesn’t just take your disk space but also uses your internet bandwidth. To stop it from doing that after you delete folder $windows.~BT create a new empty one with the same name and then right-click it and in folder properties make it Read Only. That way it will remain empty as Windows will not be able to download Windows 10 files and store them in it.

 


How to disable FileZilla update nag screen?

I use FileZilla a lot and I start it like ten times a day or even more. Every time it starts I get that screen that asks me to update FileZilla to latest version, but since I’m using portable version of it it’s almost impossible to do so since portable versions are often delayed etc. The same nag screen is there with the non-portable version of FileZilla and sometimes you simply don’t want to upgrade.

Disabling updates in settings simply doesn’t work and will remind you that there is an update even if this is disabled every time you start it.

FileZilla-disable-updates

To solve the problem first make sure that FileZilla is closed. Then locate it’s config file at:
..\appdata\roaming\filezilla\filezilla.xml or for portable version located at: ..\data\settings\filezilla.xml.

Open that file for editing (use some advanced editor like Notepad++ or Sublime) locate the line with value starting with: <Setting name=”Update Check New Version”>
and delete that entire line.

FileZilla-disable-updates2

Save the changes. And that’s it. Now you can use your FileZilla or FileZilla Portable without that update nag screen and you can choose whether you want to update it and when.

 

Tags: filezilla keep poping update