Flamingo Raises $4.5M Seed Round

Skip to content

Updated: October 2026

A user says the internet is down, and the first thing you type is ipconfig. It answers three questions in one screen: does this PC have an address, where does it send traffic, and who does it ask for names. Here's every ipconfig command, how to read the output line by line, and which switch to reach for on the tickets you see every week.

What Ipconfig Does

Ipconfig shows the TCP/IP settings of every network adapter on a Windows machine. It also refreshes two of them on demand: the DHCP lease and the DNS client cache. Microsoft's reference lists it on Windows 10, Windows 11 and every current Windows Server release.

Run it with no switches and you get the short view. That's each adapter's IPv4 and IPv6 address, subnet mask and default gateway. Enough to spot a missing address. Not enough to spot a wrong DNS server, which is why the long view exists.

It's most useful on machines that get their address from DHCP. On a statically configured server, ipconfig can show you the settings but can't renew anything.

Every Ipconfig Switch at a Glance

Microsoft's ipconfig reference lists eleven switches. Here's what each one does and when a technician uses it.

SwitchWhat it doesWhen you use it
/allFull configuration for every adapterFirst look at almost any network ticket
/releaseDrops the DHCP lease for IPv4Forcing a fresh address from the DHCP server
/renewRequests a new DHCP lease for IPv4Right after /release, or when the address is 169.254.x.x
/release6Drops the DHCPv6 leaseIPv6 networks with DHCPv6
/renew6Requests a new DHCPv6 leaseSame, for IPv6
/displaydnsShows the DNS client cache, including Hosts file entriesChecking what a name currently resolves to on this PC
/flushdnsEmpties the DNS client cacheAfter a DNS record changes, or a bad answer got cached
/registerdnsRe-registers the PC's name and address in DNSThe PC's DNS record is missing or stale
/showclassidShows the DHCP class ID of an adapterRare: DHCP servers that hand out options by class
/setclassidSets or clears the DHCP class IDSame rare case
/allcompartmentsListed in Microsoft's syntax without a descriptionYou'll almost never need it

Two details save time. Adapter names with spaces need quotes, as in ipconfig /renew "Ethernet 2". And ipconfig accepts wildcards, so ipconfig /renew Eth* renews every adapter whose name starts with Eth.

Reading Ipconfig /all, Line by Line

ipconfig /all is the switch you'll run most. The output has a short header for the whole PC, then one block per adapter, including virtual ones from VPN clients and Hyper-V.

The header shows the host name and the primary DNS suffix. On a domain-joined PC, the suffix should be your domain. If it's blank, the machine may have lost its domain trust or never joined.

Inside each adapter block, read these lines in order:

  1. Description and Physical Address. The adapter model and its MAC address. The MAC is what a switch port or a DHCP reservation keys on.
  2. DHCP Enabled. Yes means the address came from a DHCP server. No means someone typed it in.
  3. IPv4 Address. The address, marked Preferred when it's in use. An address starting 169.254 means DHCP failed.
  4. Lease Obtained and Lease Expires. When the PC got its lease and when it has to renew.
  5. Default Gateway. Where traffic for other networks goes. Blank means the PC can only reach its own subnet.
  6. DHCP Server. Which server handed out the lease. A surprise address here means a second DHCP server is on the network.
  7. DNS Servers. Who the PC asks for names. A public resolver on a domain PC breaks logons and file shares.

The adapter you care about is the one with a gateway. Everything else is usually a disconnected Wi-Fi card or a virtual switch.

Release and Renew: What Happens When You Run Them

ipconfig /release sends the DHCP server a release message and drops the address. The adapter has no IPv4 address until you renew. ipconfig /renew asks for a new lease, and on a healthy network the PC gets an address within seconds, often the same one.

Run them back to back when a PC has a stale lease. That's the classic after-a-power-cut ticket: the router came back, the PC kept its old lease, and some pages load while others don't. This r/techsupport thread is exactly that, and a reply blames a stale DHCP lease.

One warning before you type /release on a remote session. The moment the address drops, your remote connection drops with it. Chain both commands on one line, ipconfig /release && ipconfig /renew, or use the approach in our guide to resetting a network adapter so you don't lock yourself out.

Ipconfig Commands for Three Common Tickets

The address starts with 169.254. Windows gave itself a link-local address because no DHCP server answered. RFC 3927 reserves 169.254.0.0/16 for exactly this. Run ipconfig /renew. If it times out with "unable to contact your DHCP server", the problem sits between the PC and the server: cable, switch port, VLAN, port security or the DHCP scope being full.

This dorm ticket shows the pattern well. Renew times out, the address is 169.254 and the gateway is blank. The replies point at the network, not the PC, including a port that may need the machine's MAC registered first.

There's an address but no default gateway. The PC can reach its own subnet and nothing else. Check whether the address is static with a gateway left out, or whether the DHCP scope is missing the router option. If pings to other networks come back with a routing error, our post on destination host unreachable walks through reading the reply.

The address and gateway look fine, but names don't resolve. Look at the DNS Servers line in ipconfig /all. A wrong or unreachable server there is the cause more often than the cache. If the servers look right, check the cache next, which the section below covers.

Displaydns, Flushdns and Registerdns

ipconfig /displaydns prints the DNS client cache. It includes entries loaded from the Hosts file, so it's a quick way to spot a Hosts entry someone forgot about. Search it for the name that's failing and you'll see exactly what this PC thinks the answer is.

ipconfig /flushdns empties that cache. Microsoft's reference notes it also discards negative entries, the cached "this name doesn't exist" answers that keep a fixed record broken on one PC. We cover when it helps and when it doesn't in the post on slow DNS lookups.

ipconfig /registerdns asks the PC to re-register its own name and address with DNS. Use it when you can't reach a machine by name but can by IP, and its record is missing on the DNS server. It saves a reboot. If the whole office can't resolve names, the fix sits upstream, and our guide to DNS server not responding starts there.

PowerCert's explainer covers the everyday switches, including the DNS cache.

PowerShell Equivalents

Ipconfig works fine inside PowerShell. But the PowerShell cmdlets return objects instead of text, which makes them easier to filter and to run across many machines.

IpconfigPowerShellNotes
ipconfig, ipconfig /allGet-NetIPConfigurationShows connected, non-virtual interfaces by default
ipconfig /all (addresses only)Get-NetIPAddressOne row per address
ipconfig /displaydnsGet-DnsClientCacheSame cache, as objects
ipconfig /flushdnsClear-DnsClientCacheMicrosoft documents it as equivalent
ipconfig /registerdnsRegister-DnsClientGlobal only, not per adapter
ipconfig /release and /renewNo direct cmdletCall ipconfig, or Restart-NetAdapter to bounce the adapter

Get-NetIPConfiguration skips virtual and disconnected adapters unless you ask for them, which is usually what you want on a support call. For more one-liners like these, see our PowerShell commands guide.

On macOS and Linux

macOS has its own ipconfig, but it's a different tool; ipconfig getifaddr en0 prints an address and ifconfig shows the rest. On Linux, ip addr and ip route replace ipconfig, and resolvectl flush-caches clears the cache on systems running systemd-resolved.

Checking Many PCs at Once

One PC is a quick ipconfig. Fifty PCs after a DHCP change is a script. Run Get-NetIPConfiguration or ipconfig /all remotely and collect the gateway and DNS server lines into one table, then look for the machines that disagree. In OpenFrame, you can run that check as a script across a client's devices and collect the output in one place.

The Short Version

Start every network ticket with ipconfig /all and read the address, gateway and DNS servers in that order. A 169.254 address means DHCP failed, a blank gateway means routing, and a wrong DNS server beats a stale cache as the usual name problem. Release and renew fix stale leases, and flushdns fixes cached answers.

Next, if the address looks fine but the other end won't answer, read destination host unreachable for what the ping reply tells you.

"Fae" Grace Meadows

"Fae" Grace Meadows

Lead AI Fairy

Some things defy easy explanation: magic dust, the northern lights… and Flamingo’s AI Angels. Think Charlie’s Angels, reimagined with automation brains and serious RMM (Remote Monitoring & Management) chops. Weird? A little. Effective? Absolutely. That’s the job.

Related Content

Blog Posts

Product Releases

Podcasts

Webinars

Case Studies

Events

Onboarding Guides

Frequently Asked Questions

Ipconfig Commands

It shows the full TCP/IP configuration of every network adapter: host name and DNS suffix, then for each adapter its physical (MAC) address, whether DHCP is enabled, the IPv4 and IPv6 addresses, lease times, default gateway, DHCP server and DNS servers. Read the address, the gateway and the DNS servers first.
ipconfig /release sends the DHCP server a release message and drops the adapter's IPv4 address. ipconfig /renew asks the DHCP server for a new lease. Run them back to back to fix a stale lease, and chain them on one line (ipconfig /release && ipconfig /renew) on a remote session, because the connection drops at the release step.
Windows assigns itself an address in 169.254.0.0/16 when no DHCP server answers. Run ipconfig /renew. If it times out with "unable to contact your DHCP server", check the cable, switch port, VLAN, port security and whether the DHCP scope is full.
Get-NetIPConfiguration shows the IP configuration of connected, non-virtual adapters. Get-DnsClientCache matches ipconfig /displaydns, Clear-DnsClientCache matches ipconfig /flushdns and Register-DnsClient matches ipconfig /registerdns. There is no direct cmdlet for release and renew, so call ipconfig or use Restart-NetAdapter.

About OpenFrame

OpenFrame isn't built to plug into your stack. It replaces it. Instead of duct-taping a dozen tools together (RMM, MDM, SIEM, patching, remote access, each its own login and bill), we bundle it into one unified platform: RMM, MDM, monitoring, automation, remote access, patch management, security monitoring, and ticketing, plus built-in AI copilots. So "does it integrate with X?" usually means: you won't need X anymore.
Most platforms give you one piece and expect you to bolt the rest on. OpenFrame unifies the whole stack in one place, with AI copilots built in. Fewer logins, fewer bills, less duct tape.
In the cloud, on US soil. Your data stays stateside.
Both. It's built for MSPs and MSSPs alike.

MSP AI Agents

Yes. In production MSP shops today, 10% to 25% of tickets close before a human opens them. Thread alone has processed 173 million tickets across 750-plus MSP partners at 96% triage accuracy, handing back 490,000-plus technician hours. Agents own the low-risk, high-volume work (password resets, MFA enrollment, known installs, onboarding and offboarding) and flag anything that touches production data or needs judgment for a human to take.
On a five-person desk, reported deployments show $78,000 to $130,000 in annual direct labor savings, roughly 30% fewer escalations, and 15% to 20% better SLA compliance. Broader MSP adoption data adds ticket handling time cut by 45% and five to 12 points of margin, all from reclaimed capacity rather than headcount cuts.