# Here's My Network Troubleshooting Toolbox

DevFeed: [Here's My Network Troubleshooting Toolbox](<https://devfeed.tech/articles/here-s-my-network-troubleshooting-toolbox-90793.md>)

Original publisher: [Read original article](<https://spin.atomicobject.com/network-troubleshooting-toolbox/>)

Author: Patrick Bacon

Published: 2026-10-20T12:00:47Z

Content type: article

Language: en

Sources: [Atomic Object](<https://devfeed.tech/sources/atomic-object.md>)

Topics: [network troubleshooting commands](<https://devfeed.tech/topics/network-troubleshooting-commands.md>), [IP routing](<https://devfeed.tech/topics/ip-routing.md>), [Network Configuration](<https://devfeed.tech/topics/network-configuration.md>), [dig command examples](<https://devfeed.tech/topics/dig-command-examples.md>), [network-intelligence](<https://devfeed.tech/topics/network-intelligence.md>)

Tags: [command](<https://devfeed.tech/tags/command.md>), [developer-tools](<https://devfeed.tech/tags/developer-tools.md>), [device](<https://devfeed.tech/tags/device.md>), [display](<https://devfeed.tech/tags/display.md>), [dns](<https://devfeed.tech/tags/dns.md>), [dns-configuration](<https://devfeed.tech/tags/dns-configuration.md>), [dns-servers](<https://devfeed.tech/tags/dns-servers.md>), [domain-name](<https://devfeed.tech/tags/domain-name.md>), [expression](<https://devfeed.tech/tags/expression.md>), [interfaces](<https://devfeed.tech/tags/interfaces.md>), [network-troubleshooting](<https://devfeed.tech/tags/network-troubleshooting.md>), [network-troubleshooting-commands](<https://devfeed.tech/tags/network-troubleshooting-commands.md>), [networking](<https://devfeed.tech/tags/networking.md>), [wireguard](<https://devfeed.tech/tags/wireguard.md>)

## AI overview

The excerpt gives a practical network troubleshooting toolbox for macOS and Linux. Use `netstat -rn -f inet` on macOS or `ip -4 route` on Linux to inspect routes; `route -n get` or `ip route get` to check the route to a specific address; and `scutil --dns` or `resolvectl status` to inspect DNS configuration. For name resolution, `dscacheutil` and `resolvectl query` use the system's configured resolvers, while `dig @server` queries a chosen DNS server. It also shows `ifconfig` and `ip -4 addr` for interface addresses, `lsof` for processes using a port, and `tcpdump` with interface and packet filters to monitor traffic. The author notes these tools have more options than the examples cover.

## Source excerpt

As I mentioned in an earlier post, I've been experimenting a bit with WireGuard lately. In the process, I've been learning about a number of network troubleshooting commands, and before I forget what they all are and do, I'm going to capture them here so I (and you!) can find them again. Here's my network [...] The post Here's My Network Troubleshooting Toolbox appeared first on Atomic Spin.