Understanding Your Server's Network Configuration

Understanding Your Server's Network Configuration

Knowing how to read and manage your server's network settings is essential for troubleshooting and configuration.

View Network Interfaces

ip addr show

Look for your main network interface (typically eth0, ens3, or enp3s0). Your public IP will be listed next to inet.

View the Routing Table

ip route show

Check DNS Configuration

cat /etc/resolv.conf

View Open Ports and Active Connections

ss -tulpn

Test Internet Connectivity

ping -c 4 8.8.8.8

Test DNS Resolution

nslookup yourdomain.com
dig yourdomain.com

Check Bandwidth Usage

apt install vnstat -y
vnstat -l    # Live bandwidth monitor
vnstat -d    # Daily usage summary
  • 0 Uživatelům pomohlo
Byla tato odpověď nápomocná?

Související články

Setting Up Reverse DNS (rDNS/PTR Record)

Setting Up Reverse DNS (rDNS / PTR Record) A reverse DNS (PTR) record maps your IP address back...

How to Configure a Static IP Address on Linux

Configuring a Static IP Address on Linux Dedicated servers typically have a static IP configured...

Setting Up Nginx as a Reverse Proxy

Setting Up Nginx as a Reverse Proxy A reverse proxy forwards incoming requests to a backend...

How to Configure DNS Records for Your Domain

Configuring DNS Records for Your Domain DNS records tell the internet how to reach your domain....

Setting Up a Mail Server with Postfix and Dovecot

Setting Up a Mail Server with Postfix and Dovecot This guide sets up a basic mail server: Postfix...