Listing Internet Connections in Windows with Ipconfig
Listing Internet Connections in Windows with Ipconfig
“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.
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.
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
You May Also Like
A Simple Introduction to Cisco CML2
0 3703 0Mark Jacob, Cisco Instructor, presents an introduction to Cisco Modeling Labs 2.0 or CML2.0, an upgrade to Cisco’s VIRL Personal Edition. Mark demonstrates Terminal Emulator access to console, as well as console access from within the CML2.0 product. Hello, I’m Mark Jacob, a Cisco Instructor and Network Instructor at Interface Technical Training. I’ve been using … Continue reading A Simple Introduction to Cisco CML2
Configuring Windows Mobility Center and How to Turn it On and Off
1 1413 1Video transcription Steve Fullmer: In our Windows training courses, we often share information about the Windows 8.1 Mobility Center. Mobility Center was introduced for mobile and laptop devices in Windows 7. It’s present and somewhat enhanced in Windows 8. Since we don’t have mobile devices in our classrooms, I decided to take a little bit … Continue reading Configuring Windows Mobility Center and How to Turn it On and Off
OSPF Adjacency Troubleshooting Solution – Getting Close to the OSPF adj
0 247 1In this video, Cisco CCNA & CCNP instructor Mark Jacob shows how to troubleshoot OSPF Adjacency issues by showing the distance between routers with the show ip ospf neighbor command.