Frequently asked questions for Networking
In this section we collect all frequently asked questions about Networking. Do you have a question or one that really should be listed here? Share your feedback. Thanks for your contribution!
Articles for FAQ
Show the bandwidth usage and active connections by using the iftop tool on Linux. Learn how to use the tool to quickly find out this information.
Looking for all DNS requests made on a Linux system? Tools like dnstop, firejail, and tcpdump can help to find what is being queried.
Show the network link details using the ip command to find out if a network has errors or dropped packets on a Linux system.
Show which UDP/TCP ports are opened on a Linux system, including the related process. Use the ss tool to see more details about these sockets.
Use the network routing table to discover the default gateway on a Linux system. Here is how to use the ip command to achieve this
Show the IP address of your internet connection using the dig or the curl command. Learn which options can be used to find out this information.
Linux has in-depth details, including about network connections. Show the number of open connections using the ss command on Linux.
Show IP address information on Linux with the help of the ip command. Learn which subcommands to use to query the relevant details.
Learn how to query the Time To Live (TTL) for a DNS record by using the dig tool on a Linux systems, including any relevant options.
Find the active DNS server being used by reviewing the network configuration, including common commands to query this information.
TCP or UDP ports can already be in use when starting up a service. Find out which process opened an UDP or TCP port on Linux by using the ss command.
Show counters related to the TCP connections by using the nstat command. This small utility will quickly retrieve the related statistics and display them.
Linux with systemd might doing DNS resolving using its resolver daemon. Learn how to inspect and clear the DNS cache when using the systemd resolver daemon.