Listing Internet Connections in Windows with Ipconfig

Home > Blogs > Windows 10 > Listing Internet Connections in Windows with Ipconfig

Listing Internet Connections in Windows with Ipconfig

Like This Blog 0Mike Danseglio
Added by May 29, 2015

“What is my computer doing on the internet?”
“What servers does this new software talk to?”
“Where are these cloud files kept?”
“Does {insert any software here} use the internet all the time or does it ask me first?”

I get these kinds of questions all the time. Many users and administrators want to know what their software is connecting to, both internet and intranet resources.

I’ve seen some very complex answers to this problem including packet analyzers, network sniffers, and even router-based logging. But there are much simpler and inexpensive tools that are already built in to Windows.

Using Ipconfig to List the DNS Resolution Cache

Pretty much every modern software package relies on TCP/IP for network communication. The software provides a server name and lets TCP/IP take care of the rest. And almost universally, computers use the Domain Name System (DNS) to resolve server (or host) names to IP addresses for communication.

You may also like:  Windows 10 and Windows Server 2016 DNS client changes

To list the host names that Windows has recently resolved, simply open a command prompt and type ipconfig.exe /displaydns as shown in Figure 1.

001-Using-Ipconfig-to-List-The-DNS-Resolution-Cache

Figure 1. This list just keeps going…

My list is pages and pages long. Some of the hosts are easily recognizable, like linkedin.com. Others are a bit more difficult to interpret.

Even though the default cache time is 5 minutes, if the computer has been running for some time you probably want to clear the list first. To do that, simply run ipconfig.exe /flushdns. That will clear all previous DNS resolution entries and only show new resolution entries.

Enjoy!

Mike Danseglio -CISSP / MCSE / CEH
Interface Technical Training – Technical Director and Instructor

Videos You May Like

Agile Methodology in Project Management

0 60 0

In this video, you will gain an understanding of Agile and Scrum Master Certification terminologies and concepts to help you make better decisions in your Project Management capabilities. Whether you’re a developer looking to obtain an Agile or Scrum Master Certification, or you’re a Project Manager/Product Owner who is attempting to get your product or … Continue reading Agile Methodology in Project Management

How to clone a Windows Server 2012 or 2012 R2 Domain Controller

1 438 2

One of the coolest new features in Window Server 2012 and Windows Server 2012 R2 is the ability to clone a Domain Controller. In the past, if we had virtualized Domain Controllers and we actually took a snapshot of it and then rolled back to that snapshot, it would break the logon service on that … Continue reading How to clone a Windows Server 2012 or 2012 R2 Domain Controller

Detailed Forensic Investigation of Malware Infections – April 21, 2015

2 194 1

In this IT Security training video, Security expert Mike Danseglio (CISSP / CEH) will perform several malware investigations including rootkits, botnets, viruses, and browser toolbars.

Write a Comment

Share your thoughts...

Please fill out the comment form below to post a reply.